Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test30.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.001573/0.001573, allocations: 110.5 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.001465/0.001465, allocations: 211.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.5/1.5, allocations: 230.3 MB / 258 MB, free: 8.184 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.2307/0.2307, allocations: 46.94 MB / 361.4 MB, free: 4.398 MB / 286.1 MB
"
[Timeout remaining time 180]
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.CombiTable2Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test30")
translateModel(ModelicaTest.Tables.CombiTable2Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test30") [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.003214/0.003214, allocations: 84.14 kB / 0.4972 GB, free: 7.492 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3602/0.3634, allocations: 66.04 MB / 0.5617 GB, free: 4.535 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test30): time 0.003177/0.3666, allocations: 1.71 MB / 0.5633 GB, free: 2.824 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001067/0.3677, allocations: 0.5966 MB / 0.5639 GB, free: 2.227 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 5.412e-05/0.3677, allocations: 0 / 0.5639 GB, free: 2.227 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0002577/0.368, allocations: 83.64 kB / 0.564 GB, free: 2.145 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0002748/0.3682, allocations: 95.59 kB / 0.5641 GB, free: 2.051 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0004182/0.3687, allocations: 190.9 kB / 0.5643 GB, free: 1.867 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0001772/0.3688, allocations: 91.75 kB / 0.5644 GB, free: 1.777 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.3689, allocations: 23.86 kB / 0.5644 GB, free: 1.754 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 6.731e-05/0.369, allocations: 39.84 kB / 0.5644 GB, free: 1.715 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.000109/0.3691, allocations: 59.81 kB / 0.5645 GB, free: 1.656 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 1.432e-05/0.3691, allocations: 4 kB / 0.5645 GB, free: 1.652 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001017/0.3692, allocations: 59.86 kB / 0.5645 GB, free: 1.594 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 6.507e-05/0.3693, allocations: 27.89 kB / 0.5646 GB, free: 1.566 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 4.422e-05/0.3693, allocations: 35.75 kB / 0.5646 GB, free: 1.531 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0002016/0.3695, allocations: 122.3 kB / 0.5647 GB, free: 1.414 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3695, allocations: 4 kB / 0.5647 GB, free: 1.41 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.172e-06/0.3695, allocations: 0 / 0.5647 GB, free: 1.41 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 5.019e-06/0.3695, allocations: 0 / 0.5647 GB, free: 1.41 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.0005195/0.3701, allocations: 345.6 kB / 0.5651 GB, free: 1.039 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.3701, allocations: 12.03 kB / 0.5651 GB, free: 1.027 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.274e-05/0.3701, allocations: 16.83 kB / 0.5651 GB, free: 1.012 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001866/0.3703, allocations: 146.3 kB / 0.5652 GB, free: 0.8438 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.019e-05/0.3703, allocations: 4.375 kB / 0.5652 GB, free: 0.8398 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.036e-05/0.3704, allocations: 4.375 kB / 0.5652 GB, free: 0.8359 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001778/0.3705, allocations: 70.23 kB / 0.5653 GB, free: 0.7617 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.3706, allocations: 192 / 0.5653 GB, free: 0.7617 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.3706, allocations: 3.938 kB / 0.5653 GB, free: 0.7578 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.3706, allocations: 3.938 kB / 0.5653 GB, free: 0.7539 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001504/0.3707, allocations: 47.89 kB / 0.5654 GB, free: 0.707 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004628/0.3712, allocations: 295.8 kB / 0.5656 GB, free: 384 kB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002428/0.3714, allocations: 66.58 kB / 0.5657 GB, free: 308 kB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 7.674e-05/0.3715, allocations: 24.97 kB / 0.5657 GB, free: 280 kB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.048e-05/0.3715, allocations: 0 / 0.5657 GB, free: 280 kB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.367e-05/0.3715, allocations: 30.56 kB / 0.5657 GB, free: 240 kB / 398.1 MB
Notification: Performance of pre-optimization done (n=5): time 4.619e-06/0.3715, allocations: 7.984 kB / 0.5658 GB, free: 232 kB / 398.1 MB
Notification: Performance of matching and sorting (n=11): time 0.001439/0.373, allocations: 425.4 kB / 0.5662 GB, free: 15.8 MB / 414.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.247e-05/0.373, allocations: 51.41 kB / 0.5662 GB, free: 15.74 MB / 414.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002284/0.3733, allocations: 218.2 kB / 0.5664 GB, free: 15.52 MB / 414.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.042e-05/0.3733, allocations: 33.64 kB / 0.5665 GB, free: 15.48 MB / 414.1 MB
Notification: Performance of collectInitialEqns (initialization): time 6.917e-05/0.3734, allocations: 112.1 kB / 0.5666 GB, free: 15.36 MB / 414.1 MB
Notification: Performance of collectInitialBindings (initialization): time 3.903e-05/0.3734, allocations: 39.61 kB / 0.5666 GB, free: 15.33 MB / 414.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.935e-05/0.3734, allocations: 25.7 kB / 0.5666 GB, free: 15.3 MB / 414.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001759/0.3736, allocations: 326.8 kB / 0.5669 GB, free: 14.97 MB / 414.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001397/0.3738, allocations: 52.14 kB / 0.567 GB, free: 14.92 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001297/0.3739, allocations: 60 kB / 0.567 GB, free: 14.86 MB / 414.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002755/0.3742, allocations: 132.9 kB / 0.5672 GB, free: 14.73 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.3742, allocations: 0 / 0.5672 GB, free: 14.73 MB / 414.1 MB
Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003325/0.3745, allocations: 161.5 kB / 0.5673 GB, free: 14.56 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.451e-05/0.3745, allocations: 10.19 kB / 0.5673 GB, free: 14.55 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.3745, allocations: 0 / 0.5673 GB, free: 14.55 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.3745, allocations: 4 kB / 0.5673 GB, free: 14.55 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001148/0.3747, allocations: 31.91 kB / 0.5674 GB, free: 14.52 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.3747, allocations: 7.922 kB / 0.5674 GB, free: 14.51 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.303e-05/0.3747, allocations: 15.92 kB / 0.5674 GB, free: 14.5 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.063e-05/0.3747, allocations: 4 kB / 0.5674 GB, free: 14.49 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.0001138/0.3749, allocations: 133.8 kB / 0.5675 GB, free: 14.35 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.77e-05/0.3749, allocations: 11.91 kB / 0.5675 GB, free: 14.34 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004301/0.3753, allocations: 186.9 kB / 0.5677 GB, free: 14.14 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.3753, allocations: 4 kB / 0.5677 GB, free: 14.14 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.3753, allocations: 3.984 kB / 0.5677 GB, free: 14.13 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.3753, allocations: 3.938 kB / 0.5677 GB, free: 14.13 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007267/0.3761, allocations: 483 kB / 0.5682 GB, free: 13.6 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3761, allocations: 0 / 0.5682 GB, free: 13.6 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001026/0.3762, allocations: 31.92 kB / 0.5682 GB, free: 13.57 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.3762, allocations: 0 / 0.5682 GB, free: 13.57 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.321e-05/0.3762, allocations: 7.984 kB / 0.5682 GB, free: 13.56 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.3762, allocations: 0 / 0.5682 GB, free: 13.56 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3762, allocations: 3.938 kB / 0.5682 GB, free: 13.56 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003985/0.3766, allocations: 277.1 kB / 0.5685 GB, free: 13.27 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 1.83e-05/0.3766, allocations: 11.89 kB / 0.5685 GB, free: 13.25 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.983e-05/0.3766, allocations: 4 kB / 0.5685 GB, free: 13.25 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.353e-05/0.3767, allocations: 11.98 kB / 0.5685 GB, free: 13.24 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.773e-05/0.3768, allocations: 11.98 kB / 0.5685 GB, free: 13.23 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-06/0.3768, allocations: 96 / 0.5685 GB, free: 13.23 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 0.0001496/0.3769, allocations: 172.2 kB / 0.5687 GB, free: 13.06 MB / 414.1 MB
Notification: Performance of sort global known variables: time 9e-08/0.3769, allocations: 0 / 0.5687 GB, free: 13.06 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.0002553/0.3772, allocations: 24 kB / 0.5687 GB, free: 13.04 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.001675/0.3788, allocations: 461.2 kB / 0.5692 GB, free: 12.73 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.0003615/0.3792, allocations: 119.9 kB / 0.5693 GB, free: 12.62 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3792, allocations: 0 / 0.5693 GB, free: 12.62 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0001586/0.3794, allocations: 71.83 kB / 0.5693 GB, free: 12.55 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004/0.3798, allocations: 30.56 kB / 0.5694 GB, free: 12.52 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006314/0.3804, allocations: 332.7 kB / 0.5697 GB, free: 12.16 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003566/0.3807, allocations: 0.7198 MB / 0.5704 GB, free: 11.42 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 8.796e-05/0.3808, allocations: 32.45 kB / 0.5704 GB, free: 11.39 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.256e-05/0.3809, allocations: 19.42 kB / 0.5704 GB, free: 11.37 MB / 414.1 MB
Notification: Performance of SimCode: time 3.21e-07/0.3809, allocations: 0 / 0.5704 GB, free: 11.37 MB / 414.1 MB
Notification: Performance of Templates: time 0.004798/0.3857, allocations: 1.707 MB / 0.5721 GB, free: 9.668 MB / 414.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test30.makefile [Timeout 660]
(rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test30.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test30  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test30/Test30.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test30.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.158760802820325]