Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.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.001815/0.001815, allocations: 106.5 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.002761/0.002761, allocations: 213.3 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.505/1.505, allocations: 230.3 MB / 258 MB, free: 8.27 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.2389/0.2389, allocations: 46.89 MB / 361.3 MB, free: 4.461 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.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37")
translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002337/0.002337, allocations: 79.88 kB / 0.4971 GB, free: 7.539 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3524/0.3547, allocations: 66.03 MB / 0.5616 GB, free: 4.625 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.003315/0.358, allocations: 1.702 MB / 0.5633 GB, free: 2.91 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001813/0.3598, allocations: 1.025 MB / 0.5643 GB, free: 1.879 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 6.923e-05/0.3599, allocations: 3.938 kB / 0.5643 GB, free: 1.875 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0003131/0.3602, allocations: 59.8 kB / 0.5643 GB, free: 1.816 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.000296/0.3605, allocations: 111.5 kB / 0.5644 GB, free: 1.707 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0001692/0.3607, allocations: 75.72 kB / 0.5645 GB, free: 1.633 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0001697/0.3608, allocations: 107.6 kB / 0.5646 GB, free: 1.527 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 4.819e-05/0.3609, allocations: 8.234 kB / 0.5646 GB, free: 1.52 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 9.985e-05/0.361, allocations: 51.77 kB / 0.5647 GB, free: 1.469 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001083/0.3611, allocations: 55.75 kB / 0.5647 GB, free: 1.414 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 1.536e-05/0.3611, allocations: 0 / 0.5647 GB, free: 1.414 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 7.762e-05/0.3612, allocations: 28 kB / 0.5647 GB, free: 1.387 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 5.654e-05/0.3613, allocations: 23.86 kB / 0.5648 GB, free: 1.363 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 6.034e-05/0.3613, allocations: 31.8 kB / 0.5648 GB, free: 1.332 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0001888/0.3615, allocations: 110.1 kB / 0.5649 GB, free: 1.23 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.3615, allocations: 3.938 kB / 0.5649 GB, free: 1.227 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.232e-06/0.3615, allocations: 0 / 0.5649 GB, free: 1.227 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 8.957e-06/0.3615, allocations: 0 / 0.5649 GB, free: 1.227 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.0005437/0.3621, allocations: 337.6 kB / 0.5652 GB, free: 0.8672 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.3621, allocations: 8.031 kB / 0.5652 GB, free: 0.8594 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.717e-05/0.3621, allocations: 16.78 kB / 0.5652 GB, free: 0.8438 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002744/0.3624, allocations: 155 kB / 0.5654 GB, free: 0.668 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.796e-05/0.3624, allocations: 4.375 kB / 0.5654 GB, free: 0.6641 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.373e-05/0.3624, allocations: 4.375 kB / 0.5654 GB, free: 0.6602 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001479/0.3626, allocations: 49.98 kB / 0.5654 GB, free: 0.6055 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.3626, allocations: 4 kB / 0.5655 GB, free: 0.6016 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.3626, allocations: 0 / 0.5655 GB, free: 0.6016 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.3626, allocations: 0 / 0.5655 GB, free: 0.6016 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 6.796e-05/0.3627, allocations: 15.98 kB / 0.5655 GB, free: 0.5859 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002048/0.3629, allocations: 152.7 kB / 0.5656 GB, free: 404 kB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001761/0.3631, allocations: 58.55 kB / 0.5657 GB, free: 336 kB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 5.508e-05/0.3631, allocations: 16.86 kB / 0.5657 GB, free: 316 kB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.453e-05/0.3631, allocations: 0 / 0.5657 GB, free: 316 kB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000161/0.3633, allocations: 67.33 kB / 0.5657 GB, free: 236 kB / 398.1 MB
Notification: Performance of pre-optimization done (n=5): time 3.086e-06/0.3633, allocations: 3.984 kB / 0.5658 GB, free: 232 kB / 398.1 MB
Notification: Performance of matching and sorting (n=5): time 0.0002854/0.3636, allocations: 101.5 kB / 0.5658 GB, free: 124 kB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.066e-05/0.3636, allocations: 55.41 kB / 0.5659 GB, free: 56 kB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002203/0.3639, allocations: 202.2 kB / 0.5661 GB, free: 15.85 MB / 414.1 MB
Notification: Performance of collectPreVariables (initialization): time 1.808e-05/0.3639, allocations: 25.7 kB / 0.5661 GB, free: 15.82 MB / 414.1 MB
Notification: Performance of collectInitialEqns (initialization): time 6.587e-05/0.3639, allocations: 100.1 kB / 0.5662 GB, free: 15.71 MB / 414.1 MB
Notification: Performance of collectInitialBindings (initialization): time 3.224e-05/0.364, allocations: 15.91 kB / 0.5662 GB, free: 15.7 MB / 414.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.596e-05/0.364, allocations: 17.72 kB / 0.5662 GB, free: 15.68 MB / 414.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001491/0.3642, allocations: 322.8 kB / 0.5666 GB, free: 15.35 MB / 414.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 7.315e-05/0.3642, allocations: 19.98 kB / 0.5666 GB, free: 15.33 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 5.484e-05/0.3643, allocations: 25.7 kB / 0.5666 GB, free: 15.3 MB / 414.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001049/0.3644, allocations: 53.89 kB / 0.5667 GB, free: 15.24 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3644, allocations: 0 / 0.5667 GB, free: 15.24 MB / 414.1 MB
Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001574/0.3646, allocations: 81.53 kB / 0.5667 GB, free: 15.16 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.3646, allocations: 11.98 kB / 0.5667 GB, free: 15.14 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.3646, allocations: 0 / 0.5667 GB, free: 15.14 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.3646, allocations: 4.031 kB / 0.5667 GB, free: 15.14 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.854e-05/0.3647, allocations: 15.94 kB / 0.5668 GB, free: 15.12 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.3647, allocations: 0 / 0.5668 GB, free: 15.12 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.225e-05/0.3647, allocations: 7.938 kB / 0.5668 GB, free: 15.12 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.3647, allocations: 4 kB / 0.5668 GB, free: 15.11 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.0001106/0.3648, allocations: 125.5 kB / 0.5669 GB, free: 14.98 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.243e-05/0.3649, allocations: 11.89 kB / 0.5669 GB, free: 14.97 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002151/0.3651, allocations: 86.77 kB / 0.567 GB, free: 14.87 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.3651, allocations: 4 kB / 0.567 GB, free: 14.87 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.3651, allocations: 0 / 0.567 GB, free: 14.87 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.3651, allocations: 3.984 kB / 0.567 GB, free: 14.86 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001402/0.3652, allocations: 156.7 kB / 0.5671 GB, free: 14.67 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.3652, allocations: 11.88 kB / 0.5672 GB, free: 14.66 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.004e-05/0.3652, allocations: 3.938 kB / 0.5672 GB, free: 14.65 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.3652, allocations: 4 kB / 0.5672 GB, free: 14.65 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.3653, allocations: 7.984 kB / 0.5672 GB, free: 14.64 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.3653, allocations: 0 / 0.5672 GB, free: 14.64 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.3653, allocations: 0 / 0.5672 GB, free: 14.64 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001916/0.3654, allocations: 101.3 kB / 0.5673 GB, free: 14.52 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 2.254e-05/0.3655, allocations: 15.88 kB / 0.5673 GB, free: 14.51 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.403e-05/0.3655, allocations: 8 kB / 0.5673 GB, free: 14.5 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.741e-05/0.3655, allocations: 4 kB / 0.5673 GB, free: 14.5 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.329e-05/0.3656, allocations: 3.984 kB / 0.5673 GB, free: 14.49 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.313e-05/0.3656, allocations: 7.938 kB / 0.5673 GB, free: 14.48 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 0.0001361/0.3657, allocations: 148.2 kB / 0.5674 GB, free: 14.34 MB / 414.1 MB
Notification: Performance of sort global known variables: time 9e-08/0.3657, allocations: 4 kB / 0.5674 GB, free: 14.34 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.0002056/0.3659, allocations: 19.92 kB / 0.5675 GB, free: 14.32 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.001431/0.3674, allocations: 401 kB / 0.5678 GB, free: 14.05 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.0001583/0.3675, allocations: 35.98 kB / 0.5679 GB, free: 14.02 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.3675, allocations: 0 / 0.5679 GB, free: 14.02 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 6.135e-05/0.3676, allocations: 24.05 kB / 0.5679 GB, free: 13.99 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002589/0.3678, allocations: 35.42 kB / 0.5679 GB, free: 13.96 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004039/0.3682, allocations: 209.9 kB / 0.5681 GB, free: 13.73 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000341/0.3686, allocations: 0.7002 MB / 0.5688 GB, free: 13.01 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 5.046e-05/0.3686, allocations: 20.33 kB / 0.5688 GB, free: 12.99 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 8.565e-05/0.3687, allocations: 15.44 kB / 0.5689 GB, free: 12.98 MB / 414.1 MB
Notification: Performance of SimCode: time 2.91e-07/0.3687, allocations: 0 / 0.5689 GB, free: 12.98 MB / 414.1 MB
Notification: Performance of Templates: time 0.004697/0.3734, allocations: 1.523 MB / 0.5703 GB, free: 11.46 MB / 414.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.makefile [Timeout 660]
(rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.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.169172335416079]