Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.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.001892/0.001892, allocations: 109.6 kB / 19.69 MB, free: 2.199 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.003815/0.003815, allocations: 191.5 kB / 22.98 MB, free: 5.062 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.56/1.56, allocations: 207.6 MB / 233.7 MB, free: 10 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.2357/0.2357, allocations: 44.24 MB / 330.2 MB, free: 9.555 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.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42")
translateModel(ModelicaTest.Tables.CombiTimeTable.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42") [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.002346/0.002346, allocations: 71.12 kB / 468 MB, free: 3.984 MB / 334.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.141/0.1433, allocations: 61.04 MB / 0.5166 GB, free: 6.805 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.00403/0.1474, allocations: 1.718 MB / 0.5183 GB, free: 5.078 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001699/0.149, allocations: 0.8312 MB / 0.5191 GB, free: 4.238 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001104/0.1492, allocations: 0 / 0.5191 GB, free: 4.238 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0003558/0.1495, allocations: 39.77 kB / 0.5192 GB, free: 4.199 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0002674/0.1498, allocations: 59.75 kB / 0.5192 GB, free: 4.141 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0003364/0.1501, allocations: 87.77 kB / 0.5193 GB, free: 4.055 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0002028/0.1503, allocations: 103.6 kB / 0.5194 GB, free: 3.953 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001156/0.1504, allocations: 8.203 kB / 0.5194 GB, free: 3.945 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001177/0.1506, allocations: 47.78 kB / 0.5195 GB, free: 3.898 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 8.561e-05/0.1506, allocations: 27.86 kB / 0.5195 GB, free: 3.871 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 2.322e-05/0.1507, allocations: 4 kB / 0.5195 GB, free: 3.867 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001327/0.1508, allocations: 43.97 kB / 0.5195 GB, free: 3.824 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 6.934e-05/0.1509, allocations: 23.86 kB / 0.5196 GB, free: 3.801 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 6.085e-05/0.1509, allocations: 31.75 kB / 0.5196 GB, free: 3.77 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0002519/0.1512, allocations: 115.5 kB / 0.5197 GB, free: 3.656 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.1512, allocations: 8 kB / 0.5197 GB, free: 3.648 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.904e-06/0.1512, allocations: 0 / 0.5197 GB, free: 3.648 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 6.973e-06/0.1512, allocations: 0 / 0.5197 GB, free: 3.648 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: 6
 * Number of variables: 6
Notification: Performance of Generate backend data structure: time 0.0007038/0.1519, allocations: 345.5 kB / 0.52 GB, free: 3.281 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.1519, allocations: 8.031 kB / 0.52 GB, free: 3.273 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 6.366e-05/0.152, allocations: 12.89 kB / 0.5201 GB, free: 3.262 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003859/0.1524, allocations: 155 kB / 0.5202 GB, free: 3.086 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.605e-05/0.1524, allocations: 4.375 kB / 0.5202 GB, free: 3.082 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.236e-05/0.1524, allocations: 8.125 kB / 0.5202 GB, free: 3.074 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002029/0.1526, allocations: 57.61 kB / 0.5203 GB, free: 3.012 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/0.1526, allocations: 7.984 kB / 0.5203 GB, free: 3.004 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.1527, allocations: 0 / 0.5203 GB, free: 3.004 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.1527, allocations: 0 / 0.5203 GB, free: 3.004 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 8.449e-05/0.1528, allocations: 23.98 kB / 0.5203 GB, free: 2.98 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004358/0.1532, allocations: 252 kB / 0.5205 GB, free: 2.691 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002168/0.1534, allocations: 54.62 kB / 0.5206 GB, free: 2.629 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 5.893e-05/0.1535, allocations: 20.84 kB / 0.5206 GB, free: 2.605 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.511e-05/0.1535, allocations: 4 kB / 0.5206 GB, free: 2.602 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001841/0.1537, allocations: 67.39 kB / 0.5207 GB, free: 2.523 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=6): time 1.753e-06/0.1537, allocations: 0 / 0.5207 GB, free: 2.523 MB / 398.1 MB
Notification: Performance of matching and sorting (n=8): time 0.0006621/0.1543, allocations: 189.3 kB / 0.5209 GB, free: 2.332 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.86e-05/0.1544, allocations: 55.41 kB / 0.5209 GB, free: 2.266 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002281/0.1546, allocations: 191.3 kB / 0.5211 GB, free: 2.07 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 1.876e-05/0.1546, allocations: 25.7 kB / 0.5211 GB, free: 2.039 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 8.77e-05/0.1547, allocations: 112.1 kB / 0.5212 GB, free: 1.926 MB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 3.754e-05/0.1548, allocations: 19.86 kB / 0.5212 GB, free: 1.906 MB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.762e-05/0.1548, allocations: 21.7 kB / 0.5213 GB, free: 1.879 MB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.000165/0.155, allocations: 330.8 kB / 0.5216 GB, free: 1.547 MB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 6.084e-05/0.155, allocations: 20 kB / 0.5216 GB, free: 1.527 MB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 8.572e-05/0.1551, allocations: 37.64 kB / 0.5216 GB, free: 1.484 MB / 398.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001257/0.1552, allocations: 61.7 kB / 0.5217 GB, free: 1.418 MB / 398.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.1552, allocations: 0 / 0.5217 GB, free: 1.418 MB / 398.1 MB
Notification: Performance of matching and sorting (n=10) (initialization): time 0.000208/0.1554, allocations: 105.6 kB / 0.5218 GB, free: 1.309 MB / 398.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.1555, allocations: 8.188 kB / 0.5218 GB, free: 1.301 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.1555, allocations: 4.031 kB / 0.5218 GB, free: 1.297 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.1555, allocations: 3.938 kB / 0.5218 GB, free: 1.293 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.672e-05/0.1556, allocations: 16 kB / 0.5218 GB, free: 1.277 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.227e-06/0.1556, allocations: 4 kB / 0.5218 GB, free: 1.273 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.157e-05/0.1557, allocations: 7.922 kB / 0.5218 GB, free: 1.266 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.708e-06/0.1557, allocations: 4 kB / 0.5218 GB, free: 1.262 MB / 398.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 0.0001254/0.1558, allocations: 125.8 kB / 0.522 GB, free: 1.129 MB / 398.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.685e-05/0.1558, allocations: 11.95 kB / 0.522 GB, free: 1.117 MB / 398.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002867/0.1561, allocations: 123 kB / 0.5221 GB, free: 0.9844 MB / 398.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.1561, allocations: 0 / 0.5221 GB, free: 0.9844 MB / 398.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.339e-06/0.1561, allocations: 0 / 0.5221 GB, free: 0.9844 MB / 398.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.648e-06/0.1561, allocations: 11.92 kB / 0.5221 GB, free: 0.9727 MB / 398.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005379/0.1567, allocations: 362.4 kB / 0.5224 GB, free: 0.5664 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.1567, allocations: 4 kB / 0.5225 GB, free: 0.5625 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.374e-05/0.1567, allocations: 4 kB / 0.5225 GB, free: 0.5586 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.1567, allocations: 4 kB / 0.5225 GB, free: 0.5547 MB / 398.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.337e-05/0.1567, allocations: 11.97 kB / 0.5225 GB, free: 0.543 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.821e-06/0.1567, allocations: 3.938 kB / 0.5225 GB, free: 0.5391 MB / 398.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.1567, allocations: 4 kB / 0.5225 GB, free: 0.5352 MB / 398.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002738/0.157, allocations: 192.3 kB / 0.5227 GB, free: 336 kB / 398.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 2.226e-05/0.157, allocations: 11.89 kB / 0.5227 GB, free: 324 kB / 398.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.993e-05/0.1571, allocations: 12.31 kB / 0.5227 GB, free: 312 kB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.971e-05/0.1571, allocations: 0 / 0.5227 GB, free: 312 kB / 398.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.302e-05/0.1572, allocations: 19.92 kB / 0.5227 GB, free: 292 kB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.769e-05/0.1572, allocations: 4 kB / 0.5227 GB, free: 288 kB / 398.1 MB
Notification: Performance of sorting global known variables: time 0.0001494/0.1573, allocations: 156.9 kB / 0.5229 GB, free: 132 kB / 398.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.1573, allocations: 0 / 0.5229 GB, free: 132 kB / 398.1 MB
Notification: Performance of remove unused functions: time 0.0002712/0.1576, allocations: 20 kB / 0.5229 GB, free: 112 kB / 398.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.001878/0.1595, allocations: 464.7 kB / 0.5233 GB, free: 15.7 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.0002117/0.1597, allocations: 55.91 kB / 0.5234 GB, free: 15.65 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1597, allocations: 0 / 0.5234 GB, free: 15.65 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 9.691e-05/0.1598, allocations: 27.92 kB / 0.5234 GB, free: 15.62 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003879/0.1602, allocations: 35.84 kB / 0.5234 GB, free: 15.59 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005425/0.1607, allocations: 235.2 kB / 0.5237 GB, free: 15.33 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003783/0.1611, allocations: 0.7002 MB / 0.5243 GB, free: 14.6 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 5.441e-05/0.1612, allocations: 12.97 kB / 0.5244 GB, free: 14.59 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.84e-05/0.1612, allocations: 19.44 kB / 0.5244 GB, free: 14.57 MB / 414.1 MB
Notification: Performance of SimCode: time 1.072e-06/0.1612, allocations: 7.938 kB / 0.5244 GB, free: 14.56 MB / 414.1 MB
Notification: Performance of Templates: time 0.005642/0.1668, allocations: 1.752 MB / 0.5261 GB, free: 12.82 MB / 414.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.makefile [Timeout 660]
(rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test42/Test42.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.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.73562506120652]