Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001126/0.001126, allocations: 71.77 kB / 21.69 MB, free: 2.859 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001238/0.001238, allocations: 166.4 kB / 25 MB, free: 8.336 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.062/1.062, allocations: 177.1 MB / 205.3 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3136/0.3136, allocations: 34.26 MB / 296 MB, free: 0.7109 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62") translateModel(ModelicaTest.Tables.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 378.1 MB, free: 2.875 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.492e-05/2.643e-05, allocations: 5.266 kB / 378.1 MB, free: 2.871 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.002279/0.002305, allocations: 1.719 MB / 379.8 MB, free: 1.137 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001269/0.003574, allocations: 0.9897 MB / 380.8 MB, free: 144 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.615e-05/0.00366, allocations: 0 / 380.8 MB, free: 144 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003228/0.003983, allocations: 51.75 kB / 380.9 MB, free: 92 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003298/0.004313, allocations: 111.6 kB / 381 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001463/0.004459, allocations: 75.66 kB / 381 MB, free: 15.9 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001843/0.004643, allocations: 103.6 kB / 381.1 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.141e-05/0.004705, allocations: 8.156 kB / 381.2 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.237e-05/0.004797, allocations: 51.89 kB / 381.2 MB, free: 15.74 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.514e-05/0.004882, allocations: 23.92 kB / 381.2 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.908e-05/0.004901, allocations: 4 kB / 381.2 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.636e-05/0.004977, allocations: 31.98 kB / 381.3 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.895e-05/0.005046, allocations: 35.78 kB / 381.3 MB, free: 15.65 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.585e-05/0.005092, allocations: 15.94 kB / 381.3 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001912/0.005284, allocations: 107.5 kB / 381.4 MB, free: 15.53 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.716e-06/0.005286, allocations: 0 / 381.4 MB, free: 15.53 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.005287, allocations: 0 / 381.4 MB, free: 15.53 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.569e-06/0.005292, allocations: 0 / 381.4 MB, free: 15.53 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005157/0.005808, allocations: 467.8 kB / 381.9 MB, free: 15.04 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.005847, allocations: 12.03 kB / 381.9 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.326e-05/0.0059, allocations: 16.84 kB / 381.9 MB, free: 15.01 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001981/0.006098, allocations: 165.2 kB / 382.1 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.369e-05/0.006122, allocations: 4.312 kB / 382.1 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.25e-05/0.006134, allocations: 4.375 kB / 382.1 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001372/0.006272, allocations: 58.94 kB / 382.1 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.006281, allocations: 3.938 kB / 382.1 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.006291, allocations: 0 / 382.1 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.756e-06/0.0063, allocations: 3.938 kB / 382.1 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.573e-05/0.006336, allocations: 7.984 kB / 382.1 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001718/0.006508, allocations: 156.7 kB / 382.3 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001128/0.00662, allocations: 51.03 kB / 382.3 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.634e-05/0.006657, allocations: 23.67 kB / 382.4 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.355e-05/0.00667, allocations: 0 / 382.4 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001123/0.006782, allocations: 65.05 kB / 382.4 MB, free: 14.37 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.442e-06/0.006784, allocations: 0 / 382.4 MB, free: 14.37 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002083/0.006992, allocations: 89.66 kB / 382.5 MB, free: 14.28 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.702e-05/0.007029, allocations: 55.39 kB / 382.6 MB, free: 14.21 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001796/0.007209, allocations: 277.6 kB / 382.8 MB, free: 13.92 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.442e-05/0.007223, allocations: 29.7 kB / 382.9 MB, free: 13.89 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.592e-05/0.007289, allocations: 166.9 kB / 383 MB, free: 13.72 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.116e-05/0.00732, allocations: 11.91 kB / 383.1 MB, free: 13.71 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.06e-05/0.007351, allocations: 23.38 kB / 383.1 MB, free: 13.68 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.007495, allocations: 0.504 MB / 383.6 MB, free: 13.16 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.126e-05/0.007517, allocations: 4.062 kB / 383.6 MB, free: 13.16 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.625e-05/0.007553, allocations: 35.36 kB / 383.6 MB, free: 13.11 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.199e-05/0.007615, allocations: 35.38 kB / 383.7 MB, free: 13.07 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.007617, allocations: 4 kB / 383.7 MB, free: 13.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.72e-05/0.007714, allocations: 77.53 kB / 383.7 MB, free: 12.98 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.007729, allocations: 4 kB / 383.7 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.007737, allocations: 3.938 kB / 383.7 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.007754, allocations: 4 kB / 383.7 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.149e-05/0.007836, allocations: 15.92 kB / 383.8 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.007844, allocations: 0 / 383.8 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.761e-05/0.007882, allocations: 8 kB / 383.8 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.007887, allocations: 0 / 383.8 MB, free: 12.95 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001002/0.007988, allocations: 156.6 kB / 383.9 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.753e-05/0.008005, allocations: 19.94 kB / 383.9 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001583/0.008163, allocations: 98.84 kB / 384 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.008166, allocations: 0 / 384 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.008173, allocations: 0 / 384 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.008178, allocations: 0 / 384 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001346/0.008313, allocations: 160.5 kB / 384.2 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.008316, allocations: 3.984 kB / 384.2 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.267e-05/0.008339, allocations: 11.88 kB / 384.2 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.008342, allocations: 0 / 384.2 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.708e-06/0.008352, allocations: 4 kB / 384.2 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.008355, allocations: 4.062 kB / 384.2 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/0.008359, allocations: 11.98 kB / 384.2 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001156/0.008475, allocations: 120.3 kB / 384.3 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.557e-05/0.0085, allocations: 11.91 kB / 384.4 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.759e-05/0.008518, allocations: 0 / 384.4 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.076e-05/0.008549, allocations: 11.94 kB / 384.4 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.12e-05/0.00859, allocations: 3.984 kB / 384.4 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.739e-05/0.008607, allocations: 4 kB / 384.4 MB, free: 12.27 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001111/0.008718, allocations: 192.5 kB / 384.6 MB, free: 12.08 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008718, allocations: 0 / 384.6 MB, free: 12.08 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001514/0.00887, allocations: 16 kB / 384.6 MB, free: 12.06 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009105/0.00978, allocations: 388.6 kB / 385 MB, free: 11.82 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001048/0.009885, allocations: 39.66 kB / 385 MB, free: 11.78 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.009886, allocations: 4.062 kB / 385 MB, free: 11.77 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.083e-05/0.009917, allocations: 23.62 kB / 385 MB, free: 11.75 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001866/0.0101, allocations: 34.91 kB / 385.1 MB, free: 11.71 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003553/0.01046, allocations: 230.5 kB / 385.3 MB, free: 11.46 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.85e-05/0.01051, allocations: 75.33 kB / 385.4 MB, free: 11.37 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.057e-05/0.01054, allocations: 12.48 kB / 385.4 MB, free: 11.36 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.139e-05/0.01057, allocations: 12.5 kB / 385.4 MB, free: 11.34 MB / 362.7 MB Notification: Performance of SimCode: time 9.41e-07/0.01057, allocations: 4 kB / 385.4 MB, free: 11.34 MB / 362.7 MB Notification: Performance of Templates: time 0.003272/0.01384, allocations: 1.678 MB / 387.1 MB, free: 9.688 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.431084615876898]