Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test18.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.001334/0.001334, allocations: 106.5 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.001929/0.001929, 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.598/1.598, allocations: 230.3 MB / 258 MB, free: 8.23 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.2482/0.2482, allocations: 46.94 MB / 361.4 MB, free: 4.398 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.Test18,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.Test18")
translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,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.Test18") [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.002431/0.002431, allocations: 91.83 kB / 0.4972 GB, free: 7.438 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4085/0.4109, allocations: 66.04 MB / 0.5617 GB, free: 4.5 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.004014/0.4149, allocations: 1.741 MB / 0.5634 GB, free: 2.746 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002137/0.4171, allocations: 1.049 MB / 0.5644 GB, free: 1.691 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 9.622e-05/0.4172, allocations: 0 / 0.5644 GB, free: 1.691 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0003965/0.4176, allocations: 43.77 kB / 0.5645 GB, free: 1.648 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0003918/0.4179, allocations: 99.53 kB / 0.5646 GB, free: 1.551 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0002285/0.4182, allocations: 75.67 kB / 0.5647 GB, free: 1.477 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0002144/0.4184, allocations: 111.7 kB / 0.5648 GB, free: 1.367 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001165/0.4185, allocations: 8 kB / 0.5648 GB, free: 1.359 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.000115/0.4186, allocations: 47.78 kB / 0.5648 GB, free: 1.312 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 8.48e-05/0.4187, allocations: 31.78 kB / 0.5648 GB, free: 1.281 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 2.13e-05/0.4187, allocations: 4 kB / 0.5648 GB, free: 1.277 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001077/0.4188, allocations: 39.98 kB / 0.5649 GB, free: 1.238 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 7.1e-05/0.4189, allocations: 27.86 kB / 0.5649 GB, free: 1.211 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 7.643e-05/0.419, allocations: 31.75 kB / 0.5649 GB, free: 1.18 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0002784/0.4193, allocations: 118 kB / 0.5651 GB, free: 1.07 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.4193, allocations: 0 / 0.5651 GB, free: 1.07 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.773e-06/0.4193, allocations: 0 / 0.5651 GB, free: 1.07 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 7.113e-06/0.4193, allocations: 4 kB / 0.5651 GB, free: 1.066 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.0007492/0.42, allocations: 345.6 kB / 0.5654 GB, free: 0.6992 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 5.122e-05/0.4201, allocations: 8.031 kB / 0.5654 GB, free: 0.6914 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 6.104e-05/0.4201, allocations: 12.84 kB / 0.5654 GB, free: 0.6797 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004438/0.4206, allocations: 155.1 kB / 0.5656 GB, free: 0.5039 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.972e-05/0.4206, allocations: 4.375 kB / 0.5656 GB, free: 0.5 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.98e-05/0.4206, allocations: 4.359 kB / 0.5656 GB, free: 0.4961 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001815/0.4208, allocations: 61.98 kB / 0.5656 GB, free: 440 kB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.4208, allocations: 0 / 0.5656 GB, free: 440 kB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/0.4208, allocations: 4 kB / 0.5656 GB, free: 436 kB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-06/0.4208, allocations: 4 kB / 0.5656 GB, free: 432 kB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 8.13e-05/0.4209, allocations: 19.97 kB / 0.5656 GB, free: 412 kB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004678/0.4214, allocations: 256 kB / 0.5659 GB, free: 112 kB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.000193/0.4216, allocations: 58.62 kB / 0.5659 GB, free: 44 kB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 5.874e-05/0.4216, allocations: 20.84 kB / 0.566 GB, free: 20 kB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.365e-05/0.4217, allocations: 0 / 0.566 GB, free: 20 kB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000235/0.4219, allocations: 71.38 kB / 0.566 GB, free: 15.94 MB / 414.1 MB
Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.4219, allocations: 0 / 0.566 GB, free: 15.94 MB / 414.1 MB
Notification: Performance of matching and sorting (n=8): time 0.0006083/0.4225, allocations: 177.3 kB / 0.5662 GB, free: 15.76 MB / 414.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.161e-05/0.4226, allocations: 59.34 kB / 0.5663 GB, free: 15.69 MB / 414.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002027/0.4228, allocations: 183.3 kB / 0.5664 GB, free: 15.5 MB / 414.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.014e-05/0.4228, allocations: 25.7 kB / 0.5665 GB, free: 15.46 MB / 414.1 MB
Notification: Performance of collectInitialEqns (initialization): time 8.154e-05/0.4229, allocations: 104.1 kB / 0.5666 GB, free: 15.36 MB / 414.1 MB
Notification: Performance of collectInitialBindings (initialization): time 3.775e-05/0.4229, allocations: 27.78 kB / 0.5666 GB, free: 15.33 MB / 414.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.24e-05/0.4229, allocations: 21.72 kB / 0.5666 GB, free: 15.3 MB / 414.1 MB
Notification: Performance of setup shared object (initialization): time 0.000158/0.4231, allocations: 326.8 kB / 0.5669 GB, free: 14.98 MB / 414.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 5.887e-05/0.4232, allocations: 19.98 kB / 0.5669 GB, free: 14.96 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 8.302e-05/0.4232, allocations: 41.7 kB / 0.567 GB, free: 14.91 MB / 414.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001169/0.4234, allocations: 53.7 kB / 0.567 GB, free: 14.85 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.51e-07/0.4234, allocations: 0 / 0.567 GB, free: 14.85 MB / 414.1 MB
Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001982/0.4236, allocations: 113.6 kB / 0.5671 GB, free: 14.73 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.4236, allocations: 4 kB / 0.5671 GB, free: 14.73 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.4236, allocations: 0 / 0.5671 GB, free: 14.73 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/0.4236, allocations: 8.031 kB / 0.5672 GB, free: 14.72 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001214/0.4237, allocations: 15.98 kB / 0.5672 GB, free: 14.71 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.4237, allocations: 3.938 kB / 0.5672 GB, free: 14.7 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.598e-05/0.4238, allocations: 4 kB / 0.5672 GB, free: 14.7 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.869e-06/0.4238, allocations: 4 kB / 0.5672 GB, free: 14.7 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.0001144/0.4239, allocations: 129.7 kB / 0.5673 GB, free: 14.56 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.534e-05/0.4239, allocations: 11.95 kB / 0.5673 GB, free: 14.55 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00026/0.4242, allocations: 119 kB / 0.5674 GB, free: 14.41 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.4242, allocations: 4 kB / 0.5674 GB, free: 14.41 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.4242, allocations: 0 / 0.5674 GB, free: 14.41 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.4242, allocations: 3.938 kB / 0.5674 GB, free: 14.41 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004617/0.4247, allocations: 362.8 kB / 0.5678 GB, free: 14 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.4247, allocations: 0 / 0.5678 GB, free: 14 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.882e-05/0.4247, allocations: 15.94 kB / 0.5678 GB, free: 13.98 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.4247, allocations: 0 / 0.5678 GB, free: 13.98 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.444e-05/0.4247, allocations: 7.984 kB / 0.5678 GB, free: 13.98 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.496e-06/0.4247, allocations: 3.938 kB / 0.5678 GB, free: 13.97 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.4247, allocations: 4.031 kB / 0.5678 GB, free: 13.97 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002572/0.425, allocations: 196.3 kB / 0.568 GB, free: 13.76 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 2.216e-05/0.425, allocations: 11.91 kB / 0.568 GB, free: 13.75 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.56e-05/0.425, allocations: 0 / 0.568 GB, free: 13.75 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.329e-05/0.4251, allocations: 11.92 kB / 0.568 GB, free: 13.73 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.477e-05/0.4251, allocations: 12.12 kB / 0.568 GB, free: 13.72 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.835e-05/0.4252, allocations: 8 kB / 0.568 GB, free: 13.71 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 0.0001349/0.4253, allocations: 141.5 kB / 0.5682 GB, free: 13.58 MB / 414.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.4253, allocations: 0 / 0.5682 GB, free: 13.58 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.0002729/0.4256, allocations: 20 kB / 0.5682 GB, free: 13.56 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.00184/0.4274, allocations: 463.2 kB / 0.5686 GB, free: 13.27 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.0002288/0.4276, allocations: 63.89 kB / 0.5687 GB, free: 13.2 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.4276, allocations: 3.938 kB / 0.5687 GB, free: 13.2 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 7.848e-05/0.4277, allocations: 23.98 kB / 0.5687 GB, free: 13.18 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003963/0.4281, allocations: 27.55 kB / 0.5687 GB, free: 13.15 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005319/0.4286, allocations: 231.3 kB / 0.569 GB, free: 12.89 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003756/0.429, allocations: 0.7002 MB / 0.5697 GB, free: 12.17 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 5.388e-05/0.4291, allocations: 20.95 kB / 0.5697 GB, free: 12.15 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.285e-05/0.4291, allocations: 15.44 kB / 0.5697 GB, free: 12.14 MB / 414.1 MB
Notification: Performance of SimCode: time 3.41e-07/0.4291, allocations: 0 / 0.5697 GB, free: 12.14 MB / 414.1 MB
Notification: Performance of Templates: time 0.005367/0.4345, allocations: 1.77 MB / 0.5714 GB, free: 10.38 MB / 414.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test18.makefile [Timeout 660]
(rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test18.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test18  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test18/Test18.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test18.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.508567617274821]