Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.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.001508/0.001508, 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.001907/0.001907, 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.443/1.443, allocations: 230.3 MB / 258 MB, free: 8.238 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.2363/0.2363, allocations: 46.9 MB / 361.3 MB, free: 4.441 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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9")
translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002236/0.002236, allocations: 83.86 kB / 0.4971 GB, free: 7.523 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3523/0.3546, allocations: 66.03 MB / 0.5616 GB, free: 4.609 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.003057/0.3576, allocations: 1.745 MB / 0.5633 GB, free: 2.852 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001694/0.3593, allocations: 1.041 MB / 0.5643 GB, free: 1.805 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 5.931e-05/0.3594, allocations: 7.938 kB / 0.5643 GB, free: 1.797 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.000285/0.3597, allocations: 79.69 kB / 0.5644 GB, free: 1.719 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.000309/0.36, allocations: 127.4 kB / 0.5645 GB, free: 1.594 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0001843/0.3602, allocations: 79.67 kB / 0.5646 GB, free: 1.516 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0001882/0.3603, allocations: 115.7 kB / 0.5647 GB, free: 1.402 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 8.62e-05/0.3604, allocations: 7.984 kB / 0.5647 GB, free: 1.395 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 9.99e-05/0.3605, allocations: 55.7 kB / 0.5648 GB, free: 1.34 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001081/0.3606, allocations: 67.75 kB / 0.5648 GB, free: 1.273 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 1.721e-05/0.3607, allocations: 4 kB / 0.5648 GB, free: 1.27 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001051/0.3608, allocations: 47.97 kB / 0.5649 GB, free: 1.223 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 5.679e-05/0.3608, allocations: 19.92 kB / 0.5649 GB, free: 1.203 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 5.426e-05/0.3609, allocations: 39.69 kB / 0.5649 GB, free: 1.164 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0002045/0.3611, allocations: 126 kB / 0.5651 GB, free: 1.047 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.3611, allocations: 0 / 0.5651 GB, free: 1.047 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.242e-06/0.3611, allocations: 0 / 0.5651 GB, free: 1.047 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 4.478e-06/0.3611, allocations: 4 kB / 0.5651 GB, free: 1.043 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: 6
 * Number of variables: 6
Notification: Performance of Generate backend data structure: time 0.0005262/0.3616, allocations: 365.4 kB / 0.5654 GB, free: 0.6562 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.123e-05/0.3616, allocations: 8.031 kB / 0.5654 GB, free: 0.6484 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.433e-05/0.3617, allocations: 16.84 kB / 0.5654 GB, free: 0.6328 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002358/0.3619, allocations: 150.8 kB / 0.5656 GB, free: 472 kB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.3619, allocations: 4.375 kB / 0.5656 GB, free: 468 kB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.033e-05/0.362, allocations: 8.375 kB / 0.5656 GB, free: 460 kB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001462/0.3621, allocations: 53.98 kB / 0.5656 GB, free: 400 kB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.3621, allocations: 0 / 0.5656 GB, free: 400 kB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.3621, allocations: 4 kB / 0.5657 GB, free: 396 kB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.3621, allocations: 0 / 0.5657 GB, free: 396 kB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 9.489e-05/0.3622, allocations: 27.92 kB / 0.5657 GB, free: 368 kB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004011/0.3626, allocations: 271.9 kB / 0.5659 GB, free: 52 kB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002001/0.3628, allocations: 54.69 kB / 0.566 GB, free: 15.99 MB / 414.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 5.526e-05/0.3629, allocations: 20.84 kB / 0.566 GB, free: 15.96 MB / 414.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 1.878e-05/0.3629, allocations: 0 / 0.566 GB, free: 15.96 MB / 414.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001454/0.363, allocations: 71.33 kB / 0.5661 GB, free: 15.88 MB / 414.1 MB
Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.363, allocations: 0 / 0.5661 GB, free: 15.88 MB / 414.1 MB
Notification: Performance of matching and sorting (n=8): time 0.0005213/0.3636, allocations: 177.3 kB / 0.5662 GB, free: 15.7 MB / 414.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.8e-05/0.3636, allocations: 55.41 kB / 0.5663 GB, free: 15.64 MB / 414.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002389/0.3639, allocations: 219.6 kB / 0.5665 GB, free: 15.4 MB / 414.1 MB
Notification: Performance of collectPreVariables (initialization): time 1.933e-05/0.3639, allocations: 25.7 kB / 0.5665 GB, free: 15.37 MB / 414.1 MB
Notification: Performance of collectInitialEqns (initialization): time 7.077e-05/0.3639, allocations: 112.1 kB / 0.5666 GB, free: 15.26 MB / 414.1 MB
Notification: Performance of collectInitialBindings (initialization): time 2.768e-05/0.364, allocations: 19.8 kB / 0.5667 GB, free: 15.24 MB / 414.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.52e-05/0.364, allocations: 33.64 kB / 0.5667 GB, free: 15.2 MB / 414.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001594/0.3642, allocations: 330.8 kB / 0.567 GB, free: 14.87 MB / 414.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 5.74e-05/0.3642, allocations: 16 kB / 0.567 GB, free: 14.85 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 7.158e-05/0.3643, allocations: 41.64 kB / 0.5671 GB, free: 14.8 MB / 414.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001189/0.3644, allocations: 61.64 kB / 0.5671 GB, free: 14.74 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.3644, allocations: 0 / 0.5671 GB, free: 14.74 MB / 414.1 MB
Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002/0.3646, allocations: 109.5 kB / 0.5672 GB, free: 14.62 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.3646, allocations: 8.031 kB / 0.5672 GB, free: 14.62 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.89e-06/0.3646, allocations: 0 / 0.5672 GB, free: 14.62 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.3647, allocations: 4 kB / 0.5672 GB, free: 14.61 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.47e-05/0.3647, allocations: 12 kB / 0.5672 GB, free: 14.6 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.3647, allocations: 0 / 0.5672 GB, free: 14.6 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.069e-05/0.3648, allocations: 11.98 kB / 0.5673 GB, free: 14.59 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-06/0.3648, allocations: 0 / 0.5673 GB, free: 14.59 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 (10):
 * Single equations (assignments): 10
 * 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.0001207/0.3649, allocations: 132.2 kB / 0.5674 GB, free: 14.45 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.884e-05/0.365, allocations: 19.89 kB / 0.5674 GB, free: 14.43 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002509/0.3652, allocations: 123.1 kB / 0.5675 GB, free: 14.3 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.3652, allocations: 0 / 0.5675 GB, free: 14.3 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.3652, allocations: 4 kB / 0.5675 GB, free: 14.3 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.3652, allocations: 3.984 kB / 0.5675 GB, free: 14.29 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004901/0.3657, allocations: 366.3 kB / 0.5679 GB, free: 13.88 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.3657, allocations: 384 / 0.5679 GB, free: 13.88 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.543e-05/0.3657, allocations: 12 kB / 0.5679 GB, free: 13.87 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.3657, allocations: 0 / 0.5679 GB, free: 13.87 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.54e-05/0.3658, allocations: 16.02 kB / 0.5679 GB, free: 13.86 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-06/0.3658, allocations: 3.938 kB / 0.5679 GB, free: 13.85 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3658, allocations: 0 / 0.5679 GB, free: 13.85 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002459/0.366, allocations: 200.2 kB / 0.5681 GB, free: 13.64 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 1.785e-05/0.366, allocations: 11.95 kB / 0.5681 GB, free: 13.62 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.524e-05/0.3661, allocations: 4 kB / 0.5681 GB, free: 13.62 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.495e-05/0.3661, allocations: 11.92 kB / 0.5681 GB, free: 13.61 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.672e-05/0.3662, allocations: 4 kB / 0.5681 GB, free: 13.61 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.869e-05/0.3662, allocations: 8 kB / 0.5681 GB, free: 13.6 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 0.0002322/0.3664, allocations: 177.1 kB / 0.5683 GB, free: 13.43 MB / 414.1 MB
Notification: Performance of sort global known variables: time 9e-08/0.3664, allocations: 0 / 0.5683 GB, free: 13.43 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.0002563/0.3667, allocations: 23.89 kB / 0.5683 GB, free: 13.4 MB / 414.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 2
 * 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 (8):
 * Single equations (assignments): 6
 * 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.001641/0.3683, allocations: 450.6 kB / 0.5688 GB, free: 13.12 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.0002602/0.3686, allocations: 59.89 kB / 0.5688 GB, free: 13.06 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 5.691e-06/0.3686, allocations: 4 kB / 0.5688 GB, free: 13.05 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 7.206e-05/0.3687, allocations: 23.92 kB / 0.5688 GB, free: 13.03 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003412/0.369, allocations: 39.36 kB / 0.5689 GB, free: 13 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004524/0.3694, allocations: 251.7 kB / 0.5691 GB, free: 12.72 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003475/0.3698, allocations: 0.7118 MB / 0.5698 GB, free: 11.98 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 4.756e-05/0.3698, allocations: 16.95 kB / 0.5698 GB, free: 11.97 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.703e-05/0.3699, allocations: 23.44 kB / 0.5699 GB, free: 11.95 MB / 414.1 MB
Notification: Performance of SimCode: time 3.01e-07/0.3699, allocations: 0 / 0.5699 GB, free: 11.95 MB / 414.1 MB
Notification: Performance of Templates: time 0.005056/0.3749, allocations: 1.782 MB / 0.5716 GB, free: 10.18 MB / 414.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.makefile [Timeout 660]
(rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.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.030220853164792]