Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.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.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79") translateModel(ModelicaTest.Tables.CombiTimeTable.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001203/0.001203, 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.425/1.425, allocations: 226.7 MB / 245.5 MB, free: 6.973 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001079/0.001079, allocations: 101.6 kB / 296.7 MB, free: 6.457 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.426/0.426, allocations: 44.83 MB / 392.7 MB, free: 34.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 67.89 kB / 465.5 MB, free: 12.08 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3525/0.3538, allocations: 62.01 MB / 0.5152 GB, free: 37.66 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.002976/0.3568, allocations: 1.994 MB / 0.5171 GB, free: 36.25 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001511/0.3583, allocations: 1.146 MB / 0.5182 GB, free: 35.47 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.039e-05/0.3584, allocations: 0 / 0.5182 GB, free: 35.47 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004086/0.3588, allocations: 215.8 kB / 0.5184 GB, free: 35.44 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003257/0.3592, allocations: 192 kB / 0.5186 GB, free: 35.37 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000378/0.3596, allocations: 170.6 kB / 0.5188 GB, free: 35.28 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000262/0.3598, allocations: 241.2 kB / 0.519 GB, free: 35.19 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001229/0.36, allocations: 24.31 kB / 0.519 GB, free: 35.19 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001303/0.3601, allocations: 115.7 kB / 0.5191 GB, free: 35.14 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00015/0.3603, allocations: 155.8 kB / 0.5193 GB, free: 35.1 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.428e-05/0.3603, allocations: 5.75 kB / 0.5193 GB, free: 35.1 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001236/0.3604, allocations: 66.08 kB / 0.5194 GB, free: 35.08 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.797e-05/0.3605, allocations: 55.91 kB / 0.5194 GB, free: 35.06 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.377e-05/0.3606, allocations: 88.69 kB / 0.5195 GB, free: 35 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002529/0.3609, allocations: 233.4 kB / 0.5197 GB, free: 34.9 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.3609, allocations: 0 / 0.5197 GB, free: 34.9 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.3609, allocations: 0 / 0.5197 GB, free: 34.9 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.369e-06/0.3609, allocations: 0 / 0.5197 GB, free: 34.9 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006517/0.3615, allocations: 0.5652 MB / 0.5203 GB, free: 34.39 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.3616, allocations: 10.56 kB / 0.5203 GB, free: 34.39 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.189e-05/0.3617, allocations: 33.75 kB / 0.5203 GB, free: 34.37 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002678/0.3619, allocations: 279 kB / 0.5206 GB, free: 34.12 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.681e-05/0.3619, allocations: 11.41 kB / 0.5206 GB, free: 34.11 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.775e-05/0.362, allocations: 11.48 kB / 0.5206 GB, free: 34.11 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002018/0.3622, allocations: 106 kB / 0.5207 GB, free: 34.04 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.3622, allocations: 3.328 kB / 0.5207 GB, free: 34.04 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.3622, allocations: 10.62 kB / 0.5207 GB, free: 34.03 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.3622, allocations: 3.984 kB / 0.5207 GB, free: 34.03 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001172/0.3624, allocations: 41.86 kB / 0.5208 GB, free: 34.02 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004914/0.3629, allocations: 482.2 kB / 0.5212 GB, free: 33.61 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003258/0.3632, allocations: 125.9 kB / 0.5213 GB, free: 33.53 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.44e-05/0.3633, allocations: 45.34 kB / 0.5214 GB, free: 33.5 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.317e-05/0.3633, allocations: 3.938 kB / 0.5214 GB, free: 33.5 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002441/0.3636, allocations: 125.1 kB / 0.5215 GB, free: 33.41 MB / 378.7 MB Notification: Performance of pre-optimization done (n=14): time 1.423e-06/0.3636, allocations: 0 / 0.5215 GB, free: 33.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=22): time 0.00112/0.3647, allocations: 0.5038 MB / 0.522 GB, free: 33.18 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.501e-05/0.3648, allocations: 83.22 kB / 0.5221 GB, free: 33.08 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003281/0.3651, allocations: 441 kB / 0.5225 GB, free: 32.89 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.673e-05/0.3651, allocations: 35.88 kB / 0.5225 GB, free: 32.85 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.789e-05/0.3652, allocations: 154 kB / 0.5227 GB, free: 32.72 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.421e-05/0.3652, allocations: 68.73 kB / 0.5227 GB, free: 32.67 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.121e-05/0.3653, allocations: 44.78 kB / 0.5228 GB, free: 32.64 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.53e-05/0.3654, allocations: 343.3 kB / 0.5231 GB, free: 32.31 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001098/0.3655, allocations: 59.33 kB / 0.5232 GB, free: 32.29 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001173/0.3656, allocations: 103.7 kB / 0.5233 GB, free: 32.22 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002206/0.3658, allocations: 159.9 kB / 0.5234 GB, free: 32.13 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.3659, allocations: 2.875 kB / 0.5234 GB, free: 32.13 MB / 378.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003198/0.3662, allocations: 228.7 kB / 0.5236 GB, free: 32.02 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.3662, allocations: 13.75 kB / 0.5237 GB, free: 32.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.3662, allocations: 4 kB / 0.5237 GB, free: 32.01 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.3662, allocations: 6.203 kB / 0.5237 GB, free: 32.01 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001276/0.3664, allocations: 45.44 kB / 0.5237 GB, free: 32 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.3664, allocations: 2.781 kB / 0.5237 GB, free: 32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.48e-05/0.3665, allocations: 10.34 kB / 0.5237 GB, free: 32 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.315e-05/0.3665, allocations: 9.625 kB / 0.5237 GB, free: 32 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001072/0.3666, allocations: 165 kB / 0.5239 GB, free: 31.86 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.575e-05/0.3667, allocations: 38.03 kB / 0.5239 GB, free: 31.84 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.011e-05/0.3667, allocations: 44.08 kB / 0.524 GB, free: 31.82 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.3668, allocations: 2.625 kB / 0.524 GB, free: 31.82 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.3668, allocations: 0 / 0.524 GB, free: 31.82 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.3668, allocations: 0 / 0.524 GB, free: 31.82 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006824/0.3675, allocations: 0.742 MB / 0.5247 GB, free: 31.27 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.3675, allocations: 3.125 kB / 0.5247 GB, free: 31.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.366e-05/0.3676, allocations: 27.47 kB / 0.5247 GB, free: 31.27 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.3676, allocations: 7.375 kB / 0.5247 GB, free: 31.27 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.635e-05/0.3676, allocations: 7.203 kB / 0.5247 GB, free: 31.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.3676, allocations: 3.844 kB / 0.5247 GB, free: 31.27 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.103e-06/0.3676, allocations: 3.938 kB / 0.5247 GB, free: 31.26 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006141/0.3682, allocations: 1.07 MB / 0.5258 GB, free: 30.32 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.606e-05/0.3683, allocations: 112.1 kB / 0.5259 GB, free: 30.21 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.603e-05/0.3683, allocations: 9.406 kB / 0.5259 GB, free: 30.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000132/0.3685, allocations: 6.062 kB / 0.5259 GB, free: 30.2 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.674e-05/0.3685, allocations: 18.34 kB / 0.5259 GB, free: 30.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.192e-05/0.3685, allocations: 15.47 kB / 0.5259 GB, free: 30.2 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000227/0.3688, allocations: 334.8 kB / 0.5263 GB, free: 30.05 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3688, allocations: 0 / 0.5263 GB, free: 30.05 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000413/0.3692, allocations: 49.38 kB / 0.5263 GB, free: 30.04 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001013/0.3702, allocations: 0.5014 MB / 0.5268 GB, free: 29.8 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000297/0.3705, allocations: 167.6 kB / 0.527 GB, free: 29.74 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.3705, allocations: 3.938 kB / 0.527 GB, free: 29.73 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001567/0.3707, allocations: 83.2 kB / 0.527 GB, free: 29.71 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005113/0.3712, allocations: 72.89 kB / 0.5271 GB, free: 29.68 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008048/0.372, allocations: 0.7947 MB / 0.5279 GB, free: 29.12 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002008/0.3722, allocations: 0.7833 MB / 0.5287 GB, free: 28.41 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001053/0.3724, allocations: 36.91 kB / 0.5287 GB, free: 28.4 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.642e-05/0.3724, allocations: 29.89 kB / 0.5287 GB, free: 28.39 MB / 378.7 MB Notification: Performance of SimCode: time 5.41e-07/0.3724, allocations: 0 / 0.5287 GB, free: 28.39 MB / 378.7 MB Notification: Performance of Templates: time 0.005382/0.3778, allocations: 3.095 MB / 0.5317 GB, free: 28.08 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches