Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test5.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001436/0.001436, 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.325/1.325, allocations: 226.6 MB / 243.4 MB, free: 8.09 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007291/0.0007291, allocations: 92.38 kB / 295.5 MB, free: 6.879 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3434/0.3434, allocations: 44.82 MB / 392.3 MB, free: 35.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002941/0.0002941, allocations: 12 kB / 465.3 MB, free: 12.66 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3542/0.3545, allocations: 62.96 MB / 0.5159 GB, free: 37.14 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.001467/0.356, allocations: 1.453 MB / 0.5173 GB, free: 36.08 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001195/0.3572, allocations: 0.956 MB / 0.5182 GB, free: 35.42 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.677e-05/0.3573, allocations: 6.906 kB / 0.5182 GB, free: 35.42 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002765/0.3575, allocations: 101.2 kB / 0.5183 GB, free: 35.39 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002227/0.3578, allocations: 114.8 kB / 0.5184 GB, free: 35.35 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002289/0.358, allocations: 90.22 kB / 0.5185 GB, free: 35.3 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001409/0.3582, allocations: 118.3 kB / 0.5186 GB, free: 35.25 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.685e-05/0.3583, allocations: 22.58 kB / 0.5187 GB, free: 35.24 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.241e-05/0.3583, allocations: 57.45 kB / 0.5187 GB, free: 35.22 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.645e-05/0.3584, allocations: 61.19 kB / 0.5188 GB, free: 35.2 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.234e-05/0.3584, allocations: 2.969 kB / 0.5188 GB, free: 35.2 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.031e-05/0.3585, allocations: 52.05 kB / 0.5188 GB, free: 35.19 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.999e-05/0.3586, allocations: 30.41 kB / 0.5189 GB, free: 35.18 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.02e-05/0.3586, allocations: 73.89 kB / 0.5189 GB, free: 35.11 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001302/0.3588, allocations: 122.4 kB / 0.5191 GB, free: 35.07 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.3588, allocations: 0 / 0.5191 GB, free: 35.07 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.3588, allocations: 0 / 0.5191 GB, free: 35.07 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.826e-06/0.3588, allocations: 0 / 0.5191 GB, free: 35.07 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004108/0.3592, allocations: 437.2 kB / 0.5195 GB, free: 34.64 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.871e-05/0.3593, allocations: 12.33 kB / 0.5195 GB, free: 34.64 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.395e-05/0.3593, allocations: 14.62 kB / 0.5195 GB, free: 34.64 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00017/0.3595, allocations: 231.7 kB / 0.5197 GB, free: 34.4 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.3595, allocations: 7.188 kB / 0.5197 GB, free: 34.4 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.844e-05/0.3595, allocations: 7.031 kB / 0.5197 GB, free: 34.39 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001264/0.3596, allocations: 72.67 kB / 0.5198 GB, free: 34.35 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.3597, allocations: 0 / 0.5198 GB, free: 34.35 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.3597, allocations: 0 / 0.5198 GB, free: 34.35 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.3597, allocations: 10.88 kB / 0.5198 GB, free: 34.34 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.655e-05/0.3598, allocations: 36.05 kB / 0.5198 GB, free: 34.33 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002878/0.3601, allocations: 338.2 kB / 0.5202 GB, free: 34.02 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001879/0.3603, allocations: 71.02 kB / 0.5202 GB, free: 33.98 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.322e-05/0.3603, allocations: 33.94 kB / 0.5203 GB, free: 33.96 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.337e-05/0.3603, allocations: 6.484 kB / 0.5203 GB, free: 33.96 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001337/0.3605, allocations: 74.98 kB / 0.5203 GB, free: 33.9 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 1.272e-06/0.3605, allocations: 0 / 0.5203 GB, free: 33.9 MB / 378.7 MB Notification: Performance of matching and sorting (n=14): time 0.000635/0.3611, allocations: 310.4 kB / 0.5206 GB, free: 33.76 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.148e-05/0.3612, allocations: 55.34 kB / 0.5207 GB, free: 33.7 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001678/0.3613, allocations: 256.7 kB / 0.5209 GB, free: 33.55 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.368e-05/0.3614, allocations: 36 kB / 0.521 GB, free: 33.52 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.672e-05/0.3614, allocations: 112.5 kB / 0.5211 GB, free: 33.41 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.077e-05/0.3614, allocations: 48.55 kB / 0.5211 GB, free: 33.38 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.1e-06/0.3615, allocations: 3.938 kB / 0.5211 GB, free: 33.37 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.238e-05/0.3615, allocations: 331 kB / 0.5214 GB, free: 33.05 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.825e-05/0.3616, allocations: 35.98 kB / 0.5215 GB, free: 33.04 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.096e-05/0.3617, allocations: 60.44 kB / 0.5215 GB, free: 33 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001318/0.3618, allocations: 98.88 kB / 0.5216 GB, free: 32.95 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.614e-06/0.3618, allocations: 3.062 kB / 0.5216 GB, free: 32.95 MB / 378.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002078/0.362, allocations: 157.7 kB / 0.5218 GB, free: 32.87 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.888e-06/0.362, allocations: 8.125 kB / 0.5218 GB, free: 32.87 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.685e-06/0.362, allocations: 0 / 0.5218 GB, free: 32.87 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.615e-06/0.3621, allocations: 3.938 kB / 0.5218 GB, free: 32.87 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001036/0.3622, allocations: 29.53 kB / 0.5218 GB, free: 32.86 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.157e-06/0.3622, allocations: 6.469 kB / 0.5218 GB, free: 32.86 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.501e-05/0.3622, allocations: 6.906 kB / 0.5218 GB, free: 32.86 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.426e-06/0.3622, allocations: 2.5 kB / 0.5218 GB, free: 32.86 MB / 378.7 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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 7.998e-05/0.3623, allocations: 137.7 kB / 0.522 GB, free: 32.73 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.026e-05/0.3624, allocations: 16.5 kB / 0.522 GB, free: 32.73 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.019e-05/0.3624, allocations: 25.22 kB / 0.522 GB, free: 32.71 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.3624, allocations: 3.938 kB / 0.522 GB, free: 32.71 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.003e-06/0.3624, allocations: 2.969 kB / 0.522 GB, free: 32.71 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.3624, allocations: 4 kB / 0.522 GB, free: 32.71 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004489/0.3629, allocations: 0.5066 MB / 0.5225 GB, free: 32.3 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3629, allocations: 0 / 0.5225 GB, free: 32.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.161e-05/0.363, allocations: 20.3 kB / 0.5225 GB, free: 32.3 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.363, allocations: 0 / 0.5225 GB, free: 32.3 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.718e-06/0.363, allocations: 6.359 kB / 0.5225 GB, free: 32.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.363, allocations: 7.094 kB / 0.5225 GB, free: 32.3 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.363, allocations: 3.938 kB / 0.5226 GB, free: 32.29 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002128/0.3632, allocations: 257.7 kB / 0.5228 GB, free: 32.11 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.184e-05/0.3632, allocations: 92.11 kB / 0.5229 GB, free: 32 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.208e-05/0.3633, allocations: 6.969 kB / 0.5229 GB, free: 32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.499e-05/0.3634, allocations: 14.36 kB / 0.5229 GB, free: 31.99 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.481e-05/0.3634, allocations: 12.95 kB / 0.5229 GB, free: 31.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.307e-05/0.3634, allocations: 5.719 kB / 0.5229 GB, free: 31.98 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001171/0.3635, allocations: 199.1 kB / 0.5231 GB, free: 31.88 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3635, allocations: 0 / 0.5231 GB, free: 31.88 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000236/0.3638, allocations: 31.31 kB / 0.5231 GB, free: 31.87 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0008759/0.3647, allocations: 0.5086 MB / 0.5236 GB, free: 31.62 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001693/0.3648, allocations: 106.3 kB / 0.5237 GB, free: 31.58 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.3648, allocations: 0 / 0.5237 GB, free: 31.58 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.987e-05/0.3649, allocations: 55.42 kB / 0.5238 GB, free: 31.56 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002959/0.3652, allocations: 37.12 kB / 0.5238 GB, free: 31.54 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004093/0.3657, allocations: 392.7 kB / 0.5242 GB, free: 31.27 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000126/0.3658, allocations: 0.7281 MB / 0.5249 GB, free: 30.57 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.15e-05/0.3658, allocations: 19 kB / 0.5249 GB, free: 30.56 MB / 378.7 MB Notification: Performance of SimCode: time 2.11e-07/0.3658, allocations: 2.969 kB / 0.5249 GB, free: 30.56 MB / 378.7 MB Notification: Performance of Templates: time 0.003002/0.3689, allocations: 2.491 MB / 0.5274 GB, free: 30.29 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test5.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test5 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches