Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.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.00129/0.00129, allocations: 107.2 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.001461/0.001461, allocations: 191.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.724/1.724, 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.2797/0.2797, allocations: 44.23 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.Test78,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.Test78")
translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,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.Test78") [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.00225/0.00225, allocations: 71.11 kB / 468 MB, free: 3.988 MB / 334.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1646/0.1668, allocations: 61.05 MB / 0.5166 GB, free: 6.797 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.005921/0.1728, allocations: 1.854 MB / 0.5185 GB, free: 4.934 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002388/0.1751, allocations: 0.9325 MB / 0.5194 GB, free: 3.992 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0002172/0.1754, allocations: 4 kB / 0.5194 GB, free: 3.988 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0006762/0.176, allocations: 251.4 kB / 0.5196 GB, free: 3.742 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0005552/0.1766, allocations: 187.4 kB / 0.5198 GB, free: 3.559 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0005336/0.1771, allocations: 151.7 kB / 0.5199 GB, free: 3.41 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0005433/0.1777, allocations: 251.2 kB / 0.5202 GB, free: 3.164 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001634/0.1778, allocations: 17.72 kB / 0.5202 GB, free: 3.145 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0003514/0.1782, allocations: 131.6 kB / 0.5203 GB, free: 3.016 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.000475/0.1787, allocations: 199.4 kB / 0.5205 GB, free: 2.82 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 5.811e-05/0.1787, allocations: 8 kB / 0.5205 GB, free: 2.812 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0002337/0.179, allocations: 43.98 kB / 0.5206 GB, free: 2.77 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.000174/0.1791, allocations: 67.7 kB / 0.5206 GB, free: 2.703 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0001428/0.1793, allocations: 83.3 kB / 0.5207 GB, free: 2.621 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0005469/0.1798, allocations: 227 kB / 0.5209 GB, free: 2.398 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/0.1798, allocations: 0 / 0.5209 GB, free: 2.398 MB / 398.1 MB
Notification: Performance of FrontEnd: time 2.595e-06/0.1798, allocations: 0 / 0.5209 GB, free: 2.398 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 1.446e-05/0.1798, allocations: 3.938 kB / 0.5209 GB, free: 2.395 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.001106/0.1809, allocations: 0.4964 MB / 0.5214 GB, free: 1.867 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 5.331e-05/0.181, allocations: 12.03 kB / 0.5214 GB, free: 1.855 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001223/0.1811, allocations: 32.73 kB / 0.5214 GB, free: 1.824 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005481/0.1817, allocations: 214.5 kB / 0.5217 GB, free: 1.59 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.622e-05/0.1817, allocations: 8.375 kB / 0.5217 GB, free: 1.582 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.144e-05/0.1817, allocations: 8.125 kB / 0.5217 GB, free: 1.574 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002831/0.182, allocations: 99.23 kB / 0.5218 GB, free: 1.465 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.666e-05/0.182, allocations: 4 kB / 0.5218 GB, free: 1.461 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.035e-05/0.1821, allocations: 7.984 kB / 0.5218 GB, free: 1.453 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.1821, allocations: 0 / 0.5218 GB, free: 1.453 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001458/0.1822, allocations: 35.98 kB / 0.5218 GB, free: 1.418 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007753/0.183, allocations: 435.9 kB / 0.5222 GB, free: 0.9453 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0003504/0.1833, allocations: 113.3 kB / 0.5223 GB, free: 0.8164 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001006/0.1834, allocations: 37.7 kB / 0.5224 GB, free: 0.7734 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 3.275e-05/0.1835, allocations: 4 kB / 0.5224 GB, free: 0.7695 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002737/0.1837, allocations: 105.1 kB / 0.5225 GB, free: 0.6484 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=12): time 1.613e-06/0.1837, allocations: 0 / 0.5225 GB, free: 0.6484 MB / 398.1 MB
Notification: Performance of matching and sorting (n=16): time 0.001095/0.1848, allocations: 392.4 kB / 0.5228 GB, free: 264 kB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 8.538e-05/0.1849, allocations: 85.05 kB / 0.5229 GB, free: 160 kB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000638/0.1856, allocations: 477.7 kB / 0.5234 GB, free: 15.68 MB / 414.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.095e-05/0.1856, allocations: 37.7 kB / 0.5234 GB, free: 15.63 MB / 414.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001493/0.1857, allocations: 160.3 kB / 0.5236 GB, free: 15.47 MB / 414.1 MB
Notification: Performance of collectInitialBindings (initialization): time 6.899e-05/0.1858, allocations: 51.62 kB / 0.5236 GB, free: 15.42 MB / 414.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.965e-05/0.1859, allocations: 33.72 kB / 0.5237 GB, free: 15.38 MB / 414.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001779/0.186, allocations: 346.7 kB / 0.524 GB, free: 15.04 MB / 414.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001102/0.1862, allocations: 43.98 kB / 0.524 GB, free: 14.99 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001335/0.1863, allocations: 71.41 kB / 0.5241 GB, free: 14.91 MB / 414.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002395/0.1865, allocations: 119.5 kB / 0.5242 GB, free: 14.78 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.1865, allocations: 0 / 0.5242 GB, free: 14.78 MB / 414.1 MB
Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003757/0.1869, allocations: 186.1 kB / 0.5244 GB, free: 14.59 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.1869, allocations: 8 kB / 0.5244 GB, free: 14.59 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.1869, allocations: 4.062 kB / 0.5244 GB, free: 14.58 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 2.531e-05/0.187, allocations: 4 kB / 0.5244 GB, free: 14.58 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00016/0.1871, allocations: 31.92 kB / 0.5244 GB, free: 14.55 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.515e-05/0.1871, allocations: 15.86 kB / 0.5244 GB, free: 14.53 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.207e-05/0.1872, allocations: 8 kB / 0.5245 GB, free: 14.52 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.718e-05/0.1872, allocations: 8 kB / 0.5245 GB, free: 14.52 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.0002595/0.1875, allocations: 165.8 kB / 0.5246 GB, free: 14.34 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 5.121e-05/0.1875, allocations: 31.81 kB / 0.5247 GB, free: 14.31 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004942/0.188, allocations: 220.4 kB / 0.5249 GB, free: 14.09 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.188, allocations: 4 kB / 0.5249 GB, free: 14.09 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 9.949e-06/0.1881, allocations: 11.81 kB / 0.5249 GB, free: 14.07 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.138e-05/0.1881, allocations: 7.969 kB / 0.5249 GB, free: 14.07 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008953/0.189, allocations: 0.5921 MB / 0.5255 GB, free: 13.42 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.189, allocations: 4.062 kB / 0.5255 GB, free: 13.41 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.533e-05/0.189, allocations: 23.92 kB / 0.5255 GB, free: 13.39 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.189, allocations: 4 kB / 0.5255 GB, free: 13.39 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.383e-05/0.189, allocations: 0 / 0.5255 GB, free: 13.39 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/0.189, allocations: 7.984 kB / 0.5255 GB, free: 13.38 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.189, allocations: 0 / 0.5255 GB, free: 13.38 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004842/0.1895, allocations: 376.2 kB / 0.5259 GB, free: 12.99 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 5.411e-05/0.1896, allocations: 27.8 kB / 0.5259 GB, free: 12.96 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.454e-05/0.1896, allocations: 0 / 0.5259 GB, free: 12.96 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001274/0.1897, allocations: 8 kB / 0.5259 GB, free: 12.95 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.446e-05/0.1898, allocations: 15.97 kB / 0.5259 GB, free: 12.94 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-05/0.1898, allocations: 8 kB / 0.5259 GB, free: 12.93 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 0.0003813/0.1902, allocations: 359.1 kB / 0.5263 GB, free: 12.59 MB / 414.1 MB
Notification: Performance of sort global known variables: time 1.1e-07/0.1902, allocations: 8 kB / 0.5263 GB, free: 12.58 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.0003391/0.1905, allocations: 35.94 kB / 0.5263 GB, free: 12.54 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.001791/0.1923, allocations: 468.8 kB / 0.5267 GB, free: 12.13 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.0003426/0.1927, allocations: 111.9 kB / 0.5269 GB, free: 12.02 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.1927, allocations: 0 / 0.5269 GB, free: 12.02 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0001325/0.1928, allocations: 48.23 kB / 0.5269 GB, free: 11.98 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005988/0.1934, allocations: 81.3 kB / 0.527 GB, free: 11.89 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001015/0.1944, allocations: 0.5221 MB / 0.5275 GB, free: 11.33 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004583/0.1949, allocations: 0.7749 MB / 0.5282 GB, free: 10.53 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 8.999e-05/0.195, allocations: 33.92 kB / 0.5283 GB, free: 10.5 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 5.865e-05/0.195, allocations: 19.44 kB / 0.5283 GB, free: 10.48 MB / 414.1 MB
Notification: Performance of SimCode: time 3.11e-07/0.195, allocations: 4 kB / 0.5283 GB, free: 10.48 MB / 414.1 MB
Notification: Performance of Templates: time 0.007576/0.2026, allocations: 2.849 MB / 0.5311 GB, free: 7.641 MB / 414.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.makefile [Timeout 660]
(rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.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.877618933096528]