Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test51.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.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test51") translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test51") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009944/0.0009944, allocations: 202.5 kB / 15.8 MB, free: 6.328 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.24/1.24, allocations: 226.6 MB / 243.1 MB, free: 14.32 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007544/0.0007545, allocations: 98.95 kB / 295.1 MB, free: 10.1 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2046/0.2046, allocations: 44.84 MB / 392 MB, free: 9.371 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002348/0.000235, allocations: 8 kB / 464.7 MB, free: 49.8 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08658/0.08683, allocations: 62.96 MB / 0.5153 GB, free: 2.801 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.001691/0.08856, allocations: 1.424 MB / 0.5167 GB, free: 1.359 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00126/0.08983, allocations: 0.9324 MB / 0.5176 GB, free: 432 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.096e-05/0.08991, allocations: 11.94 kB / 0.5176 GB, free: 420 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002405/0.09016, allocations: 47.86 kB / 0.5177 GB, free: 372 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002041/0.09037, allocations: 75.62 kB / 0.5178 GB, free: 296 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002296/0.09061, allocations: 99.81 kB / 0.5179 GB, free: 196 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001306/0.09075, allocations: 87.69 kB / 0.5179 GB, free: 108 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.638e-05/0.09084, allocations: 12 kB / 0.518 GB, free: 96 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.27e-05/0.09092, allocations: 39.78 kB / 0.518 GB, free: 56 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.471e-05/0.09099, allocations: 31.84 kB / 0.518 GB, free: 24 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.476e-05/0.09101, allocations: 7.938 kB / 0.518 GB, free: 16 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1927/0.2838, allocations: 31.89 kB / 0.5181 GB, free: 9.855 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.29e-05/0.2839, allocations: 20.47 kB / 0.5181 GB, free: 9.855 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.41e-05/0.2839, allocations: 43.23 kB / 0.5181 GB, free: 9.824 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002229/0.2842, allocations: 93.58 kB / 0.5182 GB, free: 9.824 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.2842, allocations: 3.375 kB / 0.5182 GB, free: 9.824 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.2842, allocations: 0 / 0.5182 GB, free: 9.824 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.428e-06/0.2842, allocations: 1.281 kB / 0.5182 GB, free: 9.824 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004566/0.2846, allocations: 415.6 kB / 0.5186 GB, free: 9.438 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.2847, allocations: 9.484 kB / 0.5186 GB, free: 9.438 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.125e-05/0.2847, allocations: 14.16 kB / 0.5186 GB, free: 9.43 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001898/0.2849, allocations: 213.2 kB / 0.5188 GB, free: 9.219 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/0.285, allocations: 5.609 kB / 0.5188 GB, free: 9.219 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.975e-05/0.285, allocations: 3.156 kB / 0.5188 GB, free: 9.219 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001353/0.2851, allocations: 57.27 kB / 0.5189 GB, free: 9.188 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.2851, allocations: 0.625 kB / 0.5189 GB, free: 9.188 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.2852, allocations: 4.453 kB / 0.5189 GB, free: 9.188 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.2852, allocations: 0.75 kB / 0.5189 GB, free: 9.188 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.221e-05/0.2852, allocations: 22.7 kB / 0.5189 GB, free: 9.188 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003048/0.2856, allocations: 294.5 kB / 0.5192 GB, free: 8.918 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001694/0.2857, allocations: 58.69 kB / 0.5193 GB, free: 8.891 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.249e-05/0.2858, allocations: 20.08 kB / 0.5193 GB, free: 8.883 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.988e-05/0.2858, allocations: 1.344 kB / 0.5193 GB, free: 8.883 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001595/0.286, allocations: 69.97 kB / 0.5194 GB, free: 8.836 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.303e-06/0.286, allocations: 0 / 0.5194 GB, free: 8.836 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004971/0.2865, allocations: 180.7 kB / 0.5195 GB, free: 8.781 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.264e-05/0.2865, allocations: 58.12 kB / 0.5196 GB, free: 8.715 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00023/0.2868, allocations: 235.5 kB / 0.5198 GB, free: 8.609 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.104e-05/0.2868, allocations: 28.2 kB / 0.5198 GB, free: 8.578 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.011e-05/0.2868, allocations: 106.8 kB / 0.5199 GB, free: 8.496 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.61e-05/0.2869, allocations: 26.16 kB / 0.52 GB, free: 8.484 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.819e-06/0.2869, allocations: 2.594 kB / 0.52 GB, free: 8.484 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.891e-05/0.2869, allocations: 325.2 kB / 0.5203 GB, free: 8.172 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.434e-05/0.287, allocations: 19.45 kB / 0.5203 GB, free: 8.172 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.796e-05/0.2871, allocations: 47.69 kB / 0.5203 GB, free: 8.152 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.598e-05/0.2871, allocations: 20.19 kB / 0.5204 GB, free: 8.152 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.2871, allocations: 2.969 kB / 0.5204 GB, free: 8.152 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001785/0.2873, allocations: 108.8 kB / 0.5205 GB, free: 8.109 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.2873, allocations: 6.406 kB / 0.5205 GB, free: 8.109 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.2873, allocations: 0 / 0.5205 GB, free: 8.109 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.929e-06/0.2874, allocations: 1.031 kB / 0.5205 GB, free: 8.109 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.397e-05/0.2874, allocations: 16.84 kB / 0.5205 GB, free: 8.109 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.2875, allocations: 5.188 kB / 0.5205 GB, free: 8.105 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.823e-05/0.2875, allocations: 5.25 kB / 0.5205 GB, free: 8.105 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.766e-06/0.2875, allocations: 7.266 kB / 0.5205 GB, free: 8.102 MB / 346.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 (10): * Single equations (assignments): 10 * 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.828e-05/0.2876, allocations: 133.9 kB / 0.5206 GB, free: 7.988 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.959e-05/0.2876, allocations: 11.62 kB / 0.5206 GB, free: 7.984 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.296e-05/0.2877, allocations: 17.98 kB / 0.5207 GB, free: 7.984 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.2877, allocations: 1.812 kB / 0.5207 GB, free: 7.984 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.2877, allocations: 0 / 0.5207 GB, free: 7.984 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.2877, allocations: 4.609 kB / 0.5207 GB, free: 7.98 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003569/0.2881, allocations: 410.3 kB / 0.5211 GB, free: 7.668 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.2881, allocations: 3.156 kB / 0.5211 GB, free: 7.668 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.136e-05/0.2881, allocations: 9.016 kB / 0.5211 GB, free: 7.668 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.2881, allocations: 2.078 kB / 0.5211 GB, free: 7.668 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.2881, allocations: 1.859 kB / 0.5211 GB, free: 7.668 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.2881, allocations: 1.094 kB / 0.5211 GB, free: 7.668 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.2882, allocations: 4.953 kB / 0.5211 GB, free: 7.664 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001767/0.2883, allocations: 212.9 kB / 0.5213 GB, free: 7.516 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.055e-05/0.2884, allocations: 86.72 kB / 0.5214 GB, free: 7.418 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.158e-05/0.2884, allocations: 2.156 kB / 0.5214 GB, free: 7.418 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.902e-05/0.2885, allocations: 6.875 kB / 0.5214 GB, free: 7.418 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.346e-05/0.2885, allocations: 11.06 kB / 0.5214 GB, free: 7.414 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.344e-05/0.2885, allocations: 3.594 kB / 0.5214 GB, free: 7.414 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001306/0.2887, allocations: 182.5 kB / 0.5216 GB, free: 7.332 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2887, allocations: 0 / 0.5216 GB, free: 7.332 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002221/0.2889, allocations: 26.17 kB / 0.5216 GB, free: 7.328 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 6 * 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.0008642/0.2898, allocations: 462 kB / 0.522 GB, free: 7.113 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001568/0.2899, allocations: 57.05 kB / 0.5221 GB, free: 7.113 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.2899, allocations: 0 / 0.5221 GB, free: 7.113 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.253e-05/0.29, allocations: 31.38 kB / 0.5221 GB, free: 7.113 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003049/0.2903, allocations: 30.75 kB / 0.5221 GB, free: 7.113 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004068/0.2907, allocations: 310.6 kB / 0.5224 GB, free: 6.906 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001367/0.2909, allocations: 0.7131 MB / 0.5231 GB, free: 6.207 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.469e-05/0.2909, allocations: 21.66 kB / 0.5231 GB, free: 6.199 MB / 346.7 MB Notification: Performance of SimCode: time 2.5e-07/0.2909, allocations: 0 / 0.5231 GB, free: 6.199 MB / 346.7 MB Notification: Performance of Templates: time 0.003639/0.2946, allocations: 2.013 MB / 0.5251 GB, free: 5.988 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test51.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test51.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test51 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test51.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches