Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_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_cpp_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_cpp_ModelicaTest.Tables.CombiTimeTable.Test67") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001016/0.001016, allocations: 198.3 kB / 16.1 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.367/1.367, allocations: 226.6 MB / 243.4 MB, free: 6.445 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007261/0.0007258, allocations: 96.02 kB / 295.5 MB, free: 6.66 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3436/0.3436, allocations: 44.82 MB / 392.3 MB, free: 35.67 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002804/0.0002806, allocations: 8 kB / 465.3 MB, free: 12.65 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3614/0.3617, allocations: 62.96 MB / 0.5159 GB, free: 37.09 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.002613/0.3644, allocations: 1.983 MB / 0.5178 GB, free: 35.64 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002419/0.3668, allocations: 1.369 MB / 0.5192 GB, free: 34.7 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003981/0.3673, allocations: 14.84 kB / 0.5192 GB, free: 34.69 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006257/0.3679, allocations: 267.5 kB / 0.5194 GB, free: 34.64 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008441/0.3688, allocations: 283.2 kB / 0.5197 GB, free: 34.52 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009996/0.3698, allocations: 340.6 kB / 0.52 GB, free: 34.36 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007791/0.3706, allocations: 484.1 kB / 0.5205 GB, free: 34.15 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002014/0.3708, allocations: 52.48 kB / 0.5205 GB, free: 34.12 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004573/0.3713, allocations: 213.1 kB / 0.5207 GB, free: 34.05 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000382/0.3716, allocations: 240.9 kB / 0.521 GB, free: 33.96 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 8.786e-05/0.3717, allocations: 8.594 kB / 0.521 GB, free: 33.96 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001994/0.372, allocations: 45.61 kB / 0.521 GB, free: 33.96 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001393/0.3721, allocations: 98.73 kB / 0.5211 GB, free: 33.92 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001827/0.3723, allocations: 196.4 kB / 0.5213 GB, free: 33.77 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003664/0.3727, allocations: 301 kB / 0.5216 GB, free: 33.68 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.114e-06/0.3727, allocations: 0 / 0.5216 GB, free: 33.68 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.3727, allocations: 0 / 0.5216 GB, free: 33.68 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.424e-06/0.3727, allocations: 4 kB / 0.5216 GB, free: 33.68 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.001011/0.3737, allocations: 0.706 MB / 0.5223 GB, free: 33.1 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.3738, allocations: 8.594 kB / 0.5223 GB, free: 33.1 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.785e-05/0.3739, allocations: 58.72 kB / 0.5223 GB, free: 33.07 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004483/0.3743, allocations: 426 kB / 0.5228 GB, free: 32.74 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.658e-05/0.3744, allocations: 13.97 kB / 0.5228 GB, free: 32.73 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.71e-05/0.3744, allocations: 19.59 kB / 0.5228 GB, free: 32.73 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003741/0.3748, allocations: 201.5 kB / 0.523 GB, free: 32.62 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.69e-05/0.3748, allocations: 3.906 kB / 0.523 GB, free: 32.61 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.448e-05/0.3749, allocations: 6.844 kB / 0.523 GB, free: 32.61 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.3749, allocations: 7 kB / 0.523 GB, free: 32.61 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002258/0.3751, allocations: 99.7 kB / 0.5231 GB, free: 32.58 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007301/0.3758, allocations: 0.8609 MB / 0.5239 GB, free: 31.86 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004989/0.3763, allocations: 291.2 kB / 0.5242 GB, free: 31.67 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001668/0.3765, allocations: 103.5 kB / 0.5243 GB, free: 31.6 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.344e-05/0.3766, allocations: 5.875 kB / 0.5243 GB, free: 31.6 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004002/0.377, allocations: 234.6 kB / 0.5245 GB, free: 31.46 MB / 378.7 MB Notification: Performance of pre-optimization done (n=30): time 1.783e-06/0.377, allocations: 0 / 0.5245 GB, free: 31.46 MB / 378.7 MB Notification: Performance of matching and sorting (n=40): time 0.001767/0.3788, allocations: 1.006 MB / 0.5255 GB, free: 30.94 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.519e-05/0.3788, allocations: 160.9 kB / 0.5257 GB, free: 30.75 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006588/0.3795, allocations: 0.6587 MB / 0.5263 GB, free: 30.49 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.958e-05/0.3795, allocations: 32.17 kB / 0.5263 GB, free: 30.45 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000144/0.3797, allocations: 236.7 kB / 0.5266 GB, free: 30.25 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.46e-05/0.3798, allocations: 122.9 kB / 0.5267 GB, free: 30.16 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.606e-05/0.3798, allocations: 10.31 kB / 0.5267 GB, free: 30.16 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001083/0.3799, allocations: 372.8 kB / 0.5271 GB, free: 29.82 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001991/0.3801, allocations: 96.22 kB / 0.5271 GB, free: 29.79 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002301/0.3804, allocations: 182.6 kB / 0.5273 GB, free: 29.66 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004291/0.3808, allocations: 297.4 kB / 0.5276 GB, free: 29.47 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.3808, allocations: 0 / 0.5276 GB, free: 29.47 MB / 378.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0006358/0.3815, allocations: 416.6 kB / 0.528 GB, free: 29.29 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.3815, allocations: 8.469 kB / 0.528 GB, free: 29.29 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.3815, allocations: 0 / 0.528 GB, free: 29.29 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.039e-05/0.3815, allocations: 5.719 kB / 0.528 GB, free: 29.29 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002856/0.3818, allocations: 82.12 kB / 0.5281 GB, free: 29.28 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.622e-05/0.3818, allocations: 12.23 kB / 0.5281 GB, free: 29.27 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001893/0.382, allocations: 22.23 kB / 0.5281 GB, free: 29.27 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.693e-05/0.3821, allocations: 17.75 kB / 0.5281 GB, free: 29.26 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 ($whenCondition5,$PRE.t_s.nextTimeEvent,t_s.nextTimeEvent,$PRE.t_s.nextTimeEventScaled,t_s.nextTimeEventScaled,$whenCondition4,$PRE.t_min.nextTimeEvent,t_min.nextTimeEvent,$PRE.t_min.nextTimeEventScaled,t_min.nextTimeEventScaled,$whenCondition3,$PRE.t_h.nextTimeEvent,t_h.nextTimeEvent,$PRE.t_h.nextTimeEventScaled,t_h.nextTimeEventScaled,$whenCondition2,$PRE.t_d.nextTimeEvent,t_d.nextTimeEvent,$PRE.t_d.nextTimeEventScaled,t_d.nextTimeEventScaled,$whenCondition1,$PRE.t_ms.nextTimeEvent,t_ms.nextTimeEvent,$PRE.t_ms.nextTimeEventScaled,t_ms.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002031/0.3823, allocations: 206.3 kB / 0.5283 GB, free: 29.11 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.317e-05/0.3824, allocations: 67.86 kB / 0.5284 GB, free: 29.07 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001127/0.3825, allocations: 69.38 kB / 0.5285 GB, free: 29.03 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/0.3825, allocations: 5.344 kB / 0.5285 GB, free: 29.03 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.137e-05/0.3825, allocations: 2.594 kB / 0.5285 GB, free: 29.03 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.3825, allocations: 3.375 kB / 0.5285 GB, free: 29.03 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001313/0.3838, allocations: 1.282 MB / 0.5297 GB, free: 28.15 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/0.3839, allocations: 7.062 kB / 0.5297 GB, free: 28.14 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001185/0.384, allocations: 47.39 kB / 0.5298 GB, free: 28.14 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.539e-06/0.384, allocations: 2.906 kB / 0.5298 GB, free: 28.14 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.744e-05/0.384, allocations: 19.69 kB / 0.5298 GB, free: 28.13 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/0.384, allocations: 2.875 kB / 0.5298 GB, free: 28.13 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.384, allocations: 2.906 kB / 0.5298 GB, free: 28.13 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006891/0.3847, allocations: 0.8189 MB / 0.5306 GB, free: 27.52 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.855e-05/0.3848, allocations: 144.6 kB / 0.5307 GB, free: 27.39 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.508e-05/0.3849, allocations: 17.22 kB / 0.5308 GB, free: 27.38 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003047/0.3852, allocations: 21.58 kB / 0.5308 GB, free: 27.38 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.559e-05/0.3853, allocations: 36.48 kB / 0.5308 GB, free: 27.36 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.739e-05/0.3854, allocations: 21.16 kB / 0.5308 GB, free: 27.36 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004485/0.3858, allocations: 483.3 kB / 0.5313 GB, free: 27.17 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3858, allocations: 4 kB / 0.5313 GB, free: 27.17 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004964/0.3863, allocations: 81.69 kB / 0.5314 GB, free: 27.16 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001051/0.3874, allocations: 483 kB / 0.5318 GB, free: 26.91 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005359/0.3879, allocations: 283.6 kB / 0.5321 GB, free: 26.82 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.388, allocations: 2.531 kB / 0.5321 GB, free: 26.82 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002496/0.3882, allocations: 153.1 kB / 0.5323 GB, free: 26.77 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001084/0.3893, allocations: 132.7 kB / 0.5324 GB, free: 26.73 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001208/0.3905, allocations: 1.035 MB / 0.5334 GB, free: 26.08 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003154/0.3908, allocations: 0.8616 MB / 0.5342 GB, free: 25.37 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000114/0.391, allocations: 60.47 kB / 0.5343 GB, free: 25.36 MB / 378.7 MB Notification: Performance of SimCode: time 3.6e-07/0.391, allocations: 3.938 kB / 0.5343 GB, free: 25.35 MB / 378.7 MB Notification: Performance of Templates: time 0.0101/0.4011, allocations: 6.469 MB / 0.5406 GB, free: 24.65 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test67.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test67.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test67 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test67/Test67.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test67.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches