Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.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.001386/0.001386, allocations: 106.5 kB / 21.22 MB, free: 0.6797 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.001422/0.001422, allocations: 209.3 kB / 24.54 MB, free: 4.055 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.458/1.458, allocations: 230.3 MB / 258 MB, free: 8.254 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2304/0.2304, allocations: 46.9 MB / 361.3 MB, free: 4.449 MB / 286.1 MB
"
[Timeout remaining time 180]
Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64")
translateModel(ModelicaTest.Tables.CombiTimeTable.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002435/0.002435, allocations: 79.88 kB / 0.4971 GB, free: 7.547 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3548/0.3573, allocations: 66.01 MB / 0.5616 GB, free: 4.602 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.004057/0.3613, allocations: 1.712 MB / 0.5632 GB, free: 2.879 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001926/0.3632, allocations: 1.033 MB / 0.5643 GB, free: 1.84 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 9.349e-05/0.3633, allocations: 3.938 kB / 0.5643 GB, free: 1.836 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0003775/0.3637, allocations: 43.81 kB / 0.5643 GB, free: 1.793 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0003451/0.3641, allocations: 107.5 kB / 0.5644 GB, free: 1.688 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0001965/0.3643, allocations: 71.75 kB / 0.5645 GB, free: 1.617 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0002072/0.3645, allocations: 107.6 kB / 0.5646 GB, free: 1.512 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 5.817e-05/0.3645, allocations: 240 / 0.5646 GB, free: 1.512 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001036/0.3646, allocations: 47.8 kB / 0.5646 GB, free: 1.465 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 9.344e-05/0.3647, allocations: 35.77 kB / 0.5647 GB, free: 1.43 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 2.198e-05/0.3647, allocations: 4 kB / 0.5647 GB, free: 1.426 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 9.005e-05/0.3648, allocations: 28 kB / 0.5647 GB, free: 1.398 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 8.071e-05/0.3649, allocations: 35.84 kB / 0.5647 GB, free: 1.363 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 6.765e-05/0.365, allocations: 39.67 kB / 0.5648 GB, free: 1.324 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0002462/0.3652, allocations: 122 kB / 0.5649 GB, free: 1.211 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.3652, allocations: 4 kB / 0.5649 GB, free: 1.207 MB / 398.1 MB
Notification: Performance of FrontEnd: time 3.477e-06/0.3652, allocations: 4 kB / 0.5649 GB, free: 1.203 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 6.783e-06/0.3652, allocations: 0 / 0.5649 GB, free: 1.203 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: 4
 * Number of variables: 4
Notification: Performance of Generate backend data structure: time 0.0006064/0.3659, allocations: 365.4 kB / 0.5652 GB, free: 0.8164 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.3659, allocations: 12.02 kB / 0.5652 GB, free: 0.8047 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 5.068e-05/0.3659, allocations: 12.89 kB / 0.5653 GB, free: 0.793 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002971/0.3662, allocations: 167.1 kB / 0.5654 GB, free: 0.6016 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.3663, allocations: 384 / 0.5654 GB, free: 0.6016 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.544e-05/0.3663, allocations: 4.375 kB / 0.5654 GB, free: 0.5977 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001589/0.3664, allocations: 65.97 kB / 0.5655 GB, free: 0.5273 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.3664, allocations: 0 / 0.5655 GB, free: 0.5273 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.3664, allocations: 0 / 0.5655 GB, free: 0.5273 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.3665, allocations: 4 kB / 0.5655 GB, free: 0.5234 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 7.253e-05/0.3665, allocations: 15.98 kB / 0.5655 GB, free: 0.5078 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001992/0.3667, allocations: 152.8 kB / 0.5656 GB, free: 324 kB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001959/0.3669, allocations: 62.55 kB / 0.5657 GB, free: 252 kB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 5.408e-05/0.367, allocations: 24.78 kB / 0.5657 GB, free: 224 kB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.063e-05/0.367, allocations: 0 / 0.5657 GB, free: 224 kB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001539/0.3671, allocations: 63.33 kB / 0.5658 GB, free: 148 kB / 398.1 MB
Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.3671, allocations: 0 / 0.5658 GB, free: 148 kB / 398.1 MB
Notification: Performance of matching and sorting (n=5): time 0.0002908/0.3674, allocations: 101.5 kB / 0.5659 GB, free: 40 kB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001242/0.3676, allocations: 59.41 kB / 0.5659 GB, free: 15.97 MB / 414.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002787/0.3678, allocations: 270.8 kB / 0.5662 GB, free: 15.69 MB / 414.1 MB
Notification: Performance of collectPreVariables (initialization): time 1.91e-05/0.3679, allocations: 25.7 kB / 0.5662 GB, free: 15.66 MB / 414.1 MB
Notification: Performance of collectInitialEqns (initialization): time 7.578e-05/0.3679, allocations: 116.1 kB / 0.5663 GB, free: 15.54 MB / 414.1 MB
Notification: Performance of collectInitialBindings (initialization): time 3.439e-05/0.368, allocations: 11.89 kB / 0.5663 GB, free: 15.53 MB / 414.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.794e-05/0.368, allocations: 21.72 kB / 0.5664 GB, free: 15.5 MB / 414.1 MB
Notification: Performance of setup shared object (initialization): time 0.0002768/0.3683, allocations: 326.8 kB / 0.5667 GB, free: 15.18 MB / 414.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 5.109e-05/0.3683, allocations: 15.98 kB / 0.5667 GB, free: 15.16 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 5.79e-05/0.3684, allocations: 29.7 kB / 0.5667 GB, free: 15.12 MB / 414.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 9.866e-05/0.3685, allocations: 45.66 kB / 0.5668 GB, free: 15.07 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.3685, allocations: 0 / 0.5668 GB, free: 15.07 MB / 414.1 MB
Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001883/0.3687, allocations: 89.52 kB / 0.5669 GB, free: 14.98 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.3687, allocations: 6.188 kB / 0.5669 GB, free: 14.98 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.3687, allocations: 0 / 0.5669 GB, free: 14.98 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.3687, allocations: 0 / 0.5669 GB, free: 14.98 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.054e-05/0.3688, allocations: 23.91 kB / 0.5669 GB, free: 14.95 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.3688, allocations: 0 / 0.5669 GB, free: 14.95 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.804e-05/0.3689, allocations: 11.89 kB / 0.5669 GB, free: 14.94 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-06/0.3689, allocations: 4.312 kB / 0.5669 GB, free: 14.94 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 (7):
 * Single equations (assignments): 7
 * 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.0001134/0.369, allocations: 129.8 kB / 0.567 GB, free: 14.8 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.452e-05/0.369, allocations: 23.83 kB / 0.567 GB, free: 14.78 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002029/0.3692, allocations: 94.77 kB / 0.5671 GB, free: 14.67 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.3692, allocations: 0 / 0.5671 GB, free: 14.67 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.3692, allocations: 4 kB / 0.5671 GB, free: 14.67 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.3692, allocations: 0 / 0.5671 GB, free: 14.67 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001648/0.3694, allocations: 172.6 kB / 0.5673 GB, free: 14.46 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.3694, allocations: 0 / 0.5673 GB, free: 14.46 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.484e-05/0.3694, allocations: 11.92 kB / 0.5673 GB, free: 14.45 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.3694, allocations: 0 / 0.5673 GB, free: 14.45 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.685e-06/0.3694, allocations: 0 / 0.5673 GB, free: 14.45 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.3694, allocations: 0 / 0.5673 GB, free: 14.45 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.3694, allocations: 0 / 0.5673 GB, free: 14.45 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001848/0.3696, allocations: 113 kB / 0.5674 GB, free: 14.32 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 2.704e-05/0.3696, allocations: 19.84 kB / 0.5674 GB, free: 14.3 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.21e-05/0.3697, allocations: 0 / 0.5674 GB, free: 14.3 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.747e-05/0.3697, allocations: 4 kB / 0.5674 GB, free: 14.29 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 2.986e-05/0.3697, allocations: 3.984 kB / 0.5674 GB, free: 14.29 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.426e-05/0.3697, allocations: 7.938 kB / 0.5675 GB, free: 14.28 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 0.0001748/0.3699, allocations: 196.6 kB / 0.5676 GB, free: 14.09 MB / 414.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.3699, allocations: 0 / 0.5676 GB, free: 14.09 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.0002152/0.3701, allocations: 27.92 kB / 0.5677 GB, free: 14.06 MB / 414.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * 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 (5):
 * Single equations (assignments): 3
 * 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.001476/0.3716, allocations: 409.8 kB / 0.5681 GB, free: 13.79 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.0001847/0.3718, allocations: 39.98 kB / 0.5681 GB, free: 13.75 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3718, allocations: 0 / 0.5681 GB, free: 13.75 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 6.648e-05/0.3719, allocations: 23.92 kB / 0.5681 GB, free: 13.73 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000279/0.3721, allocations: 31.23 kB / 0.5682 GB, free: 13.7 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005358/0.3727, allocations: 274.5 kB / 0.5684 GB, free: 13.41 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003802/0.3731, allocations: 0.7158 MB / 0.5691 GB, free: 12.67 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 5.503e-05/0.3731, allocations: 16.47 kB / 0.5691 GB, free: 12.65 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.511e-05/0.3731, allocations: 11.44 kB / 0.5691 GB, free: 12.64 MB / 414.1 MB
Notification: Performance of SimCode: time 3e-07/0.3731, allocations: 0 / 0.5691 GB, free: 12.64 MB / 414.1 MB
Notification: Performance of Templates: time 0.004857/0.378, allocations: 1.557 MB / 0.5707 GB, free: 11.09 MB / 414.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.makefile [Timeout 660]
(rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test64/Test64.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.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.05595781840384]