Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.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.002163/0.002163, allocations: 109 kB / 21.23 MB, free: 0.6719 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.001576/0.001576, allocations: 209.2 kB / 24.53 MB, free: 4.035 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.649/1.649, allocations: 230.3 MB / 257.9 MB, free: 8.25 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.2797/0.2797, allocations: 46.89 MB / 361.3 MB, free: 4.441 MB / 286.1 MB
"
[Timeout remaining time 179]
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.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34")
translateModel(ModelicaTest.Tables.CombiTimeTable.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002501/0.002501, allocations: 75.88 kB / 0.4971 GB, free: 7.516 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4297/0.4322, allocations: 66.02 MB / 0.5616 GB, free: 4.578 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test34): time 0.003586/0.4358, allocations: 1.759 MB / 0.5633 GB, free: 2.809 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001954/0.4378, allocations: 1.041 MB / 0.5643 GB, free: 1.762 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 8.599e-05/0.4378, allocations: 0 / 0.5643 GB, free: 1.762 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0003105/0.4382, allocations: 51.69 kB / 0.5644 GB, free: 1.711 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0003354/0.4385, allocations: 99.55 kB / 0.5645 GB, free: 1.613 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0002252/0.4387, allocations: 79.67 kB / 0.5646 GB, free: 1.535 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.000189/0.4389, allocations: 99.73 kB / 0.5647 GB, free: 1.438 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 9.897e-05/0.439, allocations: 8 kB / 0.5647 GB, free: 1.43 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001082/0.4391, allocations: 51.72 kB / 0.5647 GB, free: 1.379 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 8.02e-05/0.4392, allocations: 31.8 kB / 0.5647 GB, free: 1.348 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 2.108e-05/0.4392, allocations: 7.984 kB / 0.5647 GB, free: 1.34 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001262/0.4393, allocations: 35.98 kB / 0.5648 GB, free: 1.305 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 6.232e-05/0.4394, allocations: 23.92 kB / 0.5648 GB, free: 1.281 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 5.876e-05/0.4395, allocations: 35.73 kB / 0.5648 GB, free: 1.246 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0002381/0.4397, allocations: 126 kB / 0.565 GB, free: 1.129 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.4397, allocations: 4 kB / 0.565 GB, free: 1.125 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.734e-06/0.4397, allocations: 3.938 kB / 0.565 GB, free: 1.121 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 6.212e-06/0.4397, allocations: 0 / 0.565 GB, free: 1.121 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.0006181/0.4403, allocations: 353.5 kB / 0.5653 GB, free: 0.7461 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.4404, allocations: 8.031 kB / 0.5653 GB, free: 0.7383 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.689e-05/0.4404, allocations: 8.891 kB / 0.5653 GB, free: 0.7305 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003093/0.4407, allocations: 151 kB / 0.5655 GB, free: 0.5586 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.682e-05/0.4407, allocations: 4.375 kB / 0.5655 GB, free: 0.5547 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.467e-05/0.4408, allocations: 4.375 kB / 0.5655 GB, free: 0.5508 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001687/0.4409, allocations: 57.98 kB / 0.5655 GB, free: 500 kB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.4409, allocations: 0 / 0.5655 GB, free: 500 kB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.441, allocations: 4 kB / 0.5655 GB, free: 496 kB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.441, allocations: 0 / 0.5655 GB, free: 496 kB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 8.375e-05/0.441, allocations: 23.92 kB / 0.5656 GB, free: 472 kB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003981/0.4414, allocations: 259.9 kB / 0.5658 GB, free: 168 kB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.000182/0.4416, allocations: 54.67 kB / 0.5659 GB, free: 104 kB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 6.118e-05/0.4417, allocations: 20.84 kB / 0.5659 GB, free: 80 kB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.858e-05/0.4417, allocations: 11.97 kB / 0.5659 GB, free: 68 kB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001902/0.4419, allocations: 67.41 kB / 0.5659 GB, free: 15.98 MB / 414.1 MB
Notification: Performance of pre-optimization done (n=6): time 1.422e-06/0.4419, allocations: 0 / 0.5659 GB, free: 15.98 MB / 414.1 MB
Notification: Performance of matching and sorting (n=8): time 0.0006209/0.4425, allocations: 177.4 kB / 0.5661 GB, free: 15.8 MB / 414.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.85e-05/0.4426, allocations: 59.39 kB / 0.5662 GB, free: 15.73 MB / 414.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000215/0.4428, allocations: 194.2 kB / 0.5664 GB, free: 15.54 MB / 414.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.507e-05/0.4428, allocations: 33.7 kB / 0.5664 GB, free: 15.5 MB / 414.1 MB
Notification: Performance of collectInitialEqns (initialization): time 8.03e-05/0.4429, allocations: 100.1 kB / 0.5665 GB, free: 15.39 MB / 414.1 MB
Notification: Performance of collectInitialBindings (initialization): time 3.589e-05/0.4429, allocations: 27.78 kB / 0.5665 GB, free: 15.37 MB / 414.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.239e-05/0.443, allocations: 17.72 kB / 0.5665 GB, free: 15.34 MB / 414.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001787/0.4432, allocations: 330.8 kB / 0.5668 GB, free: 15.01 MB / 414.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 7.185e-05/0.4432, allocations: 23.98 kB / 0.5669 GB, free: 14.99 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 7.252e-05/0.4433, allocations: 33.7 kB / 0.5669 GB, free: 14.95 MB / 414.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001254/0.4434, allocations: 65.64 kB / 0.567 GB, free: 14.88 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.4434, allocations: 0 / 0.567 GB, free: 14.88 MB / 414.1 MB
Notification: Performance of matching and sorting (n=10) (initialization): time 0.000192/0.4436, allocations: 97.5 kB / 0.5671 GB, free: 14.78 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.4436, allocations: 8 kB / 0.5671 GB, free: 14.77 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.4436, allocations: 7.969 kB / 0.5671 GB, free: 14.77 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.4437, allocations: 192 / 0.5671 GB, free: 14.77 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.603e-05/0.4438, allocations: 16.36 kB / 0.5671 GB, free: 14.75 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.4438, allocations: 7.938 kB / 0.5671 GB, free: 14.74 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.61e-05/0.4438, allocations: 4 kB / 0.5671 GB, free: 14.74 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.122e-05/0.4438, allocations: 8 kB / 0.5671 GB, free: 14.73 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.000123/0.4439, allocations: 131.1 kB / 0.5672 GB, free: 14.59 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.783e-05/0.444, allocations: 15.91 kB / 0.5672 GB, free: 14.58 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002794/0.4443, allocations: 119.1 kB / 0.5674 GB, free: 14.45 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.4443, allocations: 0 / 0.5674 GB, free: 14.45 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.4443, allocations: 0 / 0.5674 GB, free: 14.45 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.4443, allocations: 0 / 0.5674 GB, free: 14.45 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005096/0.4448, allocations: 366.3 kB / 0.5677 GB, free: 14.04 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.4448, allocations: 0 / 0.5677 GB, free: 14.04 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.373e-05/0.4448, allocations: 11.98 kB / 0.5677 GB, free: 14.02 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 4.85e-06/0.4448, allocations: 4 kB / 0.5677 GB, free: 14.02 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.4448, allocations: 8.031 kB / 0.5677 GB, free: 14.01 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.4448, allocations: 3.938 kB / 0.5677 GB, free: 14.01 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.4448, allocations: 0 / 0.5677 GB, free: 14.01 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002621/0.4451, allocations: 204.2 kB / 0.5679 GB, free: 13.79 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 1.733e-05/0.4451, allocations: 3.953 kB / 0.5679 GB, free: 13.79 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.875e-05/0.4451, allocations: 15.92 kB / 0.5679 GB, free: 13.77 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.06e-05/0.4452, allocations: 3.938 kB / 0.568 GB, free: 13.77 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.771e-05/0.4453, allocations: 11.98 kB / 0.568 GB, free: 13.75 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.786e-05/0.4453, allocations: 4 kB / 0.568 GB, free: 13.75 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 0.0001454/0.4454, allocations: 152.2 kB / 0.5681 GB, free: 13.6 MB / 414.1 MB
Notification: Performance of sort global known variables: time 7e-08/0.4454, allocations: 0 / 0.5681 GB, free: 13.6 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.0002682/0.4457, allocations: 23.94 kB / 0.5681 GB, free: 13.58 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.001762/0.4474, allocations: 457.2 kB / 0.5686 GB, free: 13.29 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.0002104/0.4477, allocations: 59.89 kB / 0.5686 GB, free: 13.23 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.4477, allocations: 0 / 0.5686 GB, free: 13.23 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 7.943e-05/0.4477, allocations: 27.92 kB / 0.5687 GB, free: 13.2 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003676/0.4481, allocations: 28.42 kB / 0.5687 GB, free: 13.18 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005501/0.4487, allocations: 235.1 kB / 0.5689 GB, free: 12.92 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003801/0.449, allocations: 0.708 MB / 0.5696 GB, free: 12.18 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 6.02e-05/0.4491, allocations: 24.89 kB / 0.5696 GB, free: 12.16 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.003e-05/0.4491, allocations: 15.44 kB / 0.5696 GB, free: 12.14 MB / 414.1 MB
Notification: Performance of SimCode: time 3.1e-07/0.4491, allocations: 4 kB / 0.5696 GB, free: 12.14 MB / 414.1 MB
Notification: Performance of Templates: time 0.005406/0.4545, allocations: 1.765 MB / 0.5714 GB, free: 10.39 MB / 414.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.makefile [Timeout 660]
(rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test34/Test34.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.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.688196615315974]