Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test49.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.001331/0.001331, 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.001515/0.001515, allocations: 213.7 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.629/1.629, allocations: 230.3 MB / 258 MB, free: 8.246 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.253/0.253, allocations: 46.94 MB / 361.4 MB, free: 4.418 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.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test49")
translateModel(ModelicaTest.Tables.CombiTimeTable.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test49") [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.002395/0.002395, allocations: 75.88 kB / 0.4972 GB, free: 7.477 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3434/0.3458, allocations: 66.05 MB / 0.5617 GB, free: 4.527 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.003162/0.349, allocations: 1.748 MB / 0.5634 GB, free: 2.77 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.00178/0.3507, allocations: 1.053 MB / 0.5645 GB, free: 1.711 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 6.347e-05/0.3508, allocations: 3.938 kB / 0.5645 GB, free: 1.707 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0002977/0.3511, allocations: 55.69 kB / 0.5645 GB, free: 1.652 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.000303/0.3514, allocations: 99.59 kB / 0.5646 GB, free: 1.555 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0002067/0.3516, allocations: 79.67 kB / 0.5647 GB, free: 1.477 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0001865/0.3518, allocations: 115.6 kB / 0.5648 GB, free: 1.363 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 8.431e-05/0.3519, allocations: 8 kB / 0.5648 GB, free: 1.355 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001008/0.352, allocations: 47.78 kB / 0.5648 GB, free: 1.309 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 8.421e-05/0.3521, allocations: 31.84 kB / 0.5649 GB, free: 1.277 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 1.965e-05/0.3521, allocations: 4 kB / 0.5649 GB, free: 1.273 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 9.865e-05/0.3522, allocations: 39.98 kB / 0.5649 GB, free: 1.234 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 6.379e-05/0.3522, allocations: 31.86 kB / 0.565 GB, free: 1.203 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 6.507e-05/0.3523, allocations: 47.59 kB / 0.565 GB, free: 1.156 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0002469/0.3526, allocations: 138 kB / 0.5651 GB, free: 1.027 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.3526, allocations: 0 / 0.5651 GB, free: 1.027 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.252e-06/0.3526, allocations: 0 / 0.5651 GB, free: 1.027 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 1.127e-05/0.3526, allocations: 8 kB / 0.5651 GB, free: 1.02 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.0005943/0.3532, allocations: 377.2 kB / 0.5655 GB, free: 0.6211 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/0.3532, allocations: 8.031 kB / 0.5655 GB, free: 0.6133 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 5.254e-05/0.3532, allocations: 16.84 kB / 0.5655 GB, free: 0.5977 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002796/0.3535, allocations: 159.3 kB / 0.5657 GB, free: 424 kB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.53e-05/0.3535, allocations: 4.375 kB / 0.5657 GB, free: 420 kB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.318e-05/0.3536, allocations: 8.312 kB / 0.5657 GB, free: 412 kB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001594/0.3537, allocations: 57.98 kB / 0.5657 GB, free: 348 kB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.3537, allocations: 4 kB / 0.5657 GB, free: 344 kB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.839e-06/0.3537, allocations: 0 / 0.5657 GB, free: 344 kB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.888e-06/0.3538, allocations: 0 / 0.5657 GB, free: 344 kB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 8.169e-05/0.3538, allocations: 19.98 kB / 0.5658 GB, free: 324 kB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004019/0.3542, allocations: 275.8 kB / 0.566 GB, free: 4 kB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002037/0.3544, allocations: 50.7 kB / 0.5661 GB, free: 15.94 MB / 414.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 5.889e-05/0.3545, allocations: 24.84 kB / 0.5661 GB, free: 15.91 MB / 414.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 1.891e-05/0.3545, allocations: 0 / 0.5661 GB, free: 15.91 MB / 414.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001685/0.3547, allocations: 67.39 kB / 0.5662 GB, free: 15.84 MB / 414.1 MB
Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.3547, allocations: 0 / 0.5662 GB, free: 15.84 MB / 414.1 MB
Notification: Performance of matching and sorting (n=8): time 0.0005724/0.3553, allocations: 189.2 kB / 0.5663 GB, free: 15.65 MB / 414.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.97e-05/0.3553, allocations: 51.41 kB / 0.5664 GB, free: 15.59 MB / 414.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002978/0.3556, allocations: 274.8 kB / 0.5667 GB, free: 15.3 MB / 414.1 MB
Notification: Performance of collectPreVariables (initialization): time 1.964e-05/0.3556, allocations: 25.7 kB / 0.5667 GB, free: 15.27 MB / 414.1 MB
Notification: Performance of collectInitialEqns (initialization): time 8.58e-05/0.3557, allocations: 116.1 kB / 0.5668 GB, free: 15.16 MB / 414.1 MB
Notification: Performance of collectInitialBindings (initialization): time 3.391e-05/0.3557, allocations: 27.78 kB / 0.5668 GB, free: 15.13 MB / 414.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.519e-05/0.3558, allocations: 25.72 kB / 0.5668 GB, free: 15.1 MB / 414.1 MB
Notification: Performance of setup shared object (initialization): time 0.000156/0.3559, allocations: 326.8 kB / 0.5672 GB, free: 14.77 MB / 414.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 6.588e-05/0.356, allocations: 27.92 kB / 0.5672 GB, free: 14.74 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 8.343e-05/0.3561, allocations: 41.64 kB / 0.5672 GB, free: 14.7 MB / 414.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001274/0.3562, allocations: 61.7 kB / 0.5673 GB, free: 14.63 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.3562, allocations: 3.938 kB / 0.5673 GB, free: 14.62 MB / 414.1 MB
Notification: Performance of matching and sorting (n=10) (initialization): time 0.000207/0.3564, allocations: 109.5 kB / 0.5674 GB, free: 14.51 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.3564, allocations: 4 kB / 0.5674 GB, free: 14.51 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.3564, allocations: 0 / 0.5674 GB, free: 14.51 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.3565, allocations: 0 / 0.5674 GB, free: 14.51 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.721e-05/0.3565, allocations: 24.39 kB / 0.5674 GB, free: 14.48 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.3566, allocations: 0 / 0.5674 GB, free: 14.48 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.603e-05/0.3566, allocations: 0 / 0.5674 GB, free: 14.48 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.045e-05/0.3566, allocations: 12 kB / 0.5674 GB, free: 14.47 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.0001259/0.3567, allocations: 141.7 kB / 0.5676 GB, free: 14.32 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.049e-05/0.3568, allocations: 19.89 kB / 0.5676 GB, free: 14.3 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002675/0.357, allocations: 111.1 kB / 0.5677 GB, free: 14.18 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.357, allocations: 0 / 0.5677 GB, free: 14.18 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.357, allocations: 0 / 0.5677 GB, free: 14.18 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.357, allocations: 4 kB / 0.5677 GB, free: 14.18 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005147/0.3576, allocations: 386.5 kB / 0.5681 GB, free: 13.75 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.3576, allocations: 0 / 0.5681 GB, free: 13.75 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.719e-05/0.3576, allocations: 11.94 kB / 0.5681 GB, free: 13.73 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.3576, allocations: 0 / 0.5681 GB, free: 13.73 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.3576, allocations: 4 kB / 0.5681 GB, free: 13.73 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-06/0.3576, allocations: 7.938 kB / 0.5681 GB, free: 13.72 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.3576, allocations: 3.984 kB / 0.5681 GB, free: 13.72 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002646/0.3579, allocations: 200.3 kB / 0.5683 GB, free: 13.5 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 2.553e-05/0.3579, allocations: 15.89 kB / 0.5683 GB, free: 13.49 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.832e-05/0.3579, allocations: 8 kB / 0.5683 GB, free: 13.48 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.809e-05/0.358, allocations: 3.938 kB / 0.5683 GB, free: 13.48 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.52e-05/0.3581, allocations: 7.984 kB / 0.5683 GB, free: 13.47 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.488e-05/0.3581, allocations: 4 kB / 0.5683 GB, free: 13.46 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 0.0002017/0.3583, allocations: 204.6 kB / 0.5685 GB, free: 13.27 MB / 414.1 MB
Notification: Performance of sort global known variables: time 1.1e-07/0.3583, allocations: 4 kB / 0.5685 GB, free: 13.26 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.000283/0.3586, allocations: 31.86 kB / 0.5685 GB, free: 13.23 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.001724/0.3603, allocations: 451.3 kB / 0.569 GB, free: 12.94 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.0001971/0.3605, allocations: 55.91 kB / 0.569 GB, free: 12.89 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3605, allocations: 0 / 0.569 GB, free: 12.89 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 8.483e-05/0.3606, allocations: 27.98 kB / 0.5691 GB, free: 12.86 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003557/0.3609, allocations: 31.97 kB / 0.5691 GB, free: 12.83 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005205/0.3614, allocations: 287.7 kB / 0.5694 GB, free: 12.52 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003527/0.3618, allocations: 0.7235 MB / 0.5701 GB, free: 11.77 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 5.404e-05/0.3618, allocations: 29.2 kB / 0.5701 GB, free: 11.74 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.97e-05/0.3619, allocations: 15.44 kB / 0.5701 GB, free: 11.73 MB / 414.1 MB
Notification: Performance of SimCode: time 3.1e-07/0.3619, allocations: 0 / 0.5701 GB, free: 11.73 MB / 414.1 MB
Notification: Performance of Templates: time 0.005147/0.367, allocations: 1.813 MB / 0.5719 GB, free: 9.934 MB / 414.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test49.makefile [Timeout 660]
(rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test49.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test49  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test49.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.5116161508485675]