Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test29.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.001954/0.001954, 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.002263/0.002263, 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.493/1.493, allocations: 230.3 MB / 258 MB, free: 8.262 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.2491/0.2491, allocations: 46.93 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.CombiTable2Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test29")
translateModel(ModelicaTest.Tables.CombiTable2Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test29") [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.002446/0.002446, allocations: 83.86 kB / 0.4972 GB, free: 7.5 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3581/0.3605, allocations: 66.04 MB / 0.5617 GB, free: 4.523 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test29): time 0.003717/0.3642, allocations: 1.69 MB / 0.5633 GB, free: 2.828 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001165/0.3654, allocations: 0.5809 MB / 0.5639 GB, free: 2.246 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 6.317e-05/0.3654, allocations: 0 / 0.5639 GB, free: 2.246 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0002974/0.3657, allocations: 67.77 kB / 0.564 GB, free: 2.18 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0003376/0.3661, allocations: 103.6 kB / 0.5641 GB, free: 2.078 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0003995/0.3665, allocations: 139.6 kB / 0.5642 GB, free: 1.941 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0001925/0.3667, allocations: 83.77 kB / 0.5643 GB, free: 1.859 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.000125/0.3668, allocations: 27.86 kB / 0.5643 GB, free: 1.832 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 8.799e-05/0.3669, allocations: 39.84 kB / 0.5643 GB, free: 1.793 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001279/0.367, allocations: 55.75 kB / 0.5644 GB, free: 1.738 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 1.501e-05/0.367, allocations: 4 kB / 0.5644 GB, free: 1.734 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001287/0.3672, allocations: 47.98 kB / 0.5644 GB, free: 1.688 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 9.075e-05/0.3672, allocations: 35.89 kB / 0.5645 GB, free: 1.652 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 4.95e-05/0.3673, allocations: 31.69 kB / 0.5645 GB, free: 1.621 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0002427/0.3675, allocations: 114.4 kB / 0.5646 GB, free: 1.512 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.3675, allocations: 8 kB / 0.5646 GB, free: 1.504 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.984e-06/0.3675, allocations: 0 / 0.5646 GB, free: 1.504 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 6.632e-06/0.3676, allocations: 0 / 0.5646 GB, free: 1.504 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: 9
 * Number of variables: 9
Notification: Performance of Generate backend data structure: time 0.0006183/0.3682, allocations: 353.5 kB / 0.565 GB, free: 1.125 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.3682, allocations: 12.03 kB / 0.565 GB, free: 1.113 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 6.127e-05/0.3683, allocations: 12.88 kB / 0.565 GB, free: 1.102 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002037/0.3685, allocations: 143 kB / 0.5651 GB, free: 0.9375 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.525e-05/0.3685, allocations: 4.375 kB / 0.5651 GB, free: 0.9336 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.193e-05/0.3685, allocations: 4.375 kB / 0.5651 GB, free: 0.9297 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001992/0.3687, allocations: 70.16 kB / 0.5652 GB, free: 0.8555 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.3687, allocations: 4.188 kB / 0.5652 GB, free: 0.8516 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.3687, allocations: 3.938 kB / 0.5652 GB, free: 0.8477 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.3687, allocations: 0 / 0.5652 GB, free: 0.8477 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001437/0.3689, allocations: 43.95 kB / 0.5652 GB, free: 0.8047 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004487/0.3693, allocations: 279.7 kB / 0.5655 GB, free: 500 kB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002509/0.3696, allocations: 58.55 kB / 0.5656 GB, free: 432 kB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 8.554e-05/0.3697, allocations: 24.97 kB / 0.5656 GB, free: 404 kB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.841e-05/0.3697, allocations: 0 / 0.5656 GB, free: 404 kB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.763e-05/0.3697, allocations: 30.56 kB / 0.5656 GB, free: 364 kB / 398.1 MB
Notification: Performance of pre-optimization done (n=5): time 9.01e-07/0.3697, allocations: 0 / 0.5656 GB, free: 364 kB / 398.1 MB
Notification: Performance of matching and sorting (n=11): time 0.001554/0.3713, allocations: 409.2 kB / 0.566 GB, free: 15.95 MB / 414.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.245e-05/0.3713, allocations: 51.41 kB / 0.5661 GB, free: 15.88 MB / 414.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002614/0.3716, allocations: 214 kB / 0.5663 GB, free: 15.67 MB / 414.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.207e-05/0.3716, allocations: 29.7 kB / 0.5663 GB, free: 15.63 MB / 414.1 MB
Notification: Performance of collectInitialEqns (initialization): time 7.944e-05/0.3717, allocations: 104.1 kB / 0.5664 GB, free: 15.53 MB / 414.1 MB
Notification: Performance of collectInitialBindings (initialization): time 5.625e-05/0.3718, allocations: 51.67 kB / 0.5664 GB, free: 15.48 MB / 414.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.794e-05/0.3718, allocations: 17.72 kB / 0.5665 GB, free: 15.45 MB / 414.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001858/0.372, allocations: 330.8 kB / 0.5668 GB, free: 15.12 MB / 414.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001303/0.3721, allocations: 39.97 kB / 0.5668 GB, free: 15.08 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001158/0.3722, allocations: 40.53 kB / 0.5669 GB, free: 15.04 MB / 414.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002579/0.3725, allocations: 100.8 kB / 0.5669 GB, free: 14.94 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.3725, allocations: 0 / 0.5669 GB, free: 14.94 MB / 414.1 MB
Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003448/0.3728, allocations: 153.4 kB / 0.5671 GB, free: 14.79 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/0.3729, allocations: 4 kB / 0.5671 GB, free: 14.78 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.3729, allocations: 0 / 0.5671 GB, free: 14.78 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 2.18e-05/0.3729, allocations: 4 kB / 0.5671 GB, free: 14.78 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000123/0.373, allocations: 31.98 kB / 0.5671 GB, free: 14.75 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.373, allocations: 3.938 kB / 0.5671 GB, free: 14.74 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.056e-05/0.3731, allocations: 11.98 kB / 0.5671 GB, free: 14.73 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.58e-05/0.3731, allocations: 4 kB / 0.5672 GB, free: 14.73 MB / 414.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 1
 * Number of states: 0 ()
 * Number of discrete variables: 0 ()
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (11):
 * Single equations (assignments): 11
 * 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.0001353/0.3732, allocations: 129.8 kB / 0.5673 GB, free: 14.59 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 4.024e-05/0.3733, allocations: 11.91 kB / 0.5673 GB, free: 14.58 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004389/0.3737, allocations: 171.3 kB / 0.5675 GB, free: 14.39 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.3737, allocations: 0 / 0.5675 GB, free: 14.39 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-05/0.3737, allocations: 7.938 kB / 0.5675 GB, free: 14.39 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.3737, allocations: 0 / 0.5675 GB, free: 14.39 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007989/0.3745, allocations: 439.1 kB / 0.5679 GB, free: 13.9 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.977e-06/0.3745, allocations: 3.938 kB / 0.5679 GB, free: 13.9 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001077/0.3747, allocations: 27.98 kB / 0.5679 GB, free: 13.87 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 5.209e-06/0.3747, allocations: 4 kB / 0.5679 GB, free: 13.87 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.728e-06/0.3747, allocations: 0 / 0.5679 GB, free: 13.87 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.3747, allocations: 3.984 kB / 0.5679 GB, free: 13.86 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.3747, allocations: 4 kB / 0.5679 GB, free: 13.86 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004029/0.3751, allocations: 253.2 kB / 0.5682 GB, free: 13.59 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 2.751e-05/0.3751, allocations: 19.92 kB / 0.5682 GB, free: 13.57 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.496e-05/0.3751, allocations: 7.938 kB / 0.5682 GB, free: 13.56 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001062/0.3752, allocations: 11.92 kB / 0.5682 GB, free: 13.55 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.929e-05/0.3753, allocations: 15.98 kB / 0.5682 GB, free: 13.54 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.797e-06/0.3753, allocations: 4 kB / 0.5682 GB, free: 13.53 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 0.0001623/0.3755, allocations: 164.2 kB / 0.5684 GB, free: 13.37 MB / 414.1 MB
Notification: Performance of sort global known variables: time 6e-08/0.3755, allocations: 0 / 0.5684 GB, free: 13.37 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.0003101/0.3758, allocations: 23.94 kB / 0.5684 GB, free: 13.35 MB / 414.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 3
 * Number of states: 0 ()
 * Number of discrete variables: 0 ()
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (11):
 * Single equations (assignments): 11
 * 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 Backend phase and start with SimCode phase: time 0.001728/0.3775, allocations: 459.8 kB / 0.5688 GB, free: 13.05 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.0003442/0.3778, allocations: 107.8 kB / 0.5689 GB, free: 12.95 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.3778, allocations: 0 / 0.5689 GB, free: 12.95 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0002132/0.3781, allocations: 60.03 kB / 0.569 GB, free: 12.89 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003951/0.3784, allocations: 28.14 kB / 0.569 GB, free: 12.86 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00064/0.3791, allocations: 300.7 kB / 0.5693 GB, free: 12.54 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004226/0.3795, allocations: 0.7158 MB / 0.57 GB, free: 11.8 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 8.525e-05/0.3796, allocations: 16.47 kB / 0.57 GB, free: 11.78 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.428e-05/0.3796, allocations: 15.44 kB / 0.57 GB, free: 11.77 MB / 414.1 MB
Notification: Performance of SimCode: time 4.61e-07/0.3796, allocations: 0 / 0.57 GB, free: 11.77 MB / 414.1 MB
Notification: Performance of Templates: time 0.005191/0.3848, allocations: 1.633 MB / 0.5716 GB, free: 10.14 MB / 414.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test29.makefile [Timeout 660]
(rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test29.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test29  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test29/Test29.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test29.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.20494350977242]