Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.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.00159/0.00159, 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.002175/0.002175, 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.514/1.514, 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.2485/0.2485, 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.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39")
translateModel(ModelicaTest.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.00229/0.00229, allocations: 79.86 kB / 0.4971 GB, free: 7.539 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3492/0.3514, allocations: 66.03 MB / 0.5616 GB, free: 4.625 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.003351/0.3548, allocations: 1.706 MB / 0.5633 GB, free: 2.906 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.00181/0.3566, allocations: 1.021 MB / 0.5643 GB, free: 1.879 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 8.572e-05/0.3567, allocations: 3.938 kB / 0.5643 GB, free: 1.875 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0003351/0.357, allocations: 67.78 kB / 0.5643 GB, free: 1.809 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0003326/0.3574, allocations: 111.5 kB / 0.5644 GB, free: 1.699 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0001863/0.3575, allocations: 67.73 kB / 0.5645 GB, free: 1.633 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0002038/0.3577, allocations: 107.6 kB / 0.5646 GB, free: 1.527 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 4.811e-05/0.3578, allocations: 8.219 kB / 0.5646 GB, free: 1.52 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001135/0.3579, allocations: 55.77 kB / 0.5647 GB, free: 1.465 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001241/0.358, allocations: 51.77 kB / 0.5647 GB, free: 1.414 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 1.694e-05/0.358, allocations: 0 / 0.5647 GB, free: 1.414 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 8.37e-05/0.3581, allocations: 31.98 kB / 0.5647 GB, free: 1.383 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 6.063e-05/0.3582, allocations: 23.86 kB / 0.5648 GB, free: 1.359 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 5.864e-05/0.3583, allocations: 31.75 kB / 0.5648 GB, free: 1.328 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0002137/0.3585, allocations: 114.1 kB / 0.5649 GB, free: 1.223 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.3585, allocations: 0 / 0.5649 GB, free: 1.223 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.803e-06/0.3585, allocations: 0 / 0.5649 GB, free: 1.223 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 5.901e-06/0.3585, allocations: 0 / 0.5649 GB, free: 1.223 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.0005824/0.3591, allocations: 337.6 kB / 0.5652 GB, free: 0.8633 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.3591, allocations: 8.031 kB / 0.5652 GB, free: 0.8555 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 5.476e-05/0.3592, allocations: 20.78 kB / 0.5653 GB, free: 0.8359 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.000308/0.3595, allocations: 155 kB / 0.5654 GB, free: 0.6602 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.723e-05/0.3595, allocations: 4.375 kB / 0.5654 GB, free: 0.6562 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.097e-05/0.3595, allocations: 384 / 0.5654 GB, free: 0.6562 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001488/0.3596, allocations: 53.98 kB / 0.5655 GB, free: 0.5977 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 7.545e-06/0.3596, allocations: 0 / 0.5655 GB, free: 0.5977 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.3597, allocations: 0 / 0.5655 GB, free: 0.5977 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.3597, allocations: 0 / 0.5655 GB, free: 0.5977 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 7.377e-05/0.3597, allocations: 15.98 kB / 0.5655 GB, free: 0.582 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002169/0.36, allocations: 156.7 kB / 0.5656 GB, free: 396 kB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001805/0.3601, allocations: 50.56 kB / 0.5657 GB, free: 336 kB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 6.073e-05/0.3602, allocations: 24.83 kB / 0.5657 GB, free: 308 kB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 1.904e-05/0.3602, allocations: 0 / 0.5657 GB, free: 308 kB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001712/0.3604, allocations: 67.33 kB / 0.5658 GB, free: 228 kB / 398.1 MB
Notification: Performance of pre-optimization done (n=5): time 1.182e-06/0.3604, allocations: 8 kB / 0.5658 GB, free: 220 kB / 398.1 MB
Notification: Performance of matching and sorting (n=5): time 0.000316/0.3607, allocations: 97.5 kB / 0.5659 GB, free: 116 kB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.016e-05/0.3608, allocations: 51.41 kB / 0.5659 GB, free: 52 kB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002448/0.361, allocations: 198.3 kB / 0.5661 GB, free: 15.85 MB / 414.1 MB
Notification: Performance of collectPreVariables (initialization): time 1.905e-05/0.361, allocations: 25.7 kB / 0.5661 GB, free: 15.82 MB / 414.1 MB
Notification: Performance of collectInitialEqns (initialization): time 6.864e-05/0.3611, allocations: 100.1 kB / 0.5662 GB, free: 15.71 MB / 414.1 MB
Notification: Performance of collectInitialBindings (initialization): time 3.537e-05/0.3611, allocations: 15.91 kB / 0.5662 GB, free: 15.7 MB / 414.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.367e-05/0.3612, allocations: 21.7 kB / 0.5663 GB, free: 15.67 MB / 414.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001875/0.3613, allocations: 326.8 kB / 0.5666 GB, free: 15.34 MB / 414.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 5.025e-05/0.3614, allocations: 12 kB / 0.5666 GB, free: 15.33 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 8.675e-05/0.3615, allocations: 29.69 kB / 0.5666 GB, free: 15.3 MB / 414.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001055/0.3616, allocations: 49.64 kB / 0.5666 GB, free: 15.24 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3616, allocations: 0 / 0.5666 GB, free: 15.24 MB / 414.1 MB
Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001738/0.3618, allocations: 85.78 kB / 0.5667 GB, free: 15.15 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.3618, allocations: 8 kB / 0.5667 GB, free: 15.14 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.3618, allocations: 64 / 0.5667 GB, free: 15.14 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.3618, allocations: 4 kB / 0.5667 GB, free: 15.14 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.472e-05/0.3619, allocations: 15.92 kB / 0.5668 GB, free: 15.12 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.3619, allocations: 0 / 0.5668 GB, free: 15.12 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.499e-05/0.3619, allocations: 11.94 kB / 0.5668 GB, free: 15.11 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.666e-06/0.362, 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.0001166/0.3621, allocations: 123.1 kB / 0.5669 GB, free: 14.98 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.407e-05/0.3621, allocations: 15.92 kB / 0.5669 GB, free: 14.96 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002212/0.3623, allocations: 86.77 kB / 0.567 GB, free: 14.86 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.3623, allocations: 0 / 0.567 GB, free: 14.86 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.3623, allocations: 0 / 0.567 GB, free: 14.86 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.3623, allocations: 3.938 kB / 0.567 GB, free: 14.86 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001657/0.3625, allocations: 160.7 kB / 0.5671 GB, free: 14.66 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.3625, allocations: 7.938 kB / 0.5672 GB, free: 14.65 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.026e-05/0.3625, allocations: 3.938 kB / 0.5672 GB, free: 14.65 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.3625, allocations: 4 kB / 0.5672 GB, free: 14.64 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.907e-06/0.3625, allocations: 0 / 0.5672 GB, free: 14.64 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.3625, allocations: 4 kB / 0.5672 GB, free: 14.64 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.3625, allocations: 0 / 0.5672 GB, free: 14.64 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001843/0.3627, allocations: 105.1 kB / 0.5673 GB, free: 14.52 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 2.305e-05/0.3627, allocations: 11.89 kB / 0.5673 GB, free: 14.51 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.219e-05/0.3628, allocations: 0 / 0.5673 GB, free: 14.51 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.796e-05/0.3628, allocations: 15.92 kB / 0.5673 GB, free: 14.49 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.279e-05/0.3628, allocations: 0 / 0.5673 GB, free: 14.49 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.225e-05/0.3629, allocations: 4 kB / 0.5673 GB, free: 14.49 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 0.0001333/0.363, allocations: 156.2 kB / 0.5674 GB, free: 14.34 MB / 414.1 MB
Notification: Performance of sort global known variables: time 9e-08/0.363, allocations: 0 / 0.5674 GB, free: 14.34 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.0002118/0.3632, allocations: 19.88 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.001508/0.3647, allocations: 403.6 kB / 0.5678 GB, free: 14.05 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.0001928/0.3649, allocations: 39.97 kB / 0.5679 GB, free: 14.01 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3649, allocations: 0 / 0.5679 GB, free: 14.01 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 6.225e-05/0.365, allocations: 20 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.0002938/0.3653, allocations: 39.28 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.0004729/0.3657, allocations: 205.9 kB / 0.5681 GB, free: 13.73 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003538/0.3661, allocations: 0.7002 MB / 0.5688 GB, free: 13.01 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 5.461e-05/0.3661, allocations: 28.56 kB / 0.5688 GB, free: 12.98 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.4e-05/0.3662, allocations: 15.44 kB / 0.5689 GB, free: 12.97 MB / 414.1 MB
Notification: Performance of SimCode: time 3.31e-07/0.3662, allocations: 4 kB / 0.5689 GB, free: 12.96 MB / 414.1 MB
Notification: Performance of Templates: time 0.004765/0.3709, allocations: 1.515 MB / 0.5703 GB, free: 11.46 MB / 414.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.makefile [Timeout 660]
(rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.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.207870966754854]