Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.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.001622/0.001622, 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.002106/0.002106, 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.476/1.476, 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.2438/0.2438, allocations: 46.94 MB / 361.4 MB, free: 4.402 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.CombiTable2Ds.Test30,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.Test30")
translateModel(ModelicaTest.Tables.CombiTable2Ds.Test30,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.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.00231/0.00231, allocations: 80.2 kB / 0.4972 GB, free: 7.488 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3465/0.3488, allocations: 66.05 MB / 0.5617 GB, free: 4.516 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test30): time 0.003293/0.3521, allocations: 1.691 MB / 0.5633 GB, free: 2.816 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001072/0.3531, allocations: 0.5731 MB / 0.5639 GB, free: 2.242 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 5.573e-05/0.3532, allocations: 0 / 0.5639 GB, free: 2.242 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0002576/0.3535, allocations: 75.77 kB / 0.564 GB, free: 2.168 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0003008/0.3538, allocations: 103.6 kB / 0.5641 GB, free: 2.066 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.000349/0.3541, allocations: 135.6 kB / 0.5642 GB, free: 1.934 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0001583/0.3543, allocations: 87.77 kB / 0.5643 GB, free: 1.848 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 9.811e-05/0.3544, allocations: 23.86 kB / 0.5643 GB, free: 1.824 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 6.651e-05/0.3544, allocations: 35.84 kB / 0.5643 GB, free: 1.789 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001269/0.3546, allocations: 67.73 kB / 0.5644 GB, free: 1.723 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 1.713e-05/0.3546, allocations: 4 kB / 0.5644 GB, free: 1.719 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 9.899e-05/0.3547, allocations: 47.98 kB / 0.5645 GB, free: 1.672 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 6.975e-05/0.3547, allocations: 31.91 kB / 0.5645 GB, free: 1.641 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 4.501e-05/0.3548, allocations: 35.67 kB / 0.5645 GB, free: 1.605 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0002185/0.355, allocations: 114.4 kB / 0.5646 GB, free: 1.496 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.355, allocations: 4 kB / 0.5646 GB, free: 1.492 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.162e-06/0.355, allocations: 4 kB / 0.5646 GB, free: 1.488 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 5.05e-06/0.355, allocations: 0 / 0.5646 GB, free: 1.488 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.0005565/0.3556, allocations: 353.5 kB / 0.565 GB, free: 1.109 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.284e-05/0.3556, allocations: 8.031 kB / 0.565 GB, free: 1.102 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4e-05/0.3556, allocations: 12.89 kB / 0.565 GB, free: 1.09 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002148/0.3559, allocations: 147 kB / 0.5651 GB, free: 0.9219 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.3559, allocations: 384 / 0.5651 GB, free: 0.9219 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.534e-05/0.3559, allocations: 8.375 kB / 0.5651 GB, free: 0.9141 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001836/0.3561, allocations: 66.17 kB / 0.5652 GB, free: 0.8438 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/0.3561, allocations: 8.188 kB / 0.5652 GB, free: 0.8359 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.3561, allocations: 3.938 kB / 0.5652 GB, free: 0.832 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.399e-06/0.3561, allocations: 0 / 0.5652 GB, free: 0.832 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001494/0.3563, allocations: 43.95 kB / 0.5653 GB, free: 0.7891 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004073/0.3567, allocations: 275.7 kB / 0.5655 GB, free: 488 kB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002351/0.3569, allocations: 58.55 kB / 0.5656 GB, free: 420 kB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 7.941e-05/0.357, allocations: 28.91 kB / 0.5656 GB, free: 388 kB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 1.943e-05/0.357, allocations: 0 / 0.5656 GB, free: 388 kB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.876e-05/0.357, allocations: 34.55 kB / 0.5656 GB, free: 344 kB / 398.1 MB
Notification: Performance of pre-optimization done (n=5): time 1.002e-06/0.357, allocations: 0 / 0.5656 GB, free: 344 kB / 398.1 MB
Notification: Performance of matching and sorting (n=11): time 0.001449/0.3585, allocations: 405.2 kB / 0.566 GB, free: 15.93 MB / 414.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.787e-05/0.3585, allocations: 51.41 kB / 0.5661 GB, free: 15.87 MB / 414.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000234/0.3588, allocations: 214.2 kB / 0.5663 GB, free: 15.65 MB / 414.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.262e-05/0.3588, allocations: 33.64 kB / 0.5663 GB, free: 15.61 MB / 414.1 MB
Notification: Performance of collectInitialEqns (initialization): time 8.339e-05/0.3589, allocations: 104.1 kB / 0.5664 GB, free: 15.5 MB / 414.1 MB
Notification: Performance of collectInitialBindings (initialization): time 4.314e-05/0.3589, allocations: 47.67 kB / 0.5665 GB, free: 15.46 MB / 414.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.671e-05/0.359, allocations: 21.72 kB / 0.5665 GB, free: 15.43 MB / 414.1 MB
Notification: Performance of setup shared object (initialization): time 0.000154/0.3591, allocations: 322.8 kB / 0.5668 GB, free: 15.11 MB / 414.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001295/0.3592, allocations: 43.97 kB / 0.5668 GB, free: 15.06 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001187/0.3594, allocations: 39.97 kB / 0.5669 GB, free: 15.02 MB / 414.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002522/0.3596, allocations: 104.8 kB / 0.567 GB, free: 14.92 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.3596, allocations: 0 / 0.567 GB, free: 14.92 MB / 414.1 MB
Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003164/0.3599, allocations: 149.4 kB / 0.5671 GB, free: 14.77 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.3599, allocations: 4 kB / 0.5671 GB, free: 14.76 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.36, allocations: 0 / 0.5671 GB, free: 14.76 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.36, allocations: 3.984 kB / 0.5671 GB, free: 14.76 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001144/0.3601, allocations: 28.55 kB / 0.5671 GB, free: 14.73 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.3601, allocations: 0 / 0.5671 GB, free: 14.73 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.599e-05/0.3602, allocations: 19.92 kB / 0.5672 GB, free: 14.71 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.809e-06/0.3602, allocations: 4 kB / 0.5672 GB, free: 14.71 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.0001108/0.3603, allocations: 129.8 kB / 0.5673 GB, free: 14.57 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 4.099e-05/0.3603, allocations: 11.91 kB / 0.5673 GB, free: 14.56 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003976/0.3607, allocations: 167 kB / 0.5675 GB, free: 14.38 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.3607, allocations: 3.938 kB / 0.5675 GB, free: 14.38 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.3607, allocations: 4 kB / 0.5675 GB, free: 14.37 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.3607, allocations: 3.938 kB / 0.5675 GB, free: 14.37 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006992/0.3614, allocations: 439.2 kB / 0.5679 GB, free: 13.88 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.3614, allocations: 0 / 0.5679 GB, free: 13.88 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001124/0.3615, allocations: 31.91 kB / 0.5679 GB, free: 13.85 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 4.568e-06/0.3616, allocations: 4 kB / 0.5679 GB, free: 13.85 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.3616, allocations: 4 kB / 0.5679 GB, free: 13.84 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.3616, allocations: 0 / 0.5679 GB, free: 13.84 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.3616, allocations: 4.094 kB / 0.5679 GB, free: 13.84 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004505/0.362, allocations: 253.6 kB / 0.5682 GB, free: 13.57 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 7.307e-05/0.3621, allocations: 15.84 kB / 0.5682 GB, free: 13.55 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.285e-05/0.3621, allocations: 8 kB / 0.5682 GB, free: 13.55 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.707e-05/0.3622, allocations: 7.984 kB / 0.5682 GB, free: 13.54 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.38e-05/0.3623, allocations: 19.92 kB / 0.5682 GB, free: 13.52 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.05e-05/0.3623, allocations: 4 kB / 0.5682 GB, free: 13.52 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 0.0001473/0.3624, allocations: 164.2 kB / 0.5684 GB, free: 13.36 MB / 414.1 MB
Notification: Performance of sort global known variables: time 1.2e-07/0.3624, allocations: 0 / 0.5684 GB, free: 13.36 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.0002905/0.3627, allocations: 27.92 kB / 0.5684 GB, free: 13.33 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.001717/0.3644, allocations: 467.4 kB / 0.5689 GB, free: 13.03 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.0003327/0.3647, allocations: 95.88 kB / 0.5689 GB, free: 12.94 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.3648, allocations: 7.938 kB / 0.569 GB, free: 12.93 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.000155/0.3649, allocations: 64.02 kB / 0.569 GB, free: 12.87 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003632/0.3653, allocations: 19.92 kB / 0.569 GB, free: 12.85 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006483/0.3659, allocations: 300.7 kB / 0.5693 GB, free: 12.52 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003993/0.3663, allocations: 0.7197 MB / 0.57 GB, free: 11.78 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 6.484e-05/0.3664, allocations: 12.48 kB / 0.57 GB, free: 11.77 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.268e-05/0.3664, allocations: 19.42 kB / 0.5701 GB, free: 11.75 MB / 414.1 MB
Notification: Performance of SimCode: time 3.31e-07/0.3664, allocations: 0 / 0.5701 GB, free: 11.75 MB / 414.1 MB
Notification: Performance of Templates: time 0.01356/0.38, allocations: 1.638 MB / 0.5717 GB, free: 10.11 MB / 414.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test30.makefile [Timeout 660]
(rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test30.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test30  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test30/Test30.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.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.163217711262405]