Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.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.001775/0.001775, allocations: 109.8 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.002312/0.002312, allocations: 187.2 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.682/1.682, 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.2658/0.2658, allocations: 44.22 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.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77")
translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77") [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.002235/0.002235, allocations: 82.52 kB / 468 MB, free: 3.961 MB / 334.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1828/0.1851, allocations: 61.04 MB / 0.5166 GB, free: 6.785 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.0043/0.1894, allocations: 1.855 MB / 0.5185 GB, free: 4.918 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001937/0.1913, allocations: 0.9208 MB / 0.5194 GB, free: 3.988 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001222/0.1914, allocations: 7.938 kB / 0.5194 GB, free: 3.98 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0005809/0.192, allocations: 151.5 kB / 0.5195 GB, free: 3.832 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0003783/0.1924, allocations: 139.5 kB / 0.5196 GB, free: 3.695 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0004394/0.1928, allocations: 155.6 kB / 0.5198 GB, free: 3.543 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0003605/0.1932, allocations: 219.3 kB / 0.52 GB, free: 3.328 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001748/0.1933, allocations: 25.7 kB / 0.52 GB, free: 3.301 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0002037/0.1935, allocations: 107.6 kB / 0.5201 GB, free: 3.195 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002093/0.1938, allocations: 131.5 kB / 0.5203 GB, free: 3.066 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 3.604e-05/0.1938, allocations: 8 kB / 0.5203 GB, free: 3.059 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001268/0.1939, allocations: 51.97 kB / 0.5203 GB, free: 3.008 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0001163/0.194, allocations: 51.77 kB / 0.5204 GB, free: 2.957 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0001095/0.1941, allocations: 71.42 kB / 0.5204 GB, free: 2.887 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0003614/0.1945, allocations: 199.1 kB / 0.5206 GB, free: 2.691 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.1945, allocations: 0 / 0.5206 GB, free: 2.691 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.683e-06/0.1945, allocations: 0 / 0.5206 GB, free: 2.691 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 7.985e-06/0.1945, allocations: 0 / 0.5206 GB, free: 2.691 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: 12
 * Number of variables: 12
Notification: Performance of Generate backend data structure: time 0.00088/0.1954, allocations: 456.7 kB / 0.5211 GB, free: 2.215 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.634e-05/0.1954, allocations: 12.03 kB / 0.5211 GB, free: 2.203 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 6.866e-05/0.1955, allocations: 24.75 kB / 0.5211 GB, free: 2.18 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004651/0.196, allocations: 201.5 kB / 0.5213 GB, free: 1.957 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.999e-05/0.196, allocations: 8.375 kB / 0.5213 GB, free: 1.949 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 4.437e-05/0.196, allocations: 20.09 kB / 0.5213 GB, free: 1.93 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002841/0.1963, allocations: 95.3 kB / 0.5214 GB, free: 1.824 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.726e-05/0.1963, allocations: 4 kB / 0.5214 GB, free: 1.82 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/0.1964, allocations: 0 / 0.5214 GB, free: 1.82 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.1964, allocations: 0 / 0.5214 GB, free: 1.82 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001333/0.1965, allocations: 39.97 kB / 0.5214 GB, free: 1.781 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006419/0.1971, allocations: 423.9 kB / 0.5218 GB, free: 1.32 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0003122/0.1975, allocations: 109.3 kB / 0.5219 GB, free: 1.195 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001004/0.1976, allocations: 41.7 kB / 0.522 GB, free: 1.148 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.848e-05/0.1976, allocations: 0 / 0.522 GB, free: 1.148 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002586/0.1978, allocations: 109.1 kB / 0.5221 GB, free: 1.023 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=12): time 1.353e-06/0.1978, allocations: 0 / 0.5221 GB, free: 1.023 MB / 398.1 MB
Notification: Performance of matching and sorting (n=16): time 0.001029/0.1989, allocations: 368.6 kB / 0.5224 GB, free: 0.6562 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 8.278e-05/0.199, allocations: 85.05 kB / 0.5225 GB, free: 0.5547 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004198/0.1994, allocations: 352.2 kB / 0.5229 GB, free: 204 kB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.072e-05/0.1994, allocations: 33.7 kB / 0.5229 GB, free: 164 kB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001178/0.1995, allocations: 140.4 kB / 0.523 GB, free: 20 kB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 9.752e-05/0.1996, allocations: 51.75 kB / 0.5231 GB, free: 15.96 MB / 414.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 6.556e-05/0.1997, allocations: 37.64 kB / 0.5231 GB, free: 15.92 MB / 414.1 MB
Notification: Performance of setup shared object (initialization): time 0.0002061/0.1999, allocations: 342.8 kB / 0.5234 GB, free: 15.58 MB / 414.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001084/0.2, allocations: 35.98 kB / 0.5235 GB, free: 15.54 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001344/0.2001, allocations: 75.34 kB / 0.5235 GB, free: 15.46 MB / 414.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.000233/0.2004, allocations: 123.3 kB / 0.5237 GB, free: 15.32 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.2004, allocations: 4 kB / 0.5237 GB, free: 15.32 MB / 414.1 MB
Notification: Performance of matching and sorting (n=20) (initialization): time 0.000361/0.2007, allocations: 173.6 kB / 0.5238 GB, free: 15.14 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.2008, allocations: 8 kB / 0.5238 GB, free: 15.14 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.054e-06/0.2008, allocations: 0 / 0.5238 GB, free: 15.14 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 2.125e-05/0.2008, allocations: 4 kB / 0.5238 GB, free: 15.13 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001565/0.2009, allocations: 35.86 kB / 0.5239 GB, free: 15.1 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.42e-05/0.201, allocations: 8 kB / 0.5239 GB, free: 15.09 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.901e-05/0.201, allocations: 12.05 kB / 0.5239 GB, free: 15.08 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.423e-05/0.201, allocations: 12 kB / 0.5239 GB, free: 15.07 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.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (20):
 * Single equations (assignments): 20
 * 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.0001864/0.2012, allocations: 150.6 kB / 0.5241 GB, free: 14.91 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 4.374e-05/0.2013, allocations: 23.86 kB / 0.5241 GB, free: 14.89 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00045/0.2017, allocations: 203.2 kB / 0.5243 GB, free: 14.68 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.2017, allocations: 0 / 0.5243 GB, free: 14.68 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 9.998e-06/0.2017, allocations: 7.938 kB / 0.5243 GB, free: 14.67 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/0.2017, allocations: 0 / 0.5243 GB, free: 14.67 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008561/0.2026, allocations: 0.5881 MB / 0.5249 GB, free: 14.03 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.202e-06/0.2026, allocations: 8 kB / 0.5249 GB, free: 14.02 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.753e-05/0.2027, allocations: 19.92 kB / 0.5249 GB, free: 14 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 6.442e-06/0.2027, allocations: 4 kB / 0.5249 GB, free: 14 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.494e-05/0.2027, allocations: 4 kB / 0.5249 GB, free: 13.99 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.2027, allocations: 0 / 0.5249 GB, free: 13.99 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.2027, allocations: 0 / 0.5249 GB, free: 13.99 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004689/0.2032, allocations: 368.6 kB / 0.5252 GB, free: 13.61 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 4.173e-05/0.2032, allocations: 27.84 kB / 0.5253 GB, free: 13.58 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.054e-05/0.2032, allocations: 7.984 kB / 0.5253 GB, free: 13.57 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001263/0.2034, allocations: 7.938 kB / 0.5253 GB, free: 13.57 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.826e-05/0.2034, allocations: 19.97 kB / 0.5253 GB, free: 13.55 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.31e-05/0.2035, allocations: 8 kB / 0.5253 GB, free: 13.54 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 0.0002897/0.2037, allocations: 263 kB / 0.5256 GB, free: 13.29 MB / 414.1 MB
Notification: Performance of sort global known variables: time 8.1e-08/0.2037, allocations: 4 kB / 0.5256 GB, free: 13.28 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.0003428/0.2041, allocations: 35.94 kB / 0.5256 GB, free: 13.25 MB / 414.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 4
 * Number of states: 0 ()
 * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled)
 * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled)
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (16):
 * Single equations (assignments): 12
 * 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.001832/0.2059, allocations: 464.9 kB / 0.526 GB, free: 12.84 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.0003442/0.2063, allocations: 111.8 kB / 0.5261 GB, free: 12.73 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.2063, allocations: 7.938 kB / 0.5262 GB, free: 12.72 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0001322/0.2064, allocations: 44.17 kB / 0.5262 GB, free: 12.68 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005719/0.207, allocations: 72.67 kB / 0.5263 GB, free: 12.61 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008975/0.2079, allocations: 429.9 kB / 0.5267 GB, free: 12.15 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004626/0.2083, allocations: 0.7515 MB / 0.5274 GB, free: 11.38 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 9.752e-05/0.2084, allocations: 34.55 kB / 0.5274 GB, free: 11.34 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 6.054e-05/0.2085, allocations: 23.38 kB / 0.5275 GB, free: 11.32 MB / 414.1 MB
Notification: Performance of SimCode: time 9.52e-07/0.2085, allocations: 0 / 0.5275 GB, free: 11.32 MB / 414.1 MB
Notification: Performance of Templates: time 0.007965/0.2165, allocations: 2.805 MB / 0.5302 GB, free: 8.523 MB / 414.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.makefile [Timeout 660]
(rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.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.972138036042452]