Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test59.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.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test59") translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test59") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001327/0.001327, allocations: 198.3 kB / 16.1 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.422/1.422, allocations: 226.5 MB / 243.4 MB, free: 8.219 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008254/0.0008253, allocations: 95.92 kB / 295.5 MB, free: 6.898 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3312/0.3312, allocations: 44.82 MB / 392.3 MB, free: 35.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002961/0.0002961, allocations: 12 kB / 465.3 MB, free: 12.66 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2828/0.2831, allocations: 62.96 MB / 0.5159 GB, free: 37.05 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.001565/0.2847, allocations: 1.426 MB / 0.5173 GB, free: 36.01 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001562/0.2863, allocations: 1.536 MB / 0.5188 GB, free: 34.92 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.417e-05/0.2863, allocations: 0 / 0.5188 GB, free: 34.92 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002497/0.2866, allocations: 37.12 kB / 0.5188 GB, free: 34.91 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002166/0.2868, allocations: 74.41 kB / 0.5189 GB, free: 34.87 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000221/0.2871, allocations: 99.45 kB / 0.519 GB, free: 34.82 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001233/0.2872, allocations: 87.25 kB / 0.5191 GB, free: 34.78 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.877e-05/0.2873, allocations: 10.52 kB / 0.5191 GB, free: 34.78 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.174e-05/0.2874, allocations: 43.91 kB / 0.5191 GB, free: 34.76 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001199/0.2875, allocations: 36.48 kB / 0.5191 GB, free: 34.74 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.458e-05/0.2875, allocations: 2.938 kB / 0.5192 GB, free: 34.74 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001412/0.2877, allocations: 97.16 kB / 0.5192 GB, free: 34.71 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.249e-05/0.2877, allocations: 22.12 kB / 0.5193 GB, free: 34.7 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.924e-05/0.2878, allocations: 57.66 kB / 0.5193 GB, free: 34.64 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001551/0.2879, allocations: 119.7 kB / 0.5194 GB, free: 34.61 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.2879, allocations: 2.906 kB / 0.5194 GB, free: 34.61 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2879, allocations: 0 / 0.5194 GB, free: 34.61 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.007e-06/0.288, allocations: 3.938 kB / 0.5194 GB, free: 34.61 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004523/0.2884, allocations: 413 kB / 0.5198 GB, free: 34.19 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.077e-05/0.2885, allocations: 11.75 kB / 0.5198 GB, free: 34.19 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.539e-05/0.2885, allocations: 7.625 kB / 0.5199 GB, free: 34.19 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001661/0.2887, allocations: 217.1 kB / 0.5201 GB, free: 33.97 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.472e-05/0.2887, allocations: 3.938 kB / 0.5201 GB, free: 33.96 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.951e-05/0.2887, allocations: 6.781 kB / 0.5201 GB, free: 33.96 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001335/0.2889, allocations: 72.22 kB / 0.5201 GB, free: 33.9 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.2889, allocations: 4 kB / 0.5201 GB, free: 33.9 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.899e-06/0.2889, allocations: 0 / 0.5201 GB, free: 33.9 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.526e-06/0.2889, allocations: 0 / 0.5201 GB, free: 33.9 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.278e-05/0.289, allocations: 19.52 kB / 0.5202 GB, free: 33.89 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000273/0.2892, allocations: 289.1 kB / 0.5204 GB, free: 33.61 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001317/0.2894, allocations: 56.97 kB / 0.5205 GB, free: 33.57 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.208e-05/0.2894, allocations: 21.67 kB / 0.5205 GB, free: 33.55 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.966e-05/0.2895, allocations: 0 / 0.5205 GB, free: 33.55 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001338/0.2896, allocations: 71.55 kB / 0.5206 GB, free: 33.5 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.034e-06/0.2896, allocations: 0 / 0.5206 GB, free: 33.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004452/0.2901, allocations: 176.7 kB / 0.5207 GB, free: 33.41 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.253e-05/0.2901, allocations: 85.05 kB / 0.5208 GB, free: 33.3 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000123/0.2902, allocations: 170.1 kB / 0.521 GB, free: 33.18 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.778e-06/0.2903, allocations: 28.61 kB / 0.521 GB, free: 33.14 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.202e-05/0.2903, allocations: 102.5 kB / 0.5211 GB, free: 33.05 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.942e-05/0.2903, allocations: 25.78 kB / 0.5211 GB, free: 33.03 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.358e-06/0.2903, allocations: 0 / 0.5211 GB, free: 33.03 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.888e-05/0.2904, allocations: 321.1 kB / 0.5214 GB, free: 32.71 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.868e-05/0.2904, allocations: 20.69 kB / 0.5215 GB, free: 32.7 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.552e-05/0.2905, allocations: 47.56 kB / 0.5215 GB, free: 32.67 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.056e-05/0.2906, allocations: 57.12 kB / 0.5216 GB, free: 32.63 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.2906, allocations: 0 / 0.5216 GB, free: 32.63 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000147/0.2908, allocations: 103.4 kB / 0.5217 GB, free: 32.57 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.2908, allocations: 5.344 kB / 0.5217 GB, free: 32.57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.2908, allocations: 0 / 0.5217 GB, free: 32.57 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.2908, allocations: 0 / 0.5217 GB, free: 32.57 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.823e-05/0.2909, allocations: 20.58 kB / 0.5217 GB, free: 32.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.2909, allocations: 10.44 kB / 0.5217 GB, free: 32.56 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.928e-05/0.291, allocations: 7.094 kB / 0.5217 GB, free: 32.55 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.595e-06/0.291, allocations: 2.531 kB / 0.5217 GB, free: 32.55 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 (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 6.464e-05/0.291, allocations: 126.9 kB / 0.5218 GB, free: 32.43 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.746e-05/0.2911, allocations: 9.562 kB / 0.5218 GB, free: 32.43 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.372e-05/0.2911, allocations: 14.97 kB / 0.5219 GB, free: 32.41 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.2911, allocations: 2.938 kB / 0.5219 GB, free: 32.41 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.2911, allocations: 3.938 kB / 0.5219 GB, free: 32.41 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.2911, allocations: 4 kB / 0.5219 GB, free: 32.41 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003232/0.2914, allocations: 395 kB / 0.5222 GB, free: 32.05 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.2915, allocations: 2.906 kB / 0.5222 GB, free: 32.05 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.82e-05/0.2915, allocations: 10 kB / 0.5223 GB, free: 32.05 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.2915, allocations: 3.312 kB / 0.5223 GB, free: 32.05 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.356e-06/0.2915, allocations: 0 / 0.5223 GB, free: 32.05 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.2915, allocations: 7.25 kB / 0.5223 GB, free: 32.05 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.2915, allocations: 0 / 0.5223 GB, free: 32.05 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001653/0.2917, allocations: 208.7 kB / 0.5225 GB, free: 31.88 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.067e-05/0.2917, allocations: 91 kB / 0.5225 GB, free: 31.77 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.228e-05/0.2918, allocations: 6.75 kB / 0.5226 GB, free: 31.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.208e-05/0.2918, allocations: 2.938 kB / 0.5226 GB, free: 31.77 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.291e-05/0.2919, allocations: 5.719 kB / 0.5226 GB, free: 31.77 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.301e-05/0.2919, allocations: 2.75 kB / 0.5226 GB, free: 31.77 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.801e-05/0.292, allocations: 129.8 kB / 0.5227 GB, free: 31.68 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.203e-06/0.292, allocations: 0 / 0.5227 GB, free: 31.68 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002895/0.2923, allocations: 49.28 kB / 0.5227 GB, free: 31.66 MB / 378.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.0009855/0.2933, allocations: 0.5337 MB / 0.5233 GB, free: 31.4 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001616/0.2935, allocations: 62.72 kB / 0.5233 GB, free: 31.38 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2935, allocations: 0 / 0.5233 GB, free: 31.38 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.64e-05/0.2935, allocations: 32.61 kB / 0.5234 GB, free: 31.37 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002996/0.2938, allocations: 34.42 kB / 0.5234 GB, free: 31.36 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003261/0.2942, allocations: 245.2 kB / 0.5236 GB, free: 31.14 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001078/0.2943, allocations: 0.697 MB / 0.5243 GB, free: 30.45 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.447e-05/0.2944, allocations: 22.55 kB / 0.5243 GB, free: 30.44 MB / 378.7 MB Notification: Performance of SimCode: time 2e-07/0.2944, allocations: 0 / 0.5243 GB, free: 30.44 MB / 378.7 MB Notification: Performance of Templates: time 0.003254/0.2976, allocations: 2.398 MB / 0.5267 GB, free: 30.16 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test59.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test59.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test59 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test59.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches