Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.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.001932/0.001932, 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.002301/0.002301, allocations: 185.5 kB / 22.98 MB, free: 5.016 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.748/1.748, 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.266/0.266, allocations: 44.24 MB / 330.2 MB, free: 9.551 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.Test46,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.Test46")
translateModel(ModelicaTest.Tables.CombiTimeTable.Test46,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.Test46") [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.002243/0.002243, allocations: 75.88 kB / 468 MB, free: 3.98 MB / 334.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1925/0.1947, allocations: 61.03 MB / 0.5166 GB, free: 6.805 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.003737/0.1984, allocations: 1.715 MB / 0.5183 GB, free: 5.078 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001665/0.2001, allocations: 0.8234 MB / 0.5191 GB, free: 4.246 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 9.599e-05/0.2002, allocations: 0 / 0.5191 GB, free: 4.246 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0004038/0.2006, allocations: 59.75 kB / 0.5192 GB, free: 4.188 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0002684/0.2009, allocations: 59.75 kB / 0.5192 GB, free: 4.129 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0003462/0.2012, allocations: 91.75 kB / 0.5193 GB, free: 4.039 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0002016/0.2014, allocations: 99.64 kB / 0.5194 GB, free: 3.941 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001198/0.2015, allocations: 12.22 kB / 0.5194 GB, free: 3.93 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001153/0.2017, allocations: 47.77 kB / 0.5195 GB, free: 3.883 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001022/0.2018, allocations: 31.86 kB / 0.5195 GB, free: 3.852 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 2.511e-05/0.2018, allocations: 4 kB / 0.5195 GB, free: 3.848 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001146/0.2019, allocations: 35.97 kB / 0.5195 GB, free: 3.812 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 7.708e-05/0.202, allocations: 31.86 kB / 0.5196 GB, free: 3.781 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 7.44e-05/0.2021, allocations: 43.61 kB / 0.5196 GB, free: 3.738 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0003014/0.2024, allocations: 135.4 kB / 0.5197 GB, free: 3.605 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.2024, allocations: 0 / 0.5197 GB, free: 3.605 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.373e-06/0.2024, allocations: 0 / 0.5197 GB, free: 3.605 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 6.032e-06/0.2024, allocations: 0 / 0.5197 GB, free: 3.605 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.0007064/0.2031, allocations: 365.4 kB / 0.5201 GB, free: 3.219 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.902e-05/0.2031, allocations: 12.03 kB / 0.5201 GB, free: 3.207 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 5.883e-05/0.2032, allocations: 12.84 kB / 0.5201 GB, free: 3.195 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003466/0.2035, allocations: 166 kB / 0.5203 GB, free: 3.008 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.548e-06/0.2035, allocations: 384 / 0.5203 GB, free: 3.008 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.016e-05/0.2036, allocations: 8.125 kB / 0.5203 GB, free: 3 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001875/0.2038, allocations: 61.59 kB / 0.5203 GB, free: 2.934 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.2038, allocations: 4 kB / 0.5203 GB, free: 2.93 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.2038, allocations: 0 / 0.5203 GB, free: 2.93 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.2038, allocations: 0 / 0.5203 GB, free: 2.93 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 8.366e-05/0.2039, allocations: 23.98 kB / 0.5204 GB, free: 2.906 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004279/0.2043, allocations: 263.9 kB / 0.5206 GB, free: 2.605 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001814/0.2045, allocations: 58.62 kB / 0.5207 GB, free: 2.539 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 6.029e-05/0.2045, allocations: 28.78 kB / 0.5207 GB, free: 2.508 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.463e-05/0.2046, allocations: 3.984 kB / 0.5207 GB, free: 2.504 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001662/0.2047, allocations: 71.39 kB / 0.5208 GB, free: 2.422 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=6): time 1.553e-06/0.2047, allocations: 0 / 0.5208 GB, free: 2.422 MB / 398.1 MB
Notification: Performance of matching and sorting (n=8): time 0.0006137/0.2053, allocations: 177.3 kB / 0.5209 GB, free: 2.242 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.983e-05/0.2054, allocations: 55.41 kB / 0.521 GB, free: 2.176 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002872/0.2057, allocations: 263.5 kB / 0.5213 GB, free: 1.902 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.164e-05/0.2057, allocations: 29.7 kB / 0.5213 GB, free: 1.867 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 8.905e-05/0.2058, allocations: 112.1 kB / 0.5214 GB, free: 1.754 MB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 3.707e-05/0.2058, allocations: 27.78 kB / 0.5214 GB, free: 1.727 MB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.938e-05/0.2059, allocations: 17.72 kB / 0.5214 GB, free: 1.703 MB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001686/0.206, allocations: 334.8 kB / 0.5217 GB, free: 1.367 MB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 5.923e-05/0.2061, allocations: 15.98 kB / 0.5218 GB, free: 1.352 MB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 8.482e-05/0.2062, allocations: 45.64 kB / 0.5218 GB, free: 1.301 MB / 398.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001247/0.2063, allocations: 61.77 kB / 0.5219 GB, free: 1.234 MB / 398.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.2063, allocations: 0 / 0.5219 GB, free: 1.234 MB / 398.1 MB
Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002029/0.2065, allocations: 109.5 kB / 0.522 GB, free: 1.121 MB / 398.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.2065, allocations: 4 kB / 0.522 GB, free: 1.117 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.2065, allocations: 4 kB / 0.522 GB, free: 1.113 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.2065, allocations: 192 / 0.522 GB, free: 1.113 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.366e-05/0.2066, allocations: 19.98 kB / 0.522 GB, free: 1.094 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.2066, allocations: 7.969 kB / 0.522 GB, free: 1.086 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.827e-05/0.2067, allocations: 7.938 kB / 0.522 GB, free: 1.078 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.551e-05/0.2067, allocations: 4 kB / 0.522 GB, free: 1.074 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.0001271/0.2068, allocations: 133.8 kB / 0.5221 GB, free: 0.9336 MB / 398.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.735e-05/0.2069, allocations: 15.91 kB / 0.5222 GB, free: 0.918 MB / 398.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002675/0.2071, allocations: 115.1 kB / 0.5223 GB, free: 0.7969 MB / 398.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.2071, allocations: 0 / 0.5223 GB, free: 0.7969 MB / 398.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.2071, allocations: 0 / 0.5223 GB, free: 0.7969 MB / 398.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.185e-06/0.2071, allocations: 11.92 kB / 0.5223 GB, free: 0.7852 MB / 398.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004859/0.2076, allocations: 370.4 kB / 0.5226 GB, free: 380 kB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.2076, allocations: 0 / 0.5226 GB, free: 380 kB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.272e-05/0.2077, allocations: 8 kB / 0.5226 GB, free: 372 kB / 398.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.2077, allocations: 0 / 0.5226 GB, free: 372 kB / 398.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.51e-05/0.2077, allocations: 11.92 kB / 0.5227 GB, free: 360 kB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.556e-06/0.2077, allocations: 11.88 kB / 0.5227 GB, free: 348 kB / 398.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.2077, allocations: 0 / 0.5227 GB, free: 348 kB / 398.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002542/0.2079, allocations: 200.3 kB / 0.5229 GB, free: 128 kB / 398.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 2.758e-05/0.208, allocations: 15.91 kB / 0.5229 GB, free: 112 kB / 398.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.654e-05/0.208, allocations: 8.312 kB / 0.5229 GB, free: 104 kB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.2e-05/0.2081, allocations: 3.984 kB / 0.5229 GB, free: 100 kB / 398.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.295e-05/0.2081, allocations: 8 kB / 0.5229 GB, free: 92 kB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.806e-05/0.2081, allocations: 8 kB / 0.5229 GB, free: 84 kB / 398.1 MB
Notification: Performance of sorting global known variables: time 0.0002077/0.2083, allocations: 199.3 kB / 0.5231 GB, free: 15.89 MB / 414.1 MB
Notification: Performance of sort global known variables: time 9e-08/0.2083, allocations: 4 kB / 0.5231 GB, free: 15.88 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.0002608/0.2086, allocations: 23.94 kB / 0.5231 GB, free: 15.86 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: 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.001746/0.2103, allocations: 465.9 kB / 0.5236 GB, free: 15.46 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.0002086/0.2106, allocations: 59.89 kB / 0.5236 GB, free: 15.4 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.2106, allocations: 3.938 kB / 0.5236 GB, free: 15.39 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 7.672e-05/0.2106, allocations: 27.92 kB / 0.5236 GB, free: 15.37 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003627/0.211, allocations: 31.78 kB / 0.5237 GB, free: 15.34 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000576/0.2116, allocations: 283.6 kB / 0.5239 GB, free: 15.03 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004086/0.212, allocations: 0.7197 MB / 0.5246 GB, free: 14.29 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 6.179e-05/0.212, allocations: 13.28 kB / 0.5247 GB, free: 14.27 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.24e-05/0.2121, allocations: 15.44 kB / 0.5247 GB, free: 14.25 MB / 414.1 MB
Notification: Performance of SimCode: time 3.21e-07/0.2121, allocations: 3.938 kB / 0.5247 GB, free: 14.25 MB / 414.1 MB
Notification: Performance of Templates: time 0.00557/0.2177, allocations: 1.787 MB / 0.5264 GB, free: 12.47 MB / 414.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.makefile [Timeout 660]
(rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test46/Test46.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.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.834187722764909]