Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test1.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.001406/0.001406, allocations: 109 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.001542/0.001542, allocations: 213.9 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.576/1.576, allocations: 230.3 MB / 258 MB, free: 8.207 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.2882/0.2882, allocations: 46.94 MB / 361.4 MB, free: 4.414 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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test1")
translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test1") [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.002402/0.002402, allocations: 79.88 kB / 0.4972 GB, free: 7.461 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4203/0.4227, allocations: 66.04 MB / 0.5617 GB, free: 4.508 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.003387/0.4261, allocations: 1.752 MB / 0.5634 GB, free: 2.75 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002064/0.4282, allocations: 1.057 MB / 0.5645 GB, free: 1.688 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 6.399e-05/0.4282, allocations: 3.938 kB / 0.5645 GB, free: 1.684 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0002286/0.4285, allocations: 47.75 kB / 0.5645 GB, free: 1.637 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0002879/0.4287, allocations: 107.5 kB / 0.5646 GB, free: 1.531 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0002034/0.429, allocations: 75.73 kB / 0.5647 GB, free: 1.457 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0001664/0.4291, allocations: 107.7 kB / 0.5648 GB, free: 1.352 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 6.96e-05/0.4292, allocations: 7.984 kB / 0.5648 GB, free: 1.344 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001051/0.4293, allocations: 43.73 kB / 0.5648 GB, free: 1.301 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 7.3e-05/0.4294, allocations: 39.83 kB / 0.5649 GB, free: 1.262 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 1.585e-05/0.4294, allocations: 4 kB / 0.5649 GB, free: 1.258 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 8.998e-05/0.4295, allocations: 39.98 kB / 0.5649 GB, free: 1.219 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 5.693e-05/0.4295, allocations: 27.8 kB / 0.5649 GB, free: 1.191 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 6.187e-05/0.4296, allocations: 51.67 kB / 0.565 GB, free: 1.141 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.00021/0.4298, allocations: 138 kB / 0.5651 GB, free: 1.012 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.4298, allocations: 0 / 0.5651 GB, free: 1.012 MB / 398.1 MB
Notification: Performance of FrontEnd: time 9.62e-07/0.4298, allocations: 0 / 0.5651 GB, free: 1.012 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 4.057e-06/0.4298, allocations: 0 / 0.5651 GB, free: 1.012 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.0005223/0.4303, allocations: 381.2 kB / 0.5655 GB, free: 0.6094 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.114e-05/0.4304, allocations: 8.031 kB / 0.5655 GB, free: 0.6016 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.063e-05/0.4304, allocations: 16.84 kB / 0.5655 GB, free: 0.5859 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002956/0.4307, allocations: 163.2 kB / 0.5657 GB, free: 408 kB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.498e-06/0.4307, allocations: 4.375 kB / 0.5657 GB, free: 404 kB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.683e-05/0.4307, allocations: 4.375 kB / 0.5657 GB, free: 400 kB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001356/0.4309, allocations: 53.98 kB / 0.5657 GB, free: 340 kB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.4309, allocations: 4 kB / 0.5657 GB, free: 336 kB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/0.4309, allocations: 7.984 kB / 0.5657 GB, free: 328 kB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.026e-06/0.4309, allocations: 0 / 0.5657 GB, free: 328 kB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 6.724e-05/0.431, allocations: 16 kB / 0.5658 GB, free: 312 kB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003819/0.4313, allocations: 275.8 kB / 0.566 GB, free: 15.99 MB / 414.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001941/0.4315, allocations: 58.61 kB / 0.5661 GB, free: 15.93 MB / 414.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 5.084e-05/0.4316, allocations: 16.86 kB / 0.5661 GB, free: 15.91 MB / 414.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 1.699e-05/0.4316, allocations: 0 / 0.5661 GB, free: 15.91 MB / 414.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001461/0.4317, allocations: 67.38 kB / 0.5662 GB, free: 15.83 MB / 414.1 MB
Notification: Performance of pre-optimization done (n=6): time 1.392e-06/0.4317, allocations: 4 kB / 0.5662 GB, free: 15.82 MB / 414.1 MB
Notification: Performance of matching and sorting (n=8): time 0.0004919/0.4322, allocations: 181.3 kB / 0.5663 GB, free: 15.64 MB / 414.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.474e-05/0.4323, allocations: 59.41 kB / 0.5664 GB, free: 15.57 MB / 414.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002911/0.4326, allocations: 274.8 kB / 0.5666 GB, free: 15.29 MB / 414.1 MB
Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.4326, allocations: 25.7 kB / 0.5667 GB, free: 15.26 MB / 414.1 MB
Notification: Performance of collectInitialEqns (initialization): time 9.884e-05/0.4327, allocations: 116.1 kB / 0.5668 GB, free: 15.14 MB / 414.1 MB
Notification: Performance of collectInitialBindings (initialization): time 3.324e-05/0.4327, allocations: 27.73 kB / 0.5668 GB, free: 15.11 MB / 414.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.63e-05/0.4328, allocations: 33.64 kB / 0.5668 GB, free: 15.07 MB / 414.1 MB
Notification: Performance of setup shared object (initialization): time 0.000165/0.4329, allocations: 330.8 kB / 0.5672 GB, free: 14.74 MB / 414.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 6.064e-05/0.433, allocations: 23.98 kB / 0.5672 GB, free: 14.72 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 7.279e-05/0.4331, allocations: 33.7 kB / 0.5672 GB, free: 14.68 MB / 414.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001163/0.4332, allocations: 49.72 kB / 0.5673 GB, free: 14.62 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.99e-06/0.4332, allocations: 4.375 kB / 0.5673 GB, free: 14.62 MB / 414.1 MB
Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002119/0.4334, allocations: 113.5 kB / 0.5674 GB, free: 14.5 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.4334, allocations: 11.94 kB / 0.5674 GB, free: 14.49 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.4334, allocations: 0 / 0.5674 GB, free: 14.49 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.4334, allocations: 4 kB / 0.5674 GB, free: 14.49 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.839e-05/0.4335, allocations: 15.98 kB / 0.5674 GB, free: 14.47 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.436e-06/0.4335, allocations: 7.938 kB / 0.5674 GB, free: 14.46 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.202e-05/0.4336, allocations: 0 / 0.5674 GB, free: 14.46 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/0.4336, allocations: 8 kB / 0.5674 GB, free: 14.46 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.0001309/0.4337, allocations: 137.8 kB / 0.5676 GB, free: 14.31 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.778e-05/0.4337, allocations: 19.91 kB / 0.5676 GB, free: 14.29 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002531/0.434, allocations: 115 kB / 0.5677 GB, free: 14.16 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.434, allocations: 0 / 0.5677 GB, free: 14.16 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.434, allocations: 0 / 0.5677 GB, free: 14.16 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.434, allocations: 3.938 kB / 0.5677 GB, free: 14.16 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005277/0.4345, allocations: 374.4 kB / 0.568 GB, free: 13.74 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/0.4345, allocations: 7.984 kB / 0.568 GB, free: 13.73 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.467e-05/0.4346, allocations: 15.95 kB / 0.5681 GB, free: 13.72 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.4346, allocations: 4 kB / 0.5681 GB, free: 13.71 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.274e-06/0.4346, allocations: 0 / 0.5681 GB, free: 13.71 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.898e-06/0.4346, allocations: 3.938 kB / 0.5681 GB, free: 13.71 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.4346, allocations: 4.312 kB / 0.5681 GB, free: 13.71 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002659/0.4348, allocations: 204.3 kB / 0.5683 GB, free: 13.49 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 2.329e-05/0.4349, allocations: 11.91 kB / 0.5683 GB, free: 13.48 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.554e-05/0.4349, allocations: 12 kB / 0.5683 GB, free: 13.46 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.399e-05/0.435, allocations: 7.922 kB / 0.5683 GB, free: 13.46 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 2.498e-05/0.435, allocations: 7.938 kB / 0.5683 GB, free: 13.45 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.419e-05/0.435, allocations: 7.984 kB / 0.5683 GB, free: 13.44 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 0.0002026/0.4352, allocations: 200.6 kB / 0.5685 GB, free: 13.25 MB / 414.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.4352, allocations: 0 / 0.5685 GB, free: 13.25 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.0002557/0.4355, allocations: 27.94 kB / 0.5685 GB, free: 13.22 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.001738/0.4372, allocations: 454.7 kB / 0.569 GB, free: 12.93 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.0001738/0.4374, allocations: 51.92 kB / 0.569 GB, free: 12.88 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.4374, allocations: 0 / 0.569 GB, free: 12.88 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 7.404e-05/0.4375, allocations: 32.09 kB / 0.569 GB, free: 12.84 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003245/0.4378, allocations: 37.98 kB / 0.5691 GB, free: 12.81 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005141/0.4383, allocations: 299.5 kB / 0.5694 GB, free: 12.49 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004255/0.4387, allocations: 0.7197 MB / 0.5701 GB, free: 11.75 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 5.392e-05/0.4388, allocations: 21.27 kB / 0.5701 GB, free: 11.73 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.185e-05/0.4388, allocations: 15.44 kB / 0.5701 GB, free: 11.71 MB / 414.1 MB
Notification: Performance of SimCode: time 3.41e-07/0.4388, allocations: 0 / 0.5701 GB, free: 11.71 MB / 414.1 MB
Notification: Performance of Templates: time 0.004983/0.4438, allocations: 1.803 MB / 0.5719 GB, free: 9.922 MB / 414.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test1.makefile [Timeout 660]
(rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test1.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test1  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test1.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.440840247087181]