Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test65.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.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test65") translateModel(ModelicaTest.Tables.CombiTimeTable.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test65") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009747/0.0009749, allocations: 202.3 kB / 15.8 MB, free: 6.332 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.266/1.266, allocations: 226.5 MB / 243.1 MB, free: 14.3 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007877/0.0007877, allocations: 93.2 kB / 295.1 MB, free: 10.07 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1889/0.1889, allocations: 44.85 MB / 392 MB, free: 9.336 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002317/0.0002318, allocations: 8 kB / 464.7 MB, free: 49.77 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09281/0.09306, allocations: 62.95 MB / 0.5153 GB, free: 2.777 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.001864/0.09497, allocations: 1.388 MB / 0.5167 GB, free: 1.371 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001296/0.09628, allocations: 0.9324 MB / 0.5176 GB, free: 444 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.526e-05/0.09635, allocations: 3.938 kB / 0.5176 GB, free: 440 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002682/0.09663, allocations: 75.83 kB / 0.5177 GB, free: 364 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002197/0.09686, allocations: 99.64 kB / 0.5178 GB, free: 264 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002172/0.09708, allocations: 86.2 kB / 0.5179 GB, free: 180 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001343/0.09723, allocations: 95.67 kB / 0.5179 GB, free: 84 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.752e-05/0.09727, allocations: 12.22 kB / 0.518 GB, free: 72 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.459e-05/0.09735, allocations: 43.78 kB / 0.518 GB, free: 28 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1841/0.2814, allocations: 41.83 kB / 0.518 GB, free: 9.883 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.989e-05/0.2815, allocations: 1.562 kB / 0.518 GB, free: 9.883 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001246/0.2816, allocations: 26.11 kB / 0.5181 GB, free: 9.883 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.653e-05/0.2817, allocations: 21.02 kB / 0.5181 GB, free: 9.883 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.266e-05/0.2818, allocations: 40 kB / 0.5181 GB, free: 9.852 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001796/0.282, allocations: 82 kB / 0.5182 GB, free: 9.852 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.282, allocations: 0.5 kB / 0.5182 GB, free: 9.852 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.013e-06/0.282, allocations: 4.312 kB / 0.5182 GB, free: 9.852 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.388e-06/0.282, allocations: 0 / 0.5182 GB, free: 9.852 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004271/0.2824, allocations: 405.1 kB / 0.5186 GB, free: 9.473 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.2825, allocations: 9.344 kB / 0.5186 GB, free: 9.473 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.396e-05/0.2825, allocations: 14.89 kB / 0.5186 GB, free: 9.469 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001949/0.2827, allocations: 216.7 kB / 0.5188 GB, free: 9.254 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.9e-05/0.2828, allocations: 1.094 kB / 0.5188 GB, free: 9.254 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.202e-05/0.2828, allocations: 1.719 kB / 0.5188 GB, free: 9.254 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001287/0.2829, allocations: 49.92 kB / 0.5189 GB, free: 9.223 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.702e-06/0.2829, allocations: 2.625 kB / 0.5189 GB, free: 9.223 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.889e-06/0.2829, allocations: 2.328 kB / 0.5189 GB, free: 9.223 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.2829, allocations: 0 / 0.5189 GB, free: 9.223 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.635e-05/0.283, allocations: 20.23 kB / 0.5189 GB, free: 9.223 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001762/0.2832, allocations: 189.4 kB / 0.5191 GB, free: 9.031 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001586/0.2834, allocations: 50.28 kB / 0.5191 GB, free: 9.008 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.344e-05/0.2834, allocations: 19.42 kB / 0.5191 GB, free: 9 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.656e-05/0.2835, allocations: 2 kB / 0.5191 GB, free: 9 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001519/0.2836, allocations: 68 kB / 0.5192 GB, free: 8.953 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.613e-06/0.2836, allocations: 0 / 0.5192 GB, free: 8.953 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002498/0.2839, allocations: 97.45 kB / 0.5193 GB, free: 8.914 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.374e-05/0.2839, allocations: 52.16 kB / 0.5194 GB, free: 8.852 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001978/0.2841, allocations: 222.5 kB / 0.5196 GB, free: 8.738 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.798e-06/0.2841, allocations: 28.77 kB / 0.5196 GB, free: 8.707 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.412e-05/0.2842, allocations: 104.7 kB / 0.5197 GB, free: 8.625 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.483e-05/0.2842, allocations: 12.31 kB / 0.5197 GB, free: 8.621 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.396e-06/0.2842, allocations: 0 / 0.5197 GB, free: 8.621 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.148e-05/0.2843, allocations: 325.2 kB / 0.52 GB, free: 8.309 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.567e-05/0.2843, allocations: 24.06 kB / 0.52 GB, free: 8.305 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.11e-05/0.2844, allocations: 29 kB / 0.5201 GB, free: 8.289 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.82e-05/0.2845, allocations: 15.09 kB / 0.5201 GB, free: 8.289 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.2845, allocations: 5.109 kB / 0.5201 GB, free: 8.285 MB / 346.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001354/0.2846, allocations: 84.25 kB / 0.5202 GB, free: 8.246 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.2846, allocations: 5.406 kB / 0.5202 GB, free: 8.246 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.2846, allocations: 5.562 kB / 0.5202 GB, free: 8.242 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.2847, allocations: 5.062 kB / 0.5202 GB, free: 8.238 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.15e-05/0.2847, allocations: 11.92 kB / 0.5202 GB, free: 8.238 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.441e-06/0.2847, allocations: 0 / 0.5202 GB, free: 8.238 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.565e-05/0.2848, allocations: 5.312 kB / 0.5202 GB, free: 8.238 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.852e-06/0.2848, allocations: 2.781 kB / 0.5202 GB, free: 8.238 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 (7): * Single equations (assignments): 7 * 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.429e-05/0.2849, allocations: 129 kB / 0.5203 GB, free: 8.121 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.072e-05/0.2849, allocations: 20.17 kB / 0.5203 GB, free: 8.109 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.765e-05/0.285, allocations: 20.02 kB / 0.5204 GB, free: 8.105 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.285, allocations: 1.656 kB / 0.5204 GB, free: 8.105 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.285, allocations: 5.625 kB / 0.5204 GB, free: 8.102 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.285, allocations: 3.516 kB / 0.5204 GB, free: 8.102 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001105/0.2851, allocations: 192.1 kB / 0.5206 GB, free: 7.91 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.2851, allocations: 0 / 0.5206 GB, free: 7.91 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.009e-05/0.2851, allocations: 8.531 kB / 0.5206 GB, free: 7.906 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.2851, allocations: 0 / 0.5206 GB, free: 7.906 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.785e-06/0.2852, allocations: 1.828 kB / 0.5206 GB, free: 7.906 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.2852, allocations: 1.125 kB / 0.5206 GB, free: 7.906 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.2852, allocations: 0.7031 kB / 0.5206 GB, free: 7.906 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001615/0.2853, allocations: 108.4 kB / 0.5207 GB, free: 7.836 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.37e-05/0.2854, allocations: 92.05 kB / 0.5208 GB, free: 7.734 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.349e-05/0.2854, allocations: 6.344 kB / 0.5208 GB, free: 7.73 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.135e-05/0.2854, allocations: 3.672 kB / 0.5208 GB, free: 7.73 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.155e-05/0.2855, allocations: 8.984 kB / 0.5208 GB, free: 7.73 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.286e-05/0.2855, allocations: 3.656 kB / 0.5208 GB, free: 7.73 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001215/0.2856, allocations: 165.5 kB / 0.5209 GB, free: 7.656 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2856, allocations: 0 / 0.5209 GB, free: 7.656 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002162/0.2859, allocations: 22.09 kB / 0.521 GB, free: 7.652 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.0007491/0.2866, allocations: 407 kB / 0.5213 GB, free: 7.461 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001417/0.2868, allocations: 39.23 kB / 0.5214 GB, free: 7.461 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.2868, allocations: 3.562 kB / 0.5214 GB, free: 7.461 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.351e-05/0.2868, allocations: 17.75 kB / 0.5214 GB, free: 7.461 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000237/0.2871, allocations: 21.14 kB / 0.5214 GB, free: 7.461 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003794/0.2875, allocations: 267.7 kB / 0.5217 GB, free: 7.273 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001318/0.2876, allocations: 0.7111 MB / 0.5224 GB, free: 6.574 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.936e-05/0.2876, allocations: 14.55 kB / 0.5224 GB, free: 6.566 MB / 346.7 MB Notification: Performance of SimCode: time 2.4e-07/0.2876, allocations: 0 / 0.5224 GB, free: 6.566 MB / 346.7 MB Notification: Performance of Templates: time 0.003475/0.2911, allocations: 1.76 MB / 0.5241 GB, free: 6.395 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test65.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test65.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test65 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test65/Test65.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test65.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches