Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.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.001404/0.001404, allocations: 80.8 kB / 21.5 MB, free: 2.996 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.001051/0.001051, allocations: 170 kB / 24.91 MB, free: 9.156 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 0.9544/0.9544, allocations: 177.1 MB / 205.3 MB, free: 5.484 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.2832/0.2832, allocations: 34.27 MB / 296.1 MB, free: 0.7305 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.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37") translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 325.3 MB, free: 7.617 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.504e-05/2.656e-05, allocations: 3.188 kB / 325.3 MB, free: 7.613 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.00305/0.003077, allocations: 1.713 MB / 327 MB, free: 5.887 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001541/0.004617, allocations: 0.9949 MB / 328 MB, free: 4.887 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.492e-05/0.004702, allocations: 4 kB / 328 MB, free: 4.883 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003024/0.005005, allocations: 63.66 kB / 328.1 MB, free: 4.82 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003431/0.005348, allocations: 111.5 kB / 328.2 MB, free: 4.711 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002122/0.00556, allocations: 71.67 kB / 328.3 MB, free: 4.637 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001877/0.005748, allocations: 119.5 kB / 328.4 MB, free: 4.52 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.978e-05/0.005788, allocations: 4.234 kB / 328.4 MB, free: 4.516 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001125/0.0059, allocations: 59.88 kB / 328.5 MB, free: 4.457 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.286e-05/0.005993, allocations: 35.91 kB / 328.5 MB, free: 4.422 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.512e-05/0.006008, allocations: 0 / 328.5 MB, free: 4.422 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.446e-05/0.006093, allocations: 43.86 kB / 328.5 MB, free: 4.379 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.03e-05/0.006143, allocations: 23.84 kB / 328.6 MB, free: 4.355 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.492e-05/0.006178, allocations: 15.94 kB / 328.6 MB, free: 4.34 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001847/0.006363, allocations: 91.66 kB / 328.7 MB, free: 4.25 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.454e-06/0.006365, allocations: 0 / 328.7 MB, free: 4.25 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.006366, allocations: 4 kB / 328.7 MB, free: 4.246 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.466e-06/0.006369, allocations: 0 / 328.7 MB, free: 4.246 MB / 298.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.0004011/0.00677, allocations: 309.7 kB / 329 MB, free: 3.922 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.006805, allocations: 8.031 kB / 329 MB, free: 3.914 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.317e-05/0.006838, allocations: 4.938 kB / 329 MB, free: 3.91 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001739/0.007012, allocations: 159.4 kB / 329.1 MB, free: 3.73 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.679e-05/0.007029, allocations: 384 / 329.1 MB, free: 3.73 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.134e-05/0.00704, allocations: 4.312 kB / 329.1 MB, free: 3.727 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001073/0.007147, allocations: 61.77 kB / 329.2 MB, free: 3.656 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.007155, allocations: 3.938 kB / 329.2 MB, free: 3.652 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.436e-06/0.007164, allocations: 8 kB / 329.2 MB, free: 3.645 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.007169, allocations: 0 / 329.2 MB, free: 3.645 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.389e-05/0.007192, allocations: 4 kB / 329.2 MB, free: 3.641 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.892e-05/0.007281, allocations: 66.69 kB / 329.3 MB, free: 3.559 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.877e-05/0.00737, allocations: 49.36 kB / 329.3 MB, free: 3.5 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.09e-05/0.007391, allocations: 8.859 kB / 329.3 MB, free: 3.488 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.014e-05/0.007401, allocations: 3.984 kB / 329.3 MB, free: 3.484 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.217e-05/0.007483, allocations: 58.22 kB / 329.4 MB, free: 3.414 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.007484, allocations: 0 / 329.4 MB, free: 3.414 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001255/0.00761, allocations: 65.61 kB / 329.5 MB, free: 3.344 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.33e-05/0.007643, allocations: 55.34 kB / 329.5 MB, free: 3.277 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001231/0.007766, allocations: 181.3 kB / 329.7 MB, free: 3.086 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.413e-05/0.00778, allocations: 25.7 kB / 329.7 MB, free: 3.055 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.158e-05/0.007812, allocations: 92.11 kB / 329.8 MB, free: 2.961 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.083e-05/0.007843, allocations: 19.84 kB / 329.8 MB, free: 2.941 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.375e-05/0.007877, allocations: 21.69 kB / 329.9 MB, free: 2.914 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.562e-05/0.007962, allocations: 322.8 kB / 330.2 MB, free: 2.59 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.867e-05/0.007981, allocations: 6.828 kB / 330.2 MB, free: 2.582 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.325e-05/0.008004, allocations: 21.7 kB / 330.2 MB, free: 2.555 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.575e-05/0.00805, allocations: 39.36 kB / 330.2 MB, free: 2.508 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.008052, allocations: 0 / 330.2 MB, free: 2.508 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.895e-05/0.008131, allocations: 64.75 kB / 330.3 MB, free: 2.438 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.008143, allocations: 6.344 kB / 330.3 MB, free: 2.434 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.008147, allocations: 0 / 330.3 MB, free: 2.434 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.00816, allocations: 4 kB / 330.3 MB, free: 2.43 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.097e-05/0.008221, allocations: 15.88 kB / 330.3 MB, free: 2.414 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.245e-06/0.008223, allocations: 0 / 330.3 MB, free: 2.414 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.438e-05/0.008258, allocations: 7.984 kB / 330.3 MB, free: 2.406 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.909e-06/0.008263, allocations: 8.031 kB / 330.3 MB, free: 2.398 MB / 298.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 6.65e-05/0.008329, allocations: 115.1 kB / 330.5 MB, free: 2.277 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.5e-05/0.008344, allocations: 7.984 kB / 330.5 MB, free: 2.27 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.248e-05/0.008437, allocations: 58.84 kB / 330.5 MB, free: 2.207 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.00844, allocations: 4 kB / 330.5 MB, free: 2.203 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.008444, allocations: 11.86 kB / 330.5 MB, free: 2.191 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.008446, allocations: 0 / 330.5 MB, free: 2.191 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.115e-05/0.008538, allocations: 81.86 kB / 330.6 MB, free: 2.094 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.008538, allocations: 0 / 330.6 MB, free: 2.094 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.266e-05/0.008561, allocations: 7.938 kB / 330.6 MB, free: 2.086 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.008563, allocations: 4 kB / 330.6 MB, free: 2.082 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.961e-06/0.008569, allocations: 4 kB / 330.6 MB, free: 2.078 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.00857, allocations: 0 / 330.6 MB, free: 2.078 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.008571, allocations: 0 / 330.6 MB, free: 2.078 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.239e-05/0.008654, allocations: 86.7 kB / 330.7 MB, free: 1.973 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.492e-05/0.008669, allocations: 11.91 kB / 330.7 MB, free: 1.961 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.65e-05/0.008685, allocations: 3.984 kB / 330.7 MB, free: 1.957 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.615e-05/0.008711, allocations: 4 kB / 330.7 MB, free: 1.953 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.021e-05/0.008731, allocations: 0 / 330.7 MB, free: 1.953 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.286e-05/0.008744, allocations: 7.984 kB / 330.7 MB, free: 1.945 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.291e-05/0.008797, allocations: 51.59 kB / 330.8 MB, free: 1.891 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.008797, allocations: 4 kB / 330.8 MB, free: 1.887 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001832/0.008981, allocations: 27.92 kB / 330.8 MB, free: 1.859 MB / 298.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.001317/0.0103, allocations: 0.5005 MB / 331.3 MB, free: 1.617 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.238e-05/0.01038, allocations: 28.84 kB / 331.4 MB, free: 1.586 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.01038, allocations: 4 kB / 331.4 MB, free: 1.582 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.091e-05/0.01042, allocations: 16.8 kB / 331.4 MB, free: 1.562 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001444/0.01056, allocations: 31.78 kB / 331.4 MB, free: 1.535 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003116/0.01087, allocations: 202.8 kB / 331.6 MB, free: 1.309 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.738e-05/0.01091, allocations: 67.33 kB / 331.7 MB, free: 1.223 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.435e-05/0.01094, allocations: 12.48 kB / 331.7 MB, free: 1.211 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.837e-05/0.01101, allocations: 67.36 kB / 331.7 MB, free: 1.145 MB / 298.7 MB Notification: Performance of SimCode: time 4.91e-07/0.01101, allocations: 0 / 331.7 MB, free: 1.145 MB / 298.7 MB Notification: Performance of Templates: time 0.003964/0.01498, allocations: 1.766 MB / 333.5 MB, free: 15.4 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.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: 2.851867674384266]