Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test31.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.001507/0.001507, 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.002054/0.002054, allocations: 213.2 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.512/1.512, 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.2464/0.2464, allocations: 46.94 MB / 361.4 MB, free: 4.492 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.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test31")
translateModel(ModelicaTest.Tables.CombiTimeTable.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test31") [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.002492/0.002492, allocations: 83.86 kB / 0.4972 GB, free: 7.461 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.41/0.4125, allocations: 66.04 MB / 0.5617 GB, free: 4.512 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test31): time 0.003709/0.4162, allocations: 1.745 MB / 0.5634 GB, free: 2.754 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001964/0.4182, allocations: 1.041 MB / 0.5644 GB, free: 1.707 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 9.421e-05/0.4183, allocations: 7.938 kB / 0.5644 GB, free: 1.699 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0003459/0.4186, allocations: 43.75 kB / 0.5645 GB, free: 1.656 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0003511/0.419, allocations: 95.59 kB / 0.5646 GB, free: 1.562 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0002425/0.4192, allocations: 79.62 kB / 0.5647 GB, free: 1.484 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.000219/0.4194, allocations: 107.7 kB / 0.5648 GB, free: 1.379 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001162/0.4196, allocations: 8 kB / 0.5648 GB, free: 1.371 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001149/0.4197, allocations: 47.72 kB / 0.5648 GB, free: 1.324 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001062/0.4198, allocations: 35.78 kB / 0.5648 GB, free: 1.289 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 2.057e-05/0.4198, allocations: 4 kB / 0.5649 GB, free: 1.285 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001112/0.4199, allocations: 39.98 kB / 0.5649 GB, free: 1.246 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 7.207e-05/0.42, allocations: 23.92 kB / 0.5649 GB, free: 1.223 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 6.593e-05/0.42, allocations: 35.73 kB / 0.5649 GB, free: 1.188 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0002544/0.4203, allocations: 118 kB / 0.5651 GB, free: 1.078 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.4203, allocations: 7.938 kB / 0.5651 GB, free: 1.07 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.633e-06/0.4203, allocations: 0 / 0.5651 GB, free: 1.07 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 1.092e-05/0.4203, 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.0006862/0.421, allocations: 349.5 kB / 0.5654 GB, free: 0.6953 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.421, allocations: 12.03 kB / 0.5654 GB, free: 0.6836 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.99e-05/0.4211, allocations: 12.83 kB / 0.5654 GB, free: 0.6719 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003388/0.4214, allocations: 155 kB / 0.5656 GB, free: 0.4961 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.352e-05/0.4215, allocations: 384 / 0.5656 GB, free: 0.4961 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.703e-05/0.4215, allocations: 4.375 kB / 0.5656 GB, free: 0.4922 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001772/0.4217, allocations: 61.98 kB / 0.5656 GB, free: 436 kB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.4217, allocations: 3.938 kB / 0.5656 GB, free: 432 kB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.4217, allocations: 0 / 0.5656 GB, free: 432 kB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.167e-06/0.4217, allocations: 0 / 0.5656 GB, free: 432 kB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 8.763e-05/0.4218, allocations: 23.98 kB / 0.5657 GB, free: 408 kB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004599/0.4222, allocations: 255.9 kB / 0.5659 GB, free: 108 kB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001931/0.4224, allocations: 58.67 kB / 0.566 GB, free: 40 kB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 5.963e-05/0.4225, allocations: 24.78 kB / 0.566 GB, free: 12 kB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.512e-05/0.4225, allocations: 3.984 kB / 0.566 GB, free: 8 kB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001888/0.4227, allocations: 67.39 kB / 0.5661 GB, free: 15.93 MB / 414.1 MB
Notification: Performance of pre-optimization done (n=6): time 1.232e-06/0.4227, allocations: 0 / 0.5661 GB, free: 15.93 MB / 414.1 MB
Notification: Performance of matching and sorting (n=8): time 0.0006034/0.4233, allocations: 185.3 kB / 0.5662 GB, free: 15.74 MB / 414.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.532e-05/0.4234, allocations: 51.41 kB / 0.5663 GB, free: 15.68 MB / 414.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002421/0.4236, allocations: 194.3 kB / 0.5665 GB, free: 15.48 MB / 414.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.479e-05/0.4236, allocations: 29.7 kB / 0.5665 GB, free: 15.45 MB / 414.1 MB
Notification: Performance of collectInitialEqns (initialization): time 9.809e-05/0.4237, allocations: 104.1 kB / 0.5666 GB, free: 15.34 MB / 414.1 MB
Notification: Performance of collectInitialBindings (initialization): time 3.56e-05/0.4238, allocations: 27.78 kB / 0.5666 GB, free: 15.31 MB / 414.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.319e-05/0.4238, allocations: 21.72 kB / 0.5666 GB, free: 15.29 MB / 414.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001783/0.424, allocations: 334.8 kB / 0.567 GB, free: 14.95 MB / 414.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 5.432e-05/0.424, allocations: 16 kB / 0.567 GB, free: 14.93 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 6.854e-05/0.4241, allocations: 37.7 kB / 0.567 GB, free: 14.89 MB / 414.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001254/0.4242, allocations: 65.7 kB / 0.5671 GB, free: 14.82 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.4242, allocations: 0 / 0.5671 GB, free: 14.82 MB / 414.1 MB
Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002052/0.4244, allocations: 105.5 kB / 0.5672 GB, free: 14.71 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.4245, allocations: 4 kB / 0.5672 GB, free: 14.71 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.4245, allocations: 4.031 kB / 0.5672 GB, free: 14.7 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.4245, allocations: 4 kB / 0.5672 GB, free: 14.7 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.259e-05/0.4246, allocations: 15.98 kB / 0.5672 GB, free: 14.68 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.489e-06/0.4246, allocations: 0 / 0.5672 GB, free: 14.68 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.795e-05/0.4246, allocations: 8 kB / 0.5672 GB, free: 14.68 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-06/0.4246, allocations: 0 / 0.5672 GB, free: 14.68 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.0001224/0.4248, allocations: 133.8 kB / 0.5673 GB, free: 14.54 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.776e-05/0.4248, allocations: 12.09 kB / 0.5674 GB, free: 14.52 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002814/0.4251, allocations: 115 kB / 0.5675 GB, free: 14.39 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.4251, allocations: 7.938 kB / 0.5675 GB, free: 14.39 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.4251, allocations: 0 / 0.5675 GB, free: 14.39 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.4251, allocations: 0 / 0.5675 GB, free: 14.39 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004709/0.4255, allocations: 366.3 kB / 0.5678 GB, free: 13.98 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.4255, allocations: 3.984 kB / 0.5678 GB, free: 13.97 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.581e-05/0.4256, allocations: 8 kB / 0.5678 GB, free: 13.96 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.4256, allocations: 0 / 0.5678 GB, free: 13.96 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/0.4256, allocations: 4 kB / 0.5678 GB, free: 13.96 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.536e-06/0.4256, allocations: 11.97 kB / 0.5678 GB, free: 13.95 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.4256, allocations: 0 / 0.5678 GB, free: 13.95 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002454/0.4258, allocations: 200.2 kB / 0.568 GB, free: 13.73 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 1.857e-05/0.4259, allocations: 7.953 kB / 0.568 GB, free: 13.73 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.796e-05/0.4259, allocations: 7.984 kB / 0.568 GB, free: 13.72 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.164e-05/0.426, allocations: 8.312 kB / 0.5681 GB, free: 13.71 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.701e-05/0.426, allocations: 15.92 kB / 0.5681 GB, free: 13.7 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.242e-05/0.426, allocations: 7.984 kB / 0.5681 GB, free: 13.69 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 0.0001408/0.4262, allocations: 156.2 kB / 0.5682 GB, free: 13.54 MB / 414.1 MB
Notification: Performance of sort global known variables: time 8.1e-08/0.4262, allocations: 0 / 0.5682 GB, free: 13.54 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.000264/0.4264, allocations: 23.94 kB / 0.5683 GB, free: 13.51 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.001739/0.4282, allocations: 458.6 kB / 0.5687 GB, free: 13.22 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.0002208/0.4284, allocations: 59.89 kB / 0.5687 GB, free: 13.16 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.4284, allocations: 0 / 0.5687 GB, free: 13.16 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 7.654e-05/0.4285, allocations: 27.92 kB / 0.5688 GB, free: 13.14 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003809/0.4288, allocations: 31.48 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.0005595/0.4294, allocations: 238.8 kB / 0.569 GB, free: 12.85 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003982/0.4298, allocations: 0.7041 MB / 0.5697 GB, free: 12.12 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 5.698e-05/0.4299, allocations: 17.28 kB / 0.5697 GB, free: 12.1 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.656e-05/0.4299, allocations: 15.44 kB / 0.5697 GB, free: 12.09 MB / 414.1 MB
Notification: Performance of SimCode: time 3.21e-07/0.4299, allocations: 7.938 kB / 0.5698 GB, free: 12.08 MB / 414.1 MB
Notification: Performance of Templates: time 0.005551/0.4355, allocations: 1.767 MB / 0.5715 GB, free: 10.32 MB / 414.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test31.makefile [Timeout 660]
(rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test31.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test31  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test31.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.533883442170918]