Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.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.001949/0.001949, allocations: 100.4 kB / 20.45 MB, free: 1.383 MB / 14.72 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.001606/0.001606, allocations: 209.6 kB / 23.74 MB, free: 4.543 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.517/1.517, allocations: 207.7 MB / 234.6 MB, free: 9.781 MB / 190.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.2441/0.2441, allocations: 44.27 MB / 331.1 MB, free: 9.305 MB / 270.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.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.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002547/0.002547, allocations: 71.05 kB / 468.8 MB, free: 3.781 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1205, allocations: 61.05 MB / 0.5174 GB, free: 6.598 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.003905/0.1244, allocations: 1.872 MB / 0.5193 GB, free: 4.711 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001793/0.1262, allocations: 0.8117 MB / 0.5201 GB, free: 3.891 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001602/0.1263, allocations: 0 / 0.5201 GB, free: 3.891 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004181/0.1267, allocations: 47.69 kB / 0.5201 GB, free: 3.844 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003289/0.1271, allocations: 63.64 kB / 0.5202 GB, free: 3.781 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003661/0.1274, allocations: 111.7 kB / 0.5203 GB, free: 3.672 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002839/0.1277, allocations: 143.5 kB / 0.5204 GB, free: 3.531 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001402/0.1279, allocations: 25.66 kB / 0.5204 GB, free: 3.5 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001165/0.128, allocations: 59.7 kB / 0.5205 GB, free: 3.441 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001266/0.1281, allocations: 39.78 kB / 0.5205 GB, free: 3.402 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.854e-05/0.1281, allocations: 8 kB / 0.5205 GB, free: 3.395 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001284/0.1283, allocations: 47.97 kB / 0.5206 GB, free: 3.348 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.717e-05/0.1283, allocations: 27.86 kB / 0.5206 GB, free: 3.32 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.537e-05/0.1284, allocations: 47.67 kB / 0.5206 GB, free: 3.273 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002977/0.1287, allocations: 143.4 kB / 0.5208 GB, free: 3.133 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.1287, allocations: 4 kB / 0.5208 GB, free: 3.129 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.1287, allocations: 0 / 0.5208 GB, free: 3.129 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.133e-05/0.1287, allocations: 0 / 0.5208 GB, free: 3.129 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007816/0.1295, allocations: 411.1 kB / 0.5212 GB, free: 2.691 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.1296, allocations: 8.031 kB / 0.5212 GB, free: 2.684 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.666e-05/0.1296, allocations: 16.84 kB / 0.5212 GB, free: 2.668 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003616/0.13, allocations: 167.2 kB / 0.5214 GB, free: 2.48 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.811e-05/0.13, allocations: 4.375 kB / 0.5214 GB, free: 2.477 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.451e-05/0.13, allocations: 20.08 kB / 0.5214 GB, free: 2.457 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000287/0.1303, allocations: 133.9 kB / 0.5215 GB, free: 2.305 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.1303, allocations: 7.875 kB / 0.5215 GB, free: 2.297 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/0.1304, allocations: 0 / 0.5215 GB, free: 2.297 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.1304, allocations: 0 / 0.5215 GB, free: 2.297 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001579/0.1305, allocations: 47.97 kB / 0.5216 GB, free: 2.25 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006336/0.1312, allocations: 448.7 kB / 0.522 GB, free: 1.773 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003706/0.1315, allocations: 82.67 kB / 0.5221 GB, free: 1.684 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001123/0.1316, allocations: 44.77 kB / 0.5221 GB, free: 1.637 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.728e-05/0.1317, allocations: 0 / 0.5221 GB, free: 1.637 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002184/0.1319, allocations: 105.1 kB / 0.5222 GB, free: 1.516 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.413e-06/0.1319, allocations: 0 / 0.5222 GB, free: 1.516 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004392/0.1323, allocations: 149.5 kB / 0.5224 GB, free: 1.363 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.919e-05/0.1324, allocations: 59.41 kB / 0.5224 GB, free: 1.293 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002203/0.1326, allocations: 195.5 kB / 0.5226 GB, free: 1.09 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.047e-05/0.1326, allocations: 25.7 kB / 0.5226 GB, free: 1.059 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.923e-05/0.1327, allocations: 116.1 kB / 0.5227 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.923e-05/0.1327, allocations: 35.72 kB / 0.5228 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.44e-05/0.1328, allocations: 29.72 kB / 0.5228 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001626/0.133, allocations: 322.8 kB / 0.5231 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.613e-05/0.1331, allocations: 31.97 kB / 0.5231 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001259/0.1332, allocations: 68.2 kB / 0.5232 GB, free: 444 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002053/0.1334, allocations: 96.59 kB / 0.5233 GB, free: 332 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.1334, allocations: 0 / 0.5233 GB, free: 332 kB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003064/0.1337, allocations: 145.4 kB / 0.5234 GB, free: 180 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.1337, allocations: 7.984 kB / 0.5234 GB, free: 172 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.942e-06/0.1337, allocations: 3.938 kB / 0.5234 GB, free: 168 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.982e-05/0.1337, allocations: 8.125 kB / 0.5235 GB, free: 160 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001065/0.1338, allocations: 23.92 kB / 0.5235 GB, free: 136 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.1339, allocations: 7.938 kB / 0.5235 GB, free: 128 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.632e-05/0.1339, allocations: 15.89 kB / 0.5235 GB, free: 112 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.464e-05/0.1339, allocations: 4 kB / 0.5235 GB, free: 108 kB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001497/0.1341, allocations: 125.8 kB / 0.5236 GB, free: 15.97 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.71e-05/0.1341, allocations: 15.91 kB / 0.5236 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003181/0.1344, allocations: 139 kB / 0.5238 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.1344, allocations: 0 / 0.5238 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.1345, allocations: 7.938 kB / 0.5238 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.1345, allocations: 0 / 0.5238 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001794/0.1346, allocations: 145.3 kB / 0.5239 GB, free: 15.63 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.1346, allocations: 0 / 0.5239 GB, free: 15.63 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.412e-05/0.1347, allocations: 19.92 kB / 0.5239 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.746e-06/0.1347, allocations: 0 / 0.5239 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/0.1347, allocations: 0 / 0.5239 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.463e-06/0.1347, allocations: 4 kB / 0.5239 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1347, allocations: 0 / 0.5239 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004483/0.1352, allocations: 200.8 kB / 0.5241 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.793e-05/0.1352, allocations: 16.34 kB / 0.5241 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.876e-05/0.1352, allocations: 4 kB / 0.5242 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.441e-05/0.1353, allocations: 7.984 kB / 0.5242 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.666e-05/0.1354, allocations: 11.92 kB / 0.5242 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.847e-05/0.1354, allocations: 3.938 kB / 0.5242 GB, free: 15.35 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000151/0.1355, allocations: 153.1 kB / 0.5243 GB, free: 15.2 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1355, allocations: 0 / 0.5243 GB, free: 15.2 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002479/0.1358, allocations: 27.94 kB / 0.5243 GB, free: 15.18 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.001694/0.1375, allocations: 446.2 kB / 0.5248 GB, free: 14.78 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002851/0.1378, allocations: 91.77 kB / 0.5249 GB, free: 14.69 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1378, allocations: 0 / 0.5249 GB, free: 14.69 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001089/0.1379, allocations: 31.98 kB / 0.5249 GB, free: 14.66 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003364/0.1382, allocations: 43.7 kB / 0.5249 GB, free: 14.62 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006282/0.1388, allocations: 302 kB / 0.5252 GB, free: 14.29 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001263/0.139, allocations: 106.6 kB / 0.5253 GB, free: 14.17 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.867e-05/0.139, allocations: 19.44 kB / 0.5253 GB, free: 14.15 MB / 414.1 MB Notification: Performance of SimCode: time 3.71e-07/0.139, allocations: 0 / 0.5253 GB, free: 14.15 MB / 414.1 MB Notification: Performance of Templates: time 0.004822/0.1438, allocations: 2.211 MB / 0.5275 GB, free: 11.93 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.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: 8.380479853134602]