Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test19.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.001357/0.001357, allocations: 105.1 kB / 21.23 MB, free: 0.6562 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.002129/0.002129, allocations: 213.9 kB / 24.54 MB, free: 4.016 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.597/1.597, allocations: 230.3 MB / 258 MB, free: 8.227 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.2467/0.2467, allocations: 46.95 MB / 361.4 MB, free: 4.391 MB / 286.1 MB
"
[Timeout remaining time 180]
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.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test19")
translateModel(ModelicaTest.Tables.CombiTimeTable.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test19") [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.003283/0.003283, allocations: 83.86 kB / 0.4972 GB, free: 7.445 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4287/0.432, allocations: 66.03 MB / 0.5617 GB, free: 4.512 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.003564/0.4355, allocations: 1.752 MB / 0.5634 GB, free: 2.75 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001867/0.4374, allocations: 1.056 MB / 0.5645 GB, free: 1.688 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 8.776e-05/0.4375, allocations: 0 / 0.5645 GB, free: 1.688 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0003044/0.4378, allocations: 43.77 kB / 0.5645 GB, free: 1.645 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0003206/0.4381, allocations: 99.53 kB / 0.5646 GB, free: 1.547 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0002085/0.4383, allocations: 75.72 kB / 0.5647 GB, free: 1.473 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0002078/0.4385, allocations: 103.6 kB / 0.5648 GB, free: 1.371 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001029/0.4386, allocations: 15.92 kB / 0.5648 GB, free: 1.355 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001038/0.4387, allocations: 51.78 kB / 0.5648 GB, free: 1.305 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 8.265e-05/0.4388, allocations: 27.86 kB / 0.5649 GB, free: 1.277 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 1.964e-05/0.4389, allocations: 4 kB / 0.5649 GB, free: 1.273 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001066/0.439, allocations: 43.97 kB / 0.5649 GB, free: 1.23 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 6.505e-05/0.439, allocations: 23.86 kB / 0.5649 GB, free: 1.207 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 7.27e-05/0.4391, allocations: 35.73 kB / 0.565 GB, free: 1.172 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.000267/0.4394, allocations: 126 kB / 0.5651 GB, free: 1.055 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.4394, allocations: 0 / 0.5651 GB, free: 1.055 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.413e-06/0.4394, allocations: 0 / 0.5651 GB, free: 1.055 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 6.052e-06/0.4394, allocations: 0 / 0.5651 GB, free: 1.055 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.0006413/0.44, allocations: 349.6 kB / 0.5654 GB, free: 0.6836 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.4401, allocations: 8.031 kB / 0.5654 GB, free: 0.6758 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 5.413e-05/0.4401, allocations: 8.891 kB / 0.5654 GB, free: 0.668 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003424/0.4405, allocations: 158.9 kB / 0.5656 GB, free: 500 kB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.4405, allocations: 4.375 kB / 0.5656 GB, free: 496 kB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.191e-05/0.4405, allocations: 384 / 0.5656 GB, free: 496 kB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001716/0.4407, allocations: 57.98 kB / 0.5656 GB, free: 432 kB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.4407, allocations: 4 kB / 0.5656 GB, free: 428 kB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/0.4407, allocations: 7.984 kB / 0.5657 GB, free: 420 kB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.4407, allocations: 0 / 0.5657 GB, free: 420 kB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 8.366e-05/0.4408, allocations: 23.98 kB / 0.5657 GB, free: 396 kB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004056/0.4412, allocations: 255.9 kB / 0.5659 GB, free: 96 kB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001747/0.4414, allocations: 54.61 kB / 0.566 GB, free: 32 kB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 5.595e-05/0.4414, allocations: 24.84 kB / 0.566 GB, free: 4 kB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.073e-05/0.4414, allocations: 4 kB / 0.566 GB, free: 0 / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001564/0.4416, allocations: 67.52 kB / 0.5661 GB, free: 15.92 MB / 414.1 MB
Notification: Performance of pre-optimization done (n=6): time 1.643e-06/0.4416, allocations: 3.938 kB / 0.5661 GB, free: 15.91 MB / 414.1 MB
Notification: Performance of matching and sorting (n=8): time 0.0006319/0.4422, allocations: 181.3 kB / 0.5662 GB, free: 15.73 MB / 414.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.988e-05/0.4423, allocations: 55.41 kB / 0.5663 GB, free: 15.66 MB / 414.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000217/0.4425, allocations: 194.3 kB / 0.5665 GB, free: 15.46 MB / 414.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.184e-05/0.4425, allocations: 33.7 kB / 0.5665 GB, free: 15.43 MB / 414.1 MB
Notification: Performance of collectInitialEqns (initialization): time 7.221e-05/0.4426, allocations: 104.1 kB / 0.5666 GB, free: 15.32 MB / 414.1 MB
Notification: Performance of collectInitialBindings (initialization): time 3.622e-05/0.4426, allocations: 27.73 kB / 0.5666 GB, free: 15.29 MB / 414.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.098e-05/0.4427, allocations: 21.7 kB / 0.5667 GB, free: 15.27 MB / 414.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001565/0.4428, allocations: 330.8 kB / 0.567 GB, free: 14.93 MB / 414.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 5.78e-05/0.4429, allocations: 16 kB / 0.567 GB, free: 14.92 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 7.44e-05/0.443, allocations: 41.64 kB / 0.567 GB, free: 14.87 MB / 414.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001506/0.4431, allocations: 61.7 kB / 0.5671 GB, free: 14.8 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.4431, allocations: 0 / 0.5671 GB, free: 14.8 MB / 414.1 MB
Notification: Performance of matching and sorting (n=10) (initialization): time 0.000198/0.4433, allocations: 105.5 kB / 0.5672 GB, free: 14.7 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.4433, allocations: 4 kB / 0.5672 GB, free: 14.69 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.4433, allocations: 0 / 0.5672 GB, free: 14.69 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.4433, allocations: 0 / 0.5672 GB, free: 14.69 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.563e-05/0.4434, allocations: 16 kB / 0.5672 GB, free: 14.68 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.4434, allocations: 7.969 kB / 0.5672 GB, free: 14.67 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.814e-05/0.4435, allocations: 7.984 kB / 0.5672 GB, free: 14.66 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.768e-06/0.4435, allocations: 4 kB / 0.5672 GB, free: 14.66 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.000119/0.4436, allocations: 125.6 kB / 0.5673 GB, free: 14.53 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.125e-05/0.4437, allocations: 19.91 kB / 0.5674 GB, free: 14.51 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002738/0.4439, allocations: 115.2 kB / 0.5675 GB, free: 14.38 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.4439, allocations: 0 / 0.5675 GB, free: 14.38 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.4439, allocations: 0 / 0.5675 GB, free: 14.38 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.4439, allocations: 7.938 kB / 0.5675 GB, free: 14.37 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004712/0.4444, allocations: 366.4 kB / 0.5678 GB, free: 13.96 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.4444, allocations: 4 kB / 0.5678 GB, free: 13.96 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.384e-05/0.4444, allocations: 7.938 kB / 0.5678 GB, free: 13.95 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 4.399e-06/0.4445, allocations: 4 kB / 0.5678 GB, free: 13.95 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/0.4445, allocations: 4 kB / 0.5678 GB, free: 13.94 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.4445, allocations: 3.938 kB / 0.5679 GB, free: 13.94 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.4445, allocations: 4 kB / 0.5679 GB, free: 13.93 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000257/0.4447, allocations: 208.2 kB / 0.5681 GB, free: 13.71 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 1.866e-05/0.4447, allocations: 7.953 kB / 0.5681 GB, free: 13.7 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.518e-05/0.4448, allocations: 4.375 kB / 0.5681 GB, free: 13.7 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.989e-05/0.4449, allocations: 7.938 kB / 0.5681 GB, free: 13.69 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.568e-05/0.4449, allocations: 7.922 kB / 0.5681 GB, free: 13.68 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.681e-05/0.4449, allocations: 8 kB / 0.5681 GB, free: 13.68 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 0.0001474/0.4451, allocations: 156.2 kB / 0.5682 GB, free: 13.52 MB / 414.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.4451, allocations: 0 / 0.5682 GB, free: 13.52 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.0002641/0.4453, allocations: 23.94 kB / 0.5683 GB, free: 13.5 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.001859/0.4472, allocations: 455.5 kB / 0.5687 GB, free: 13.21 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.0001873/0.4474, allocations: 51.92 kB / 0.5687 GB, free: 13.16 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.4474, allocations: 0 / 0.5687 GB, free: 13.16 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 7.67e-05/0.4474, allocations: 23.98 kB / 0.5688 GB, free: 13.13 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003564/0.4478, allocations: 27.55 kB / 0.5688 GB, free: 13.11 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004859/0.4483, allocations: 242.5 kB / 0.569 GB, free: 12.84 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003323/0.4486, allocations: 0.7081 MB / 0.5697 GB, free: 12.11 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 5.566e-05/0.4487, allocations: 17.27 kB / 0.5697 GB, free: 12.09 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.036e-05/0.4487, allocations: 19.44 kB / 0.5698 GB, free: 12.07 MB / 414.1 MB
Notification: Performance of SimCode: time 3.21e-07/0.4487, allocations: 0 / 0.5698 GB, free: 12.07 MB / 414.1 MB
Notification: Performance of Templates: time 0.005268/0.454, allocations: 1.778 MB / 0.5715 GB, free: 10.31 MB / 414.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test19.makefile [Timeout 660]
(rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test19.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test19  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test19/Test19.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test19.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.452696367166936]