Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002306/0.002306, allocations: 106.4 kB / 18.32 MB, free: 3.984 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00234/0.00234, allocations: 186 kB / 21.49 MB, free: 0.8242 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.879/1.879, allocations: 207.6 MB / 232.1 MB, free: 3.16 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3783/0.3783, allocations: 44.23 MB / 328.4 MB, free: 6.246 MB / 254.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27") translateModel(ModelicaTest.Tables.CombiTimeTable.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002131/0.002131, allocations: 79.42 kB / 465.6 MB, free: 45.45 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1345/0.1366, allocations: 61.02 MB / 0.5143 GB, free: 12.46 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test27): time 0.00283/0.1395, allocations: 1.709 MB / 0.5159 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001138/0.1406, allocations: 0.8272 MB / 0.5167 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.523e-05/0.1407, allocations: 3.938 kB / 0.5168 GB, free: 10.47 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003326/0.141, allocations: 38.89 kB / 0.5168 GB, free: 10.45 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002133/0.1412, allocations: 61.44 kB / 0.5168 GB, free: 10.4 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000221/0.1415, allocations: 85.91 kB / 0.5169 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001415/0.1416, allocations: 96.8 kB / 0.517 GB, free: 10.29 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.818e-05/0.1417, allocations: 12.62 kB / 0.517 GB, free: 10.28 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.217e-05/0.1418, allocations: 39.22 kB / 0.5171 GB, free: 10.25 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.501e-05/0.1419, allocations: 33.78 kB / 0.5171 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.895e-05/0.1419, allocations: 4.031 kB / 0.5171 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001015/0.142, allocations: 42.83 kB / 0.5171 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.475e-05/0.142, allocations: 18.58 kB / 0.5172 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.427e-05/0.1421, allocations: 36.47 kB / 0.5172 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001859/0.1423, allocations: 112.4 kB / 0.5173 GB, free: 10.08 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.1423, allocations: 4 kB / 0.5173 GB, free: 10.07 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.093e-06/0.1423, allocations: 0 / 0.5173 GB, free: 10.07 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.1423, allocations: 0 / 0.5173 GB, free: 10.07 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005345/0.1428, allocations: 414.7 kB / 0.5177 GB, free: 9.621 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.1429, allocations: 19.84 kB / 0.5177 GB, free: 9.602 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.838e-05/0.1429, allocations: 12.84 kB / 0.5177 GB, free: 9.59 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002472/0.1432, allocations: 216.1 kB / 0.5179 GB, free: 9.34 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.331e-05/0.1432, allocations: 384 / 0.5179 GB, free: 9.34 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.101e-05/0.1432, allocations: 8.125 kB / 0.518 GB, free: 9.332 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001391/0.1433, allocations: 57.67 kB / 0.518 GB, free: 9.27 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.1433, allocations: 0 / 0.518 GB, free: 9.27 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.1433, allocations: 0 / 0.518 GB, free: 9.27 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.1434, allocations: 0 / 0.518 GB, free: 9.27 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.532e-05/0.1434, allocations: 19.98 kB / 0.518 GB, free: 9.25 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002842/0.1437, allocations: 288.8 kB / 0.5183 GB, free: 8.918 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001516/0.1439, allocations: 66.67 kB / 0.5184 GB, free: 8.844 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.596e-05/0.1439, allocations: 20.84 kB / 0.5184 GB, free: 8.82 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.346e-05/0.1439, allocations: 4 kB / 0.5184 GB, free: 8.816 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001268/0.1441, allocations: 71.28 kB / 0.5185 GB, free: 8.734 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.283e-06/0.1441, allocations: 0 / 0.5185 GB, free: 8.734 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004808/0.1445, allocations: 173.4 kB / 0.5186 GB, free: 8.559 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.982e-05/0.1446, allocations: 59.34 kB / 0.5187 GB, free: 8.488 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001199/0.1447, allocations: 180.7 kB / 0.5189 GB, free: 8.305 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.367e-06/0.1447, allocations: 25.7 kB / 0.5189 GB, free: 8.273 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.438e-05/0.1447, allocations: 100.1 kB / 0.519 GB, free: 8.172 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.369e-05/0.1448, allocations: 31.72 kB / 0.519 GB, free: 8.141 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.434e-05/0.1448, allocations: 25.72 kB / 0.519 GB, free: 8.109 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.103e-05/0.1449, allocations: 326.8 kB / 0.5193 GB, free: 7.781 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.643e-05/0.1449, allocations: 27.98 kB / 0.5194 GB, free: 7.754 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.229e-05/0.145, allocations: 37.64 kB / 0.5194 GB, free: 7.711 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.831e-05/0.1451, allocations: 57.66 kB / 0.5195 GB, free: 7.648 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.1451, allocations: 0 / 0.5195 GB, free: 7.648 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000147/0.1452, allocations: 105.6 kB / 0.5196 GB, free: 7.539 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.1452, allocations: 4 kB / 0.5196 GB, free: 7.535 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.1452, allocations: 8.031 kB / 0.5196 GB, free: 7.527 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.1453, allocations: 0 / 0.5196 GB, free: 7.527 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.854e-05/0.1453, allocations: 23.91 kB / 0.5196 GB, free: 7.504 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.1453, allocations: 0 / 0.5196 GB, free: 7.504 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.373e-05/0.1454, allocations: 7.938 kB / 0.5196 GB, free: 7.496 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.705e-06/0.1454, allocations: 4 kB / 0.5196 GB, free: 7.492 MB / 382.1 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 (10): * Single equations (assignments): 10 * 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 7.55e-05/0.1455, allocations: 125.8 kB / 0.5197 GB, free: 7.359 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.98e-05/0.1455, allocations: 7.953 kB / 0.5197 GB, free: 7.352 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002113/0.1457, allocations: 114.3 kB / 0.5198 GB, free: 7.23 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.1457, allocations: 4 kB / 0.5198 GB, free: 7.227 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.1457, allocations: 0 / 0.5198 GB, free: 7.227 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.1457, allocations: 3.938 kB / 0.5198 GB, free: 7.223 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003164/0.146, allocations: 391.3 kB / 0.5202 GB, free: 6.781 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.146, allocations: 0 / 0.5202 GB, free: 6.781 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.724e-05/0.1461, allocations: 8 kB / 0.5202 GB, free: 6.773 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.1461, allocations: 4 kB / 0.5202 GB, free: 6.77 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.1461, allocations: 8.312 kB / 0.5202 GB, free: 6.762 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.1461, allocations: 4.031 kB / 0.5202 GB, free: 6.758 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/0.1461, allocations: 11.98 kB / 0.5203 GB, free: 6.746 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001658/0.1462, allocations: 196.6 kB / 0.5204 GB, free: 6.535 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.192e-05/0.1463, allocations: 85.02 kB / 0.5205 GB, free: 6.434 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.459e-05/0.1463, allocations: 15.88 kB / 0.5205 GB, free: 6.418 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.372e-05/0.1464, allocations: 0 / 0.5205 GB, free: 6.418 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.676e-05/0.1464, allocations: 11.98 kB / 0.5206 GB, free: 6.406 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.556e-05/0.1464, allocations: 7.938 kB / 0.5206 GB, free: 6.398 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.395e-05/0.1465, allocations: 148 kB / 0.5207 GB, free: 6.254 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1465, allocations: 0 / 0.5207 GB, free: 6.254 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002491/0.1468, allocations: 23.94 kB / 0.5207 GB, free: 6.23 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 6 * 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.001647/0.1484, allocations: 467.6 kB / 0.5212 GB, free: 5.82 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001813/0.1486, allocations: 59.89 kB / 0.5212 GB, free: 5.762 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.1486, allocations: 0 / 0.5212 GB, free: 5.762 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.418e-05/0.1487, allocations: 27.98 kB / 0.5213 GB, free: 5.734 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003364/0.149, allocations: 23.98 kB / 0.5213 GB, free: 5.711 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004549/0.1494, allocations: 243 kB / 0.5215 GB, free: 5.441 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001511/0.1496, allocations: 0.7041 MB / 0.5222 GB, free: 4.711 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.507e-05/0.1496, allocations: 17.19 kB / 0.5222 GB, free: 4.695 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.56e-05/0.1497, allocations: 19.42 kB / 0.5222 GB, free: 4.676 MB / 382.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1497, allocations: 4 kB / 0.5222 GB, free: 4.672 MB / 382.1 MB Notification: Performance of Templates: time 0.004497/0.1542, allocations: 1.714 MB / 0.5239 GB, free: 2.965 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test27/Test27.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.6748853540048]