Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_s.y.1.|d_t_s.y|t_min.y.1.|d_t_min.y|t_h.y.1.|d_t_h.y|t_d.y.1.|d_t_d.y|t_ms.y.1.|d_t_ms.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67") translateModel(ModelicaTest.Tables.CombiTimeTable.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_s.y.1.|d_t_s.y|t_min.y.1.|d_t_min.y|t_h.y.1.|d_t_h.y|t_d.y.1.|d_t_d.y|t_ms.y.1.|d_t_ms.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001734/0.001734, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.338/1.338, allocations: 226.7 MB / 245.5 MB, free: 6.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009652/0.0009651, allocations: 85.48 kB / 296.7 MB, free: 6.469 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3486/0.3486, allocations: 44.84 MB / 392.7 MB, free: 34.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001082/0.001082, allocations: 63.91 kB / 465.5 MB, free: 12.08 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3263/0.3274, allocations: 62.01 MB / 0.5152 GB, free: 37.88 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.002951/0.3303, allocations: 2.419 MB / 0.5175 GB, free: 36.15 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001699/0.3321, allocations: 1.442 MB / 0.5189 GB, free: 35.16 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001135/0.3322, allocations: 6.938 kB / 0.5189 GB, free: 35.16 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003999/0.3326, allocations: 280.8 kB / 0.5192 GB, free: 35.11 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003888/0.333, allocations: 299.8 kB / 0.5195 GB, free: 34.97 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005912/0.3336, allocations: 354.3 kB / 0.5198 GB, free: 34.8 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000373/0.334, allocations: 0.5259 MB / 0.5203 GB, free: 34.59 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001218/0.3341, allocations: 62.2 kB / 0.5204 GB, free: 34.55 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002081/0.3343, allocations: 227.4 kB / 0.5206 GB, free: 34.47 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001992/0.3345, allocations: 269.5 kB / 0.5209 GB, free: 34.38 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.805e-05/0.3346, allocations: 10.16 kB / 0.5209 GB, free: 34.38 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001062/0.3347, allocations: 50.23 kB / 0.5209 GB, free: 34.37 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.095e-05/0.3348, allocations: 112.4 kB / 0.521 GB, free: 34.32 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001028/0.3349, allocations: 175.4 kB / 0.5212 GB, free: 34.2 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002659/0.3352, allocations: 406.6 kB / 0.5216 GB, free: 34.02 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.3352, allocations: 0 / 0.5216 GB, free: 34.02 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.3352, allocations: 0 / 0.5216 GB, free: 34.02 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.3352, allocations: 0 / 0.5216 GB, free: 34.02 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0008828/0.3361, allocations: 0.7917 MB / 0.5224 GB, free: 33.38 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.071e-05/0.3361, allocations: 9.938 kB / 0.5224 GB, free: 33.38 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.607e-05/0.3362, allocations: 57.03 kB / 0.5224 GB, free: 33.35 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003972/0.3366, allocations: 419 kB / 0.5228 GB, free: 33.04 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.848e-05/0.3366, allocations: 10.28 kB / 0.5228 GB, free: 33.03 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.003e-05/0.3367, allocations: 20.08 kB / 0.5229 GB, free: 33.02 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003161/0.337, allocations: 199.1 kB / 0.5231 GB, free: 32.91 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.56e-05/0.337, allocations: 14.08 kB / 0.5231 GB, free: 32.9 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.736e-05/0.337, allocations: 4 kB / 0.5231 GB, free: 32.9 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.3371, allocations: 6.125 kB / 0.5231 GB, free: 32.9 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002143/0.3373, allocations: 98.89 kB / 0.5232 GB, free: 32.87 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006087/0.3379, allocations: 0.8564 MB / 0.524 GB, free: 32.16 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000496/0.3384, allocations: 295 kB / 0.5243 GB, free: 31.96 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001603/0.3386, allocations: 98.59 kB / 0.5244 GB, free: 31.9 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.835e-05/0.3386, allocations: 13.36 kB / 0.5244 GB, free: 31.89 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003525/0.339, allocations: 235.1 kB / 0.5246 GB, free: 31.75 MB / 378.7 MB Notification: Performance of pre-optimization done (n=30): time 1.463e-06/0.339, allocations: 0 / 0.5246 GB, free: 31.75 MB / 378.7 MB Notification: Performance of matching and sorting (n=40): time 0.00156/0.3405, allocations: 1.005 MB / 0.5256 GB, free: 31.24 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.126e-05/0.3406, allocations: 167.6 kB / 0.5258 GB, free: 31.05 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005393/0.3411, allocations: 0.6481 MB / 0.5264 GB, free: 30.79 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.985e-05/0.3412, allocations: 39.27 kB / 0.5264 GB, free: 30.75 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001014/0.3413, allocations: 240.7 kB / 0.5267 GB, free: 30.55 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.232e-05/0.3413, allocations: 127.5 kB / 0.5268 GB, free: 30.46 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.996e-05/0.3414, allocations: 74.02 kB / 0.5268 GB, free: 30.41 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.927e-05/0.3415, allocations: 369.9 kB / 0.5272 GB, free: 30.08 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001891/0.3417, allocations: 108.1 kB / 0.5273 GB, free: 30.04 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002102/0.3419, allocations: 177.8 kB / 0.5275 GB, free: 29.91 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004398/0.3424, allocations: 303.1 kB / 0.5278 GB, free: 29.72 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3424, allocations: 0 / 0.5278 GB, free: 29.72 MB / 378.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005877/0.343, allocations: 406.4 kB / 0.5282 GB, free: 29.55 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.343, allocations: 5.531 kB / 0.5282 GB, free: 29.55 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.343, allocations: 10.81 kB / 0.5282 GB, free: 29.54 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.343, allocations: 5.594 kB / 0.5282 GB, free: 29.54 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002494/0.3433, allocations: 81.22 kB / 0.5282 GB, free: 29.53 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-06/0.3433, allocations: 5.719 kB / 0.5283 GB, free: 29.53 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001719/0.3435, allocations: 20.12 kB / 0.5283 GB, free: 29.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.157e-05/0.3435, allocations: 21.41 kB / 0.5283 GB, free: 29.52 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.t_s.nextTimeEvent,$whenCondition5,t_s.nextTimeEventScaled,$PRE.t_s.nextTimeEventScaled,t_s.nextTimeEvent,$PRE.t_min.nextTimeEvent,$whenCondition4,t_min.nextTimeEventScaled,$PRE.t_min.nextTimeEventScaled,t_min.nextTimeEvent,$PRE.t_h.nextTimeEvent,$whenCondition3,t_h.nextTimeEventScaled,$PRE.t_h.nextTimeEventScaled,t_h.nextTimeEvent,$PRE.t_d.nextTimeEvent,$whenCondition2,t_d.nextTimeEventScaled,$PRE.t_d.nextTimeEventScaled,t_d.nextTimeEvent,$PRE.t_ms.nextTimeEvent,$whenCondition1,t_ms.nextTimeEventScaled,$PRE.t_ms.nextTimeEventScaled,t_ms.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * 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.0001458/0.3436, allocations: 205.7 kB / 0.5285 GB, free: 29.36 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.599e-05/0.3437, allocations: 64.16 kB / 0.5286 GB, free: 29.33 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.008e-05/0.3438, allocations: 65.92 kB / 0.5286 GB, free: 29.3 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.3438, allocations: 5.531 kB / 0.5286 GB, free: 29.3 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.3438, allocations: 0 / 0.5286 GB, free: 29.3 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.002e-06/0.3438, allocations: 6.125 kB / 0.5286 GB, free: 29.3 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001123/0.345, allocations: 1.286 MB / 0.5299 GB, free: 28.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.345, allocations: 5.891 kB / 0.5299 GB, free: 28.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001164/0.3451, allocations: 48.06 kB / 0.5299 GB, free: 28.41 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.3451, allocations: 3.625 kB / 0.5299 GB, free: 28.41 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.149e-05/0.3451, allocations: 17.92 kB / 0.53 GB, free: 28.4 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.3451, allocations: 9.875 kB / 0.53 GB, free: 28.39 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.3452, allocations: 6.75 kB / 0.53 GB, free: 28.39 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009784/0.3461, allocations: 1.576 MB / 0.5315 GB, free: 27.12 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.977e-05/0.3462, allocations: 122 kB / 0.5316 GB, free: 27 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.744e-05/0.3463, allocations: 16.56 kB / 0.5316 GB, free: 26.99 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003078/0.3466, allocations: 19.91 kB / 0.5317 GB, free: 26.98 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.389e-05/0.3467, allocations: 42.33 kB / 0.5317 GB, free: 26.97 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.998e-05/0.3467, allocations: 22.3 kB / 0.5317 GB, free: 26.96 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003695/0.3471, allocations: 489.7 kB / 0.5322 GB, free: 26.77 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3471, allocations: 0 / 0.5322 GB, free: 26.77 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005787/0.3477, allocations: 87.31 kB / 0.5323 GB, free: 26.75 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled,$whenCondition2,t_d.nextTimeEvent,t_d.nextTimeEventScaled,$whenCondition3,t_h.nextTimeEvent,t_h.nextTimeEventScaled,$whenCondition4,t_min.nextTimeEvent,t_min.nextTimeEventScaled,$whenCondition5,t_s.nextTimeEvent,t_s.nextTimeEventScaled) * Number of discrete states: 10 (t_s.nextTimeEvent,t_s.nextTimeEventScaled,t_min.nextTimeEvent,t_min.nextTimeEventScaled,t_h.nextTimeEvent,t_h.nextTimeEventScaled,t_d.nextTimeEvent,t_d.nextTimeEventScaled,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.0008672/0.3486, allocations: 473 kB / 0.5327 GB, free: 26.52 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004879/0.3491, allocations: 291.1 kB / 0.533 GB, free: 26.43 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.3491, allocations: 320 / 0.533 GB, free: 26.43 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000245/0.3493, allocations: 152.8 kB / 0.5331 GB, free: 26.38 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009514/0.3503, allocations: 145.2 kB / 0.5333 GB, free: 26.34 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001138/0.3514, allocations: 1.273 MB / 0.5345 GB, free: 25.48 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002437/0.3517, allocations: 0.8717 MB / 0.5354 GB, free: 24.77 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002068/0.3519, allocations: 82.2 kB / 0.5355 GB, free: 24.74 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001001/0.352, allocations: 55.52 kB / 0.5355 GB, free: 24.73 MB / 378.7 MB Notification: Performance of SimCode: time 3.2e-07/0.352, allocations: 0 / 0.5355 GB, free: 24.73 MB / 378.7 MB Notification: Performance of Templates: time 0.01032/0.3623, allocations: 5.613 MB / 0.541 GB, free: 24.23 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test67/Test67.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches