Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.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.00217/0.00217, allocations: 107.3 kB / 19.69 MB, free: 2.188 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.00225/0.00225, allocations: 193 kB / 22.98 MB, free: 5.012 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.725/1.725, allocations: 207.6 MB / 233.7 MB, free: 10.01 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.2268/0.2268, allocations: 44.24 MB / 330.2 MB, free: 9.559 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.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.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5096,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72")
translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5096,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72") [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.00218/0.00218, allocations: 75.83 kB / 468 MB, free: 4 MB / 334.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.1402, allocations: 61.03 MB / 0.5166 GB, free: 6.824 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.003432/0.1436, allocations: 1.807 MB / 0.5184 GB, free: 5.008 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001631/0.1453, allocations: 0.9053 MB / 0.5193 GB, free: 4.094 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001168/0.1454, allocations: 3.938 kB / 0.5193 GB, free: 4.09 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0005796/0.146, allocations: 307.3 kB / 0.5196 GB, free: 3.789 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0004277/0.1464, allocations: 211.3 kB / 0.5198 GB, free: 3.582 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0004018/0.1468, allocations: 143.7 kB / 0.5199 GB, free: 3.441 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0003698/0.1472, allocations: 247.3 kB / 0.5202 GB, free: 3.199 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 6.053e-05/0.1472, allocations: 9.734 kB / 0.5202 GB, free: 3.188 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.000221/0.1475, allocations: 139.5 kB / 0.5203 GB, free: 3.051 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002869/0.1477, allocations: 215.5 kB / 0.5205 GB, free: 2.84 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 3.265e-05/0.1478, allocations: 4 kB / 0.5205 GB, free: 2.836 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001247/0.1479, allocations: 47.97 kB / 0.5206 GB, free: 2.789 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.000166/0.1481, allocations: 139.6 kB / 0.5207 GB, free: 2.652 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0001561/0.1482, allocations: 150.7 kB / 0.5208 GB, free: 2.504 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0004726/0.1487, allocations: 366.2 kB / 0.5212 GB, free: 2.145 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.1487, allocations: 0 / 0.5212 GB, free: 2.145 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.322e-06/0.1487, allocations: 0 / 0.5212 GB, free: 2.145 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 1.436e-05/0.1487, allocations: 4 kB / 0.5212 GB, free: 2.141 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: 8
 * Number of variables: 8
Notification: Performance of Generate backend data structure: time 0.001097/0.1498, allocations: 0.6708 MB / 0.5218 GB, free: 1.438 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.1498, allocations: 12.03 kB / 0.5218 GB, free: 1.426 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 9.574e-05/0.1499, allocations: 52.61 kB / 0.5219 GB, free: 1.375 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007054/0.1507, allocations: 398.5 kB / 0.5223 GB, free: 0.9609 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.082e-05/0.1507, allocations: 4.375 kB / 0.5223 GB, free: 0.957 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.084e-05/0.1507, allocations: 4.125 kB / 0.5223 GB, free: 0.9531 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.000227/0.1509, allocations: 87.36 kB / 0.5224 GB, free: 0.8555 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 9.387e-06/0.1509, allocations: 0 / 0.5224 GB, free: 0.8555 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.1509, allocations: 4 kB / 0.5224 GB, free: 0.8516 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.1509, allocations: 0 / 0.5224 GB, free: 0.8516 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001176/0.1511, allocations: 35.92 kB / 0.5224 GB, free: 0.8164 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004528/0.1515, allocations: 353.4 kB / 0.5227 GB, free: 436 kB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0003015/0.1518, allocations: 97.17 kB / 0.5228 GB, free: 320 kB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001048/0.1519, allocations: 45.64 kB / 0.5229 GB, free: 268 kB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 1.545e-05/0.1519, allocations: 0 / 0.5229 GB, free: 268 kB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002346/0.1522, allocations: 105.1 kB / 0.523 GB, free: 144 kB / 398.1 MB
Notification: Performance of pre-optimization done (n=10): time 1.192e-06/0.1522, allocations: 0 / 0.523 GB, free: 144 kB / 398.1 MB
Notification: Performance of matching and sorting (n=10): time 0.000555/0.1527, allocations: 209.6 kB / 0.5232 GB, free: 15.93 MB / 414.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.907e-05/0.1528, allocations: 81.05 kB / 0.5233 GB, free: 15.83 MB / 414.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001292/0.1541, allocations: 1.034 MB / 0.5243 GB, free: 14.78 MB / 414.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.412e-05/0.1541, allocations: 33.7 kB / 0.5243 GB, free: 14.74 MB / 414.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.000205/0.1543, allocations: 228.1 kB / 0.5245 GB, free: 14.52 MB / 414.1 MB
Notification: Performance of collectInitialBindings (initialization): time 4.969e-05/0.1544, allocations: 23.86 kB / 0.5245 GB, free: 14.49 MB / 414.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.588e-05/0.1544, allocations: 33.7 kB / 0.5246 GB, free: 14.45 MB / 414.1 MB
Notification: Performance of setup shared object (initialization): time 0.0002102/0.1546, allocations: 370.7 kB / 0.5249 GB, free: 14.08 MB / 414.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 9.71e-05/0.1547, allocations: 27.98 kB / 0.525 GB, free: 14.05 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001117/0.1548, allocations: 59.41 kB / 0.525 GB, free: 13.98 MB / 414.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002015/0.155, allocations: 91.36 kB / 0.5251 GB, free: 13.88 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.155, allocations: 0 / 0.5251 GB, free: 13.88 MB / 414.1 MB
Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003432/0.1554, allocations: 173 kB / 0.5253 GB, free: 13.71 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.1554, allocations: 8 kB / 0.5253 GB, free: 13.7 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.1554, allocations: 3.938 kB / 0.5253 GB, free: 13.7 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.1554, allocations: 0 / 0.5253 GB, free: 13.7 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001252/0.1555, allocations: 23.94 kB / 0.5253 GB, free: 13.68 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.797e-06/0.1556, allocations: 3.984 kB / 0.5253 GB, free: 13.67 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001087/0.1557, allocations: 16 kB / 0.5253 GB, free: 13.66 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.185e-05/0.1557, allocations: 4 kB / 0.5253 GB, free: 13.65 MB / 414.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 4
 * Number of states: 0 ()
 * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent)
 * 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.0002446/0.1559, allocations: 226 kB / 0.5255 GB, free: 13.42 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 8.26e-05/0.156, allocations: 51.67 kB / 0.5256 GB, free: 13.37 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004261/0.1564, allocations: 205.6 kB / 0.5258 GB, free: 13.16 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.1564, allocations: 0 / 0.5258 GB, free: 13.16 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.1564, allocations: 0 / 0.5258 GB, free: 13.16 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.181e-06/0.1564, allocations: 4 kB / 0.5258 GB, free: 13.16 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003492/0.1568, allocations: 320.5 kB / 0.5261 GB, free: 12.8 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.1568, allocations: 0 / 0.5261 GB, free: 12.8 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.157e-05/0.1568, allocations: 11.94 kB / 0.5261 GB, free: 12.79 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 6.723e-06/0.1569, allocations: 7.984 kB / 0.5261 GB, free: 12.79 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.401e-05/0.1569, allocations: 3.984 kB / 0.5261 GB, free: 12.78 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.1569, allocations: 0 / 0.5261 GB, free: 12.78 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.1569, allocations: 4 kB / 0.5261 GB, free: 12.78 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003814/0.1573, allocations: 213.5 kB / 0.5263 GB, free: 12.55 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001714/0.1574, allocations: 67.59 kB / 0.5264 GB, free: 12.48 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.328e-05/0.1575, allocations: 4 kB / 0.5264 GB, free: 12.48 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.917e-05/0.1576, allocations: 7.984 kB / 0.5264 GB, free: 12.47 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.316e-05/0.1576, allocations: 15.92 kB / 0.5264 GB, free: 12.45 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.905e-05/0.1576, allocations: 4 kB / 0.5264 GB, free: 12.45 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 0.0009187/0.1586, allocations: 0.7721 MB / 0.5272 GB, free: 11.68 MB / 414.1 MB
Notification: Performance of sort global known variables: time 1.21e-07/0.1586, allocations: 0 / 0.5272 GB, free: 11.68 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.0002897/0.1588, allocations: 40 kB / 0.5272 GB, free: 11.64 MB / 414.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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled)
 * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled)
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (12):
 * Single equations (assignments): 8
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 4
 * 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.001627/0.1605, allocations: 424.9 kB / 0.5276 GB, free: 11.27 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.0002806/0.1608, allocations: 75.89 kB / 0.5277 GB, free: 11.19 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.1608, allocations: 8 kB / 0.5277 GB, free: 11.18 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0001164/0.1609, allocations: 35.92 kB / 0.5277 GB, free: 11.15 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004631/0.1613, allocations: 70.06 kB / 0.5278 GB, free: 11.08 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001403/0.1627, allocations: 0.8855 MB / 0.5287 GB, free: 10.17 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005391/0.1633, allocations: 0.8425 MB / 0.5295 GB, free: 9.297 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 0.0001292/0.1634, allocations: 59.45 kB / 0.5295 GB, free: 9.238 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 8.171e-05/0.1635, allocations: 35.42 kB / 0.5296 GB, free: 9.203 MB / 414.1 MB
Notification: Performance of SimCode: time 4.41e-07/0.1635, allocations: 0 / 0.5296 GB, free: 9.203 MB / 414.1 MB
Notification: Performance of Templates: time 0.009238/0.1727, allocations: 3.852 MB / 0.5333 GB, free: 5.348 MB / 414.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.makefile [Timeout 660]
(rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.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.813673839904368]