Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test65.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.001529/0.001529, 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.002067/0.002067, allocations: 213.2 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.565/1.565, allocations: 230.3 MB / 258 MB, free: 8.188 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.2406/0.2406, allocations: 46.94 MB / 361.4 MB, free: 4.469 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.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test65")
translateModel(ModelicaTest.Tables.CombiTimeTable.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test65") [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.002532/0.002532, allocations: 79.86 kB / 0.4972 GB, free: 7.445 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3543/0.3569, allocations: 66.04 MB / 0.5617 GB, free: 4.469 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.003438/0.3603, allocations: 1.702 MB / 0.5634 GB, free: 2.754 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001748/0.3621, allocations: 1.029 MB / 0.5644 GB, free: 1.723 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 7.128e-05/0.3621, allocations: 7.938 kB / 0.5644 GB, free: 1.715 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0003213/0.3624, allocations: 83.75 kB / 0.5645 GB, free: 1.633 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0003292/0.3628, allocations: 123.5 kB / 0.5646 GB, free: 1.512 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0002118/0.363, allocations: 63.75 kB / 0.5646 GB, free: 1.449 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0001997/0.3632, allocations: 119.6 kB / 0.5648 GB, free: 1.332 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 3.936e-05/0.3632, allocations: 4.234 kB / 0.5648 GB, free: 1.328 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001091/0.3633, allocations: 51.78 kB / 0.5648 GB, free: 1.277 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001141/0.3634, allocations: 59.75 kB / 0.5649 GB, free: 1.219 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 1.781e-05/0.3635, allocations: 4 kB / 0.5649 GB, free: 1.215 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 8.634e-05/0.3636, allocations: 35.92 kB / 0.5649 GB, free: 1.18 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 6.328e-05/0.3636, allocations: 27.91 kB / 0.5649 GB, free: 1.152 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 5.247e-05/0.3637, allocations: 31.75 kB / 0.565 GB, free: 1.121 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0001975/0.3639, allocations: 110.1 kB / 0.5651 GB, free: 1.02 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.3639, allocations: 4 kB / 0.5651 GB, free: 1.016 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.102e-06/0.3639, allocations: 4 kB / 0.5651 GB, free: 1.012 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 5.07e-06/0.3639, allocations: 0 / 0.5651 GB, free: 1.012 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.0005317/0.3644, allocations: 345.5 kB / 0.5654 GB, free: 0.6445 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.3644, allocations: 12.03 kB / 0.5654 GB, free: 0.6328 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.707e-05/0.3645, allocations: 16.84 kB / 0.5654 GB, free: 0.6172 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.000261/0.3648, allocations: 162.7 kB / 0.5656 GB, free: 444 kB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.336e-05/0.3648, allocations: 384 / 0.5656 GB, free: 444 kB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.28e-05/0.3648, allocations: 12.36 kB / 0.5656 GB, free: 432 kB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001444/0.3649, allocations: 50 kB / 0.5656 GB, free: 376 kB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.3649, allocations: 0 / 0.5656 GB, free: 376 kB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.3649, allocations: 0 / 0.5656 GB, free: 376 kB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.3649, allocations: 4 kB / 0.5656 GB, free: 372 kB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 7.163e-05/0.365, allocations: 15.98 kB / 0.5657 GB, free: 356 kB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001996/0.3652, allocations: 156.8 kB / 0.5658 GB, free: 156 kB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001693/0.3654, allocations: 50.56 kB / 0.5659 GB, free: 96 kB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 5.732e-05/0.3654, allocations: 20.84 kB / 0.5659 GB, free: 72 kB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.3655, allocations: 0 / 0.5659 GB, free: 72 kB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001604/0.3656, allocations: 71.33 kB / 0.566 GB, free: 15.99 MB / 414.1 MB
Notification: Performance of pre-optimization done (n=5): time 1.332e-06/0.3656, allocations: 0 / 0.566 GB, free: 15.99 MB / 414.1 MB
Notification: Performance of matching and sorting (n=5): time 0.0002894/0.3659, allocations: 101.5 kB / 0.566 GB, free: 15.88 MB / 414.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.529e-05/0.366, allocations: 59.41 kB / 0.5661 GB, free: 15.81 MB / 414.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002376/0.3662, allocations: 215.6 kB / 0.5663 GB, free: 15.58 MB / 414.1 MB
Notification: Performance of collectPreVariables (initialization): time 1.899e-05/0.3662, allocations: 25.7 kB / 0.5663 GB, free: 15.55 MB / 414.1 MB
Notification: Performance of collectInitialEqns (initialization): time 6.991e-05/0.3663, allocations: 108.1 kB / 0.5664 GB, free: 15.44 MB / 414.1 MB
Notification: Performance of collectInitialBindings (initialization): time 2.852e-05/0.3663, allocations: 7.953 kB / 0.5664 GB, free: 15.43 MB / 414.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.363e-05/0.3664, allocations: 21.66 kB / 0.5665 GB, free: 15.41 MB / 414.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001513/0.3665, allocations: 326.8 kB / 0.5668 GB, free: 15.08 MB / 414.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 5.211e-05/0.3666, allocations: 15.98 kB / 0.5668 GB, free: 15.06 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 6.2e-05/0.3666, allocations: 33.7 kB / 0.5668 GB, free: 15.02 MB / 414.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001048/0.3667, allocations: 41.66 kB / 0.5669 GB, free: 14.98 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.3667, allocations: 3.984 kB / 0.5669 GB, free: 14.97 MB / 414.1 MB
Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001858/0.3669, allocations: 89.53 kB / 0.567 GB, free: 14.88 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.3669, allocations: 4 kB / 0.567 GB, free: 14.88 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.3669, allocations: 0 / 0.567 GB, free: 14.88 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.3669, allocations: 8.031 kB / 0.567 GB, free: 14.87 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.356e-05/0.367, allocations: 11.94 kB / 0.567 GB, free: 14.86 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.367, allocations: 0 / 0.567 GB, free: 14.86 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.985e-05/0.3671, allocations: 11.92 kB / 0.567 GB, free: 14.84 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-06/0.3671, allocations: 0 / 0.567 GB, free: 14.84 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.0001051/0.3672, allocations: 125.8 kB / 0.5671 GB, free: 14.71 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.544e-05/0.3672, allocations: 19.83 kB / 0.5671 GB, free: 14.69 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002177/0.3674, allocations: 98.7 kB / 0.5672 GB, free: 14.58 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.3674, allocations: 0 / 0.5672 GB, free: 14.58 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.3674, allocations: 4 kB / 0.5672 GB, free: 14.58 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.3674, allocations: 0 / 0.5672 GB, free: 14.58 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000156/0.3676, allocations: 160.7 kB / 0.5674 GB, free: 14.38 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3676, allocations: 4 kB / 0.5674 GB, free: 14.38 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.151e-05/0.3676, allocations: 4.312 kB / 0.5674 GB, free: 14.37 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.3676, allocations: 4 kB / 0.5674 GB, free: 14.37 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-06/0.3676, allocations: 0 / 0.5674 GB, free: 14.37 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.3676, allocations: 4 kB / 0.5674 GB, free: 14.36 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.3676, allocations: 0 / 0.5674 GB, free: 14.36 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002027/0.3678, allocations: 113 kB / 0.5675 GB, free: 14.23 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 2.673e-05/0.3679, allocations: 23.83 kB / 0.5675 GB, free: 14.21 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.484e-05/0.3679, allocations: 7.984 kB / 0.5675 GB, free: 14.2 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.657e-05/0.3679, allocations: 0 / 0.5675 GB, free: 14.2 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 2.826e-05/0.368, allocations: 7.938 kB / 0.5675 GB, free: 14.2 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.301e-05/0.368, allocations: 4 kB / 0.5675 GB, free: 14.19 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 0.0001527/0.3681, allocations: 169.1 kB / 0.5677 GB, free: 14.03 MB / 414.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.3681, allocations: 0 / 0.5677 GB, free: 14.03 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.0002205/0.3683, allocations: 23.94 kB / 0.5677 GB, free: 14 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.001489/0.3698, allocations: 405.4 kB / 0.5681 GB, free: 13.73 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.0001716/0.37, allocations: 39.98 kB / 0.5682 GB, free: 13.7 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.37, allocations: 0 / 0.5682 GB, free: 13.7 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 6.518e-05/0.3701, allocations: 19.92 kB / 0.5682 GB, free: 13.68 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002848/0.3704, allocations: 42.91 kB / 0.5682 GB, free: 13.64 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005263/0.3709, allocations: 226.5 kB / 0.5684 GB, free: 13.39 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003649/0.3712, allocations: 0.7002 MB / 0.5691 GB, free: 12.67 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 4.71e-05/0.3713, allocations: 12.48 kB / 0.5691 GB, free: 12.66 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.605e-05/0.3713, allocations: 15.44 kB / 0.5691 GB, free: 12.64 MB / 414.1 MB
Notification: Performance of SimCode: time 3.91e-07/0.3713, allocations: 0 / 0.5691 GB, free: 12.64 MB / 414.1 MB
Notification: Performance of Templates: time 0.004738/0.3761, allocations: 1.542 MB / 0.5706 GB, free: 11.11 MB / 414.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test65.makefile [Timeout 660]
(rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test65.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test65  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test65/Test65.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test65.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.478377120569348]