Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test7.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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test7") translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001457/0.001457, 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.337/1.337, allocations: 226.6 MB / 243.4 MB, free: 8.18 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007905/0.0007905, allocations: 100.5 kB / 295.5 MB, free: 6.875 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3423/0.3423, allocations: 44.82 MB / 392.3 MB, free: 35.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002616/0.0002617, allocations: 8 kB / 465.3 MB, free: 12.64 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.264/0.2642, allocations: 62.97 MB / 0.5159 GB, free: 37.14 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.001563/0.2658, allocations: 1.444 MB / 0.5173 GB, free: 36.09 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001104/0.267, allocations: 0.9503 MB / 0.5182 GB, free: 35.43 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.955e-05/0.267, allocations: 0 / 0.5182 GB, free: 35.43 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002711/0.2673, allocations: 113.6 kB / 0.5183 GB, free: 35.41 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002188/0.2676, allocations: 105.7 kB / 0.5184 GB, free: 35.36 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002256/0.2678, allocations: 90.95 kB / 0.5185 GB, free: 35.32 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001308/0.2679, allocations: 105.8 kB / 0.5186 GB, free: 35.27 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.691e-05/0.268, allocations: 13.92 kB / 0.5186 GB, free: 35.27 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.02e-05/0.2681, allocations: 53.17 kB / 0.5187 GB, free: 35.25 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.243e-05/0.2682, allocations: 58.2 kB / 0.5187 GB, free: 35.23 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.472e-05/0.2682, allocations: 0 / 0.5187 GB, free: 35.23 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.094e-05/0.2683, allocations: 56.08 kB / 0.5188 GB, free: 35.21 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.177e-05/0.2684, allocations: 32.7 kB / 0.5188 GB, free: 35.2 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.927e-05/0.2684, allocations: 61.47 kB / 0.5189 GB, free: 35.14 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000132/0.2686, allocations: 104.9 kB / 0.519 GB, free: 35.11 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.2686, allocations: 0 / 0.519 GB, free: 35.11 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.2686, allocations: 0 / 0.519 GB, free: 35.11 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.198e-06/0.2686, allocations: 0 / 0.519 GB, free: 35.11 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004019/0.269, allocations: 427.3 kB / 0.5194 GB, free: 34.7 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.125e-05/0.269, allocations: 9.094 kB / 0.5194 GB, free: 34.7 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.902e-05/0.2691, allocations: 14.75 kB / 0.5194 GB, free: 34.69 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001712/0.2693, allocations: 227.9 kB / 0.5196 GB, free: 34.46 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.575e-05/0.2693, allocations: 3.094 kB / 0.5196 GB, free: 34.46 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.92e-05/0.2693, allocations: 12.08 kB / 0.5196 GB, free: 34.45 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001266/0.2694, allocations: 59.84 kB / 0.5197 GB, free: 34.41 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.2695, allocations: 0 / 0.5197 GB, free: 34.41 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.2695, allocations: 2.812 kB / 0.5197 GB, free: 34.41 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-06/0.2695, allocations: 0 / 0.5197 GB, free: 34.41 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.647e-05/0.2696, allocations: 30.89 kB / 0.5197 GB, free: 34.39 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002956/0.2699, allocations: 315.6 kB / 0.52 GB, free: 34.09 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001905/0.2701, allocations: 55.27 kB / 0.5201 GB, free: 34.06 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.034e-05/0.2701, allocations: 21.09 kB / 0.5201 GB, free: 34.05 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.661e-05/0.2701, allocations: 4 kB / 0.5201 GB, free: 34.04 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001382/0.2703, allocations: 74.59 kB / 0.5202 GB, free: 33.98 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 1.332e-06/0.2703, allocations: 0 / 0.5202 GB, free: 33.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006121/0.2709, allocations: 243.3 kB / 0.5204 GB, free: 33.87 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.143e-05/0.2709, allocations: 55.34 kB / 0.5205 GB, free: 33.8 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001687/0.2711, allocations: 255.3 kB / 0.5207 GB, free: 33.66 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.059e-05/0.2711, allocations: 32.64 kB / 0.5207 GB, free: 33.62 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.719e-05/0.2712, allocations: 109.1 kB / 0.5208 GB, free: 33.52 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.663e-05/0.2712, allocations: 40.83 kB / 0.5209 GB, free: 33.49 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.16e-06/0.2712, allocations: 0 / 0.5209 GB, free: 33.49 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.578e-05/0.2713, allocations: 328.1 kB / 0.5212 GB, free: 33.17 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.917e-05/0.2713, allocations: 29.88 kB / 0.5212 GB, free: 33.16 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.111e-05/0.2714, allocations: 51.09 kB / 0.5213 GB, free: 33.12 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001142/0.2715, allocations: 83.2 kB / 0.5214 GB, free: 33.07 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.2715, allocations: 0 / 0.5214 GB, free: 33.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001748/0.2717, allocations: 128.5 kB / 0.5215 GB, free: 33 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.2717, allocations: 5.75 kB / 0.5215 GB, free: 33 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.2717, allocations: 0 / 0.5215 GB, free: 33 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.2718, allocations: 6.812 kB / 0.5215 GB, free: 33 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.065e-05/0.2718, allocations: 20.61 kB / 0.5215 GB, free: 33 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.2719, allocations: 3.938 kB / 0.5215 GB, free: 33 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.55e-05/0.2719, allocations: 6.938 kB / 0.5215 GB, free: 32.99 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/0.2719, allocations: 6.812 kB / 0.5215 GB, free: 32.99 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 (13): * Single equations (assignments): 13 * 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.443e-05/0.272, allocations: 144.8 kB / 0.5217 GB, free: 32.86 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.815e-05/0.272, allocations: 16.91 kB / 0.5217 GB, free: 32.85 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.921e-05/0.2721, allocations: 15.28 kB / 0.5217 GB, free: 32.84 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.2721, allocations: 3 kB / 0.5217 GB, free: 32.84 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.2721, allocations: 7.219 kB / 0.5217 GB, free: 32.84 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.2721, allocations: 0 / 0.5217 GB, free: 32.84 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003918/0.2725, allocations: 458.9 kB / 0.5221 GB, free: 32.46 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.2725, allocations: 3.688 kB / 0.5221 GB, free: 32.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.991e-05/0.2725, allocations: 10.84 kB / 0.5222 GB, free: 32.46 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.2726, allocations: 0 / 0.5222 GB, free: 32.46 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.2726, allocations: 9.969 kB / 0.5222 GB, free: 32.45 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.2726, allocations: 2.75 kB / 0.5222 GB, free: 32.45 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.2726, allocations: 0 / 0.5222 GB, free: 32.45 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001864/0.2728, allocations: 238.9 kB / 0.5224 GB, free: 32.27 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.935e-05/0.2728, allocations: 90.36 kB / 0.5225 GB, free: 32.16 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.415e-05/0.2728, allocations: 10.03 kB / 0.5225 GB, free: 32.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.165e-05/0.2729, allocations: 6.5 kB / 0.5225 GB, free: 32.16 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.21e-05/0.273, allocations: 9.312 kB / 0.5225 GB, free: 32.16 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.51e-05/0.273, allocations: 10.94 kB / 0.5225 GB, free: 32.15 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001123/0.2731, allocations: 193 kB / 0.5227 GB, free: 32.04 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2731, allocations: 0 / 0.5227 GB, free: 32.04 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002424/0.2734, allocations: 32.28 kB / 0.5227 GB, free: 32.03 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 (11): * Single equations (assignments): 9 * 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.0009263/0.2743, allocations: 0.5039 MB / 0.5232 GB, free: 31.78 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001634/0.2745, allocations: 82.7 kB / 0.5233 GB, free: 31.75 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.2745, allocations: 4.062 kB / 0.5233 GB, free: 31.75 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.922e-05/0.2745, allocations: 37.47 kB / 0.5233 GB, free: 31.73 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003234/0.2749, allocations: 32.42 kB / 0.5234 GB, free: 31.72 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004201/0.2753, allocations: 354.8 kB / 0.5237 GB, free: 31.46 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001201/0.2754, allocations: 0.7136 MB / 0.5244 GB, free: 30.77 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.703e-05/0.2755, allocations: 22.2 kB / 0.5244 GB, free: 30.76 MB / 378.7 MB Notification: Performance of SimCode: time 2.51e-07/0.2755, allocations: 4 kB / 0.5244 GB, free: 30.76 MB / 378.7 MB Notification: Performance of Templates: time 0.003122/0.2786, allocations: 2.292 MB / 0.5267 GB, free: 30.49 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test7.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test7 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches