Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test84.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001876/0.001876, allocations: 110.5 kB / 21.23 MB, free: 0.6641 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001961/0.001961, allocations: 213.2 kB / 24.54 MB, free: 4.02 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.525/1.525, allocations: 230.3 MB / 258 MB, free: 8.199 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2662/0.2662, allocations: 46.94 MB / 361.4 MB, free: 4.371 MB / 286.1 MB
"
[Timeout remaining time 179]
Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo)
Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo)
Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo)
Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo)
Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test84")
translateModel(ModelicaTest.Tables.CombiTimeTable.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test84") [Timeout 660]
"Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Notification: Performance of FrontEnd - loaded program: time 0.002352/0.002352, allocations: 83.84 kB / 0.4972 GB, free: 7.41 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4436/0.446, allocations: 66.03 MB / 0.5617 GB, free: 4.496 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.004766/0.4507, allocations: 1.748 MB / 0.5634 GB, free: 2.738 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.00372/0.4544, allocations: 1.742 MB / 0.5651 GB, free: 0.9883 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001353/0.4546, allocations: 4 kB / 0.5651 GB, free: 0.9844 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0005204/0.4551, allocations: 35.73 kB / 0.5652 GB, free: 0.9492 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0005514/0.4556, allocations: 99.53 kB / 0.5653 GB, free: 0.8516 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0003024/0.4559, allocations: 83.66 kB / 0.5653 GB, free: 0.7695 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0002908/0.4562, allocations: 107.7 kB / 0.5654 GB, free: 0.6641 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001524/0.4564, allocations: 11.98 kB / 0.5654 GB, free: 0.6523 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001495/0.4565, allocations: 51.72 kB / 0.5655 GB, free: 0.6016 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.000211/0.4568, allocations: 39.83 kB / 0.5655 GB, free: 0.5625 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 2.969e-05/0.4568, allocations: 8 kB / 0.5655 GB, free: 0.5547 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0002645/0.457, allocations: 111.9 kB / 0.5657 GB, free: 456 kB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 7.788e-05/0.4571, allocations: 23.86 kB / 0.5657 GB, free: 432 kB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 7.586e-05/0.4572, allocations: 35.8 kB / 0.5657 GB, free: 396 kB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0003986/0.4576, allocations: 169.8 kB / 0.5659 GB, free: 232 kB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.4576, allocations: 4 kB / 0.5659 GB, free: 228 kB / 398.1 MB
Notification: Performance of FrontEnd: time 2.535e-06/0.4576, allocations: 0 / 0.5659 GB, free: 228 kB / 398.1 MB
Notification: Performance of Transformations before backend: time 7.665e-06/0.4576, allocations: 0 / 0.5659 GB, free: 228 kB / 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.0008032/0.4584, allocations: 349.5 kB / 0.5662 GB, free: 15.85 MB / 414.1 MB
Notification: Performance of prepare preOptimizeDAE: time 5.921e-05/0.4585, allocations: 8.031 kB / 0.5662 GB, free: 15.84 MB / 414.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 7.709e-05/0.4586, allocations: 20.78 kB / 0.5662 GB, free: 15.82 MB / 414.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004489/0.459, allocations: 154.3 kB / 0.5664 GB, free: 15.65 MB / 414.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.862e-05/0.459, allocations: 384 / 0.5664 GB, free: 15.65 MB / 414.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.583e-05/0.4591, allocations: 8.125 kB / 0.5664 GB, free: 15.64 MB / 414.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002692/0.4593, allocations: 75.33 kB / 0.5665 GB, free: 15.56 MB / 414.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.904e-05/0.4593, allocations: 0 / 0.5665 GB, free: 15.56 MB / 414.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.43e-05/0.4594, allocations: 0 / 0.5665 GB, free: 15.56 MB / 414.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.4594, allocations: 0 / 0.5665 GB, free: 15.56 MB / 414.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 9.983e-05/0.4595, allocations: 27.92 kB / 0.5665 GB, free: 15.53 MB / 414.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005227/0.46, allocations: 256 kB / 0.5667 GB, free: 15.24 MB / 414.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002346/0.4602, allocations: 54.69 kB / 0.5668 GB, free: 15.18 MB / 414.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 7.438e-05/0.4603, allocations: 20.84 kB / 0.5668 GB, free: 15.15 MB / 414.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.704e-05/0.4603, allocations: 0 / 0.5668 GB, free: 15.15 MB / 414.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002175/0.4605, allocations: 79.31 kB / 0.5669 GB, free: 15.06 MB / 414.1 MB
Notification: Performance of pre-optimization done (n=6): time 1.693e-06/0.4605, allocations: 0 / 0.5669 GB, free: 15.06 MB / 414.1 MB
Notification: Performance of matching and sorting (n=8): time 0.0007358/0.4613, allocations: 173.3 kB / 0.567 GB, free: 14.89 MB / 414.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 8.708e-05/0.4614, allocations: 77.11 kB / 0.5671 GB, free: 14.79 MB / 414.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002373/0.4616, allocations: 166.5 kB / 0.5673 GB, free: 14.62 MB / 414.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.342e-05/0.4616, allocations: 25.7 kB / 0.5673 GB, free: 14.59 MB / 414.1 MB
Notification: Performance of collectInitialEqns (initialization): time 8.001e-05/0.4617, allocations: 104.1 kB / 0.5674 GB, free: 14.48 MB / 414.1 MB
Notification: Performance of collectInitialBindings (initialization): time 4.256e-05/0.4617, allocations: 27.75 kB / 0.5674 GB, free: 14.45 MB / 414.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.475e-05/0.4618, allocations: 25.7 kB / 0.5675 GB, free: 14.42 MB / 414.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001706/0.462, allocations: 318.8 kB / 0.5678 GB, free: 14.1 MB / 414.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 7.539e-05/0.462, allocations: 23.98 kB / 0.5678 GB, free: 14.08 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 9.903e-05/0.4621, allocations: 46.5 kB / 0.5678 GB, free: 14.02 MB / 414.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001619/0.4623, allocations: 61.67 kB / 0.5679 GB, free: 13.96 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.4623, allocations: 0 / 0.5679 GB, free: 13.96 MB / 414.1 MB
Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002622/0.4626, allocations: 105.7 kB / 0.568 GB, free: 13.85 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/0.4626, allocations: 6.188 kB / 0.568 GB, free: 13.84 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.4626, allocations: 3.938 kB / 0.568 GB, free: 13.84 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 2.106e-05/0.4626, allocations: 3.984 kB / 0.568 GB, free: 13.84 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000113/0.4627, allocations: 16 kB / 0.568 GB, free: 13.82 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.4627, allocations: 0 / 0.568 GB, free: 13.82 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.587e-05/0.4628, allocations: 7.938 kB / 0.568 GB, free: 13.81 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.043e-05/0.4628, allocations: 8.031 kB / 0.568 GB, free: 13.8 MB / 414.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.0001461/0.463, allocations: 121.8 kB / 0.5681 GB, free: 13.68 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.438e-05/0.463, allocations: 11.94 kB / 0.5682 GB, free: 13.66 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003115/0.4633, allocations: 114.3 kB / 0.5683 GB, free: 13.54 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.4633, allocations: 0 / 0.5683 GB, free: 13.54 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 8.335e-06/0.4633, allocations: 4 kB / 0.5683 GB, free: 13.54 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.875e-06/0.4633, allocations: 7.875 kB / 0.5683 GB, free: 13.53 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006235/0.464, allocations: 370.3 kB / 0.5686 GB, free: 13.12 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.464, allocations: 0 / 0.5686 GB, free: 13.12 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.296e-05/0.464, allocations: 8 kB / 0.5686 GB, free: 13.11 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.464, allocations: 0 / 0.5686 GB, free: 13.11 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.984e-05/0.464, allocations: 8.312 kB / 0.5686 GB, free: 13.1 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.549e-06/0.464, allocations: 3.984 kB / 0.5686 GB, free: 13.1 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.464, allocations: 4 kB / 0.5687 GB, free: 13.09 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003445/0.4644, allocations: 204.3 kB / 0.5688 GB, free: 12.88 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 2.713e-05/0.4644, allocations: 7.953 kB / 0.5689 GB, free: 12.87 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.856e-05/0.4644, allocations: 7.938 kB / 0.5689 GB, free: 12.86 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.4645, allocations: 4 kB / 0.5689 GB, free: 12.86 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.151e-05/0.4646, allocations: 7.984 kB / 0.5689 GB, free: 12.85 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.449e-05/0.4646, allocations: 4 kB / 0.5689 GB, free: 12.84 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 0.0001603/0.4648, allocations: 127.9 kB / 0.569 GB, free: 12.72 MB / 414.1 MB
Notification: Performance of sort global known variables: time 1.3e-07/0.4648, allocations: 0 / 0.569 GB, free: 12.72 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.0004485/0.4652, allocations: 51.86 kB / 0.569 GB, free: 12.67 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.002492/0.4677, allocations: 0.538 MB / 0.5696 GB, free: 12.31 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.0002735/0.468, allocations: 59.91 kB / 0.5696 GB, free: 12.25 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 1.137e-05/0.468, allocations: 8.062 kB / 0.5696 GB, free: 12.24 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0001056/0.4681, allocations: 27.92 kB / 0.5697 GB, free: 12.21 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004781/0.4686, allocations: 26.94 kB / 0.5697 GB, free: 12.19 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006344/0.4692, allocations: 206.7 kB / 0.5699 GB, free: 11.96 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004147/0.4696, allocations: 0.6963 MB / 0.5706 GB, free: 11.24 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 9.065e-05/0.4697, allocations: 29.33 kB / 0.5706 GB, free: 11.21 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 6.824e-05/0.4698, allocations: 23.44 kB / 0.5706 GB, free: 11.18 MB / 414.1 MB
Notification: Performance of SimCode: time 3.41e-07/0.4698, allocations: 0 / 0.5706 GB, free: 11.18 MB / 414.1 MB
Notification: Performance of Templates: time 0.008392/0.4782, allocations: 2.384 MB / 0.5729 GB, free: 8.816 MB / 414.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test84.makefile [Timeout 660]
(rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test84.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test84  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test84.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.6409778874367476]