Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test88.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.Test88,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test88") translateModel(ModelicaTest.Tables.CombiTimeTable.Test88,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test88") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001435/0.001435, 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.324/1.324, allocations: 226.5 MB / 243.4 MB, free: 6.367 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008542/0.0008542, allocations: 100.1 kB / 295.5 MB, free: 6.641 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3303/0.3303, allocations: 44.82 MB / 392.3 MB, free: 35.62 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003611/0.0003611, allocations: 8 kB / 465.3 MB, free: 12.64 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.272/0.2723, allocations: 62.96 MB / 0.5159 GB, free: 37.22 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test88): time 0.00185/0.2742, allocations: 1.904 MB / 0.5177 GB, free: 35.83 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001461/0.2757, allocations: 1.282 MB / 0.519 GB, free: 34.95 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001075/0.2758, allocations: 6.812 kB / 0.519 GB, free: 34.95 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003092/0.2762, allocations: 114.5 kB / 0.5191 GB, free: 34.91 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003375/0.2765, allocations: 204.3 kB / 0.5193 GB, free: 34.8 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005319/0.277, allocations: 280.8 kB / 0.5196 GB, free: 34.67 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003063/0.2774, allocations: 389.3 kB / 0.5199 GB, free: 34.5 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001275/0.2775, allocations: 65.58 kB / 0.52 GB, free: 34.46 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002178/0.2777, allocations: 230.8 kB / 0.5202 GB, free: 34.39 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001199/0.2778, allocations: 137.6 kB / 0.5204 GB, free: 34.33 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.19e-05/0.2779, allocations: 8.688 kB / 0.5204 GB, free: 34.33 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000112/0.278, allocations: 56.03 kB / 0.5204 GB, free: 34.32 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.932e-05/0.2781, allocations: 113.1 kB / 0.5205 GB, free: 34.29 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001076/0.2782, allocations: 190.9 kB / 0.5207 GB, free: 34.14 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002353/0.2785, allocations: 314.7 kB / 0.521 GB, free: 34.04 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.2785, allocations: 0 / 0.521 GB, free: 34.04 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.2785, allocations: 0 / 0.521 GB, free: 34.04 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.052e-06/0.2785, allocations: 4 kB / 0.521 GB, free: 34.04 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0007357/0.2792, allocations: 0.7585 MB / 0.5218 GB, free: 33.41 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.143e-05/0.2793, allocations: 8.094 kB / 0.5218 GB, free: 33.41 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.394e-05/0.2793, allocations: 61.38 kB / 0.5218 GB, free: 33.38 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003375/0.2797, allocations: 408.7 kB / 0.5222 GB, free: 33.06 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.126e-05/0.2797, allocations: 14.03 kB / 0.5222 GB, free: 33.05 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.482e-05/0.2798, allocations: 30.58 kB / 0.5223 GB, free: 33.04 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002904/0.28, allocations: 192.9 kB / 0.5224 GB, free: 32.93 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.2801, allocations: 0 / 0.5224 GB, free: 32.93 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.886e-05/0.2801, allocations: 6.875 kB / 0.5224 GB, free: 32.93 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.2801, allocations: 2.938 kB / 0.5224 GB, free: 32.93 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001912/0.2803, allocations: 95.83 kB / 0.5225 GB, free: 32.9 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006194/0.2809, allocations: 0.7973 MB / 0.5233 GB, free: 32.26 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004789/0.2814, allocations: 249.6 kB / 0.5236 GB, free: 32.11 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001414/0.2816, allocations: 90.67 kB / 0.5236 GB, free: 32.06 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.547e-05/0.2816, allocations: 3.016 kB / 0.5236 GB, free: 32.06 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002903/0.2819, allocations: 201.8 kB / 0.5238 GB, free: 31.94 MB / 378.7 MB Notification: Performance of pre-optimization done (n=28): time 1.513e-06/0.2819, allocations: 0 / 0.5238 GB, free: 31.94 MB / 378.7 MB Notification: Performance of matching and sorting (n=44): time 0.001885/0.2838, allocations: 1.117 MB / 0.5249 GB, free: 31.39 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.53e-05/0.2839, allocations: 137.9 kB / 0.5251 GB, free: 31.23 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006117/0.2845, allocations: 0.796 MB / 0.5258 GB, free: 30.93 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.444e-05/0.2845, allocations: 39.2 kB / 0.5259 GB, free: 30.89 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001103/0.2846, allocations: 233.4 kB / 0.5261 GB, free: 30.7 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.179e-05/0.2847, allocations: 142.5 kB / 0.5262 GB, free: 30.59 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.511e-05/0.2847, allocations: 8 kB / 0.5262 GB, free: 30.59 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.747e-05/0.2848, allocations: 377.4 kB / 0.5266 GB, free: 30.25 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001996/0.285, allocations: 115 kB / 0.5267 GB, free: 30.2 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002062/0.2852, allocations: 182.3 kB / 0.5269 GB, free: 30.09 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003933/0.2856, allocations: 316.5 kB / 0.5272 GB, free: 29.9 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.2857, allocations: 3.938 kB / 0.5272 GB, free: 29.89 MB / 378.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005514/0.2862, allocations: 432 kB / 0.5276 GB, free: 29.71 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.2862, allocations: 9.375 kB / 0.5276 GB, free: 29.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.2862, allocations: 2.781 kB / 0.5276 GB, free: 29.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.2863, allocations: 8.594 kB / 0.5276 GB, free: 29.7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002294/0.2865, allocations: 88.44 kB / 0.5277 GB, free: 29.69 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.2865, allocations: 5.125 kB / 0.5277 GB, free: 29.69 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000138/0.2867, allocations: 23.7 kB / 0.5277 GB, free: 29.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.23e-05/0.2867, allocations: 19.22 kB / 0.5277 GB, free: 29.68 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition4,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition3,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled,$whenCondition2,$PRE.t_new_3.nextTimeEvent,t_new_3.nextTimeEvent,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEventScaled,$whenCondition1,$PRE.t_new_4.nextTimeEvent,t_new_4.nextTimeEvent,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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 0.0001744/0.2869, allocations: 237.3 kB / 0.528 GB, free: 29.51 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.671e-05/0.2869, allocations: 62.38 kB / 0.528 GB, free: 29.48 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001041/0.287, allocations: 79.66 kB / 0.5281 GB, free: 29.45 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.139e-06/0.287, allocations: 7.047 kB / 0.5281 GB, free: 29.44 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.2871, allocations: 2.812 kB / 0.5281 GB, free: 29.44 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.2871, allocations: 7.359 kB / 0.5281 GB, free: 29.44 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00116/0.2882, allocations: 1.306 MB / 0.5294 GB, free: 28.57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.608e-06/0.2883, allocations: 2.812 kB / 0.5294 GB, free: 28.57 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001347/0.2884, allocations: 64.52 kB / 0.5295 GB, free: 28.56 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.17e-06/0.2884, allocations: 9.625 kB / 0.5295 GB, free: 28.56 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.265e-05/0.2884, allocations: 12.84 kB / 0.5295 GB, free: 28.56 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.571e-06/0.2884, allocations: 13.86 kB / 0.5295 GB, free: 28.55 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.2884, allocations: 5.781 kB / 0.5295 GB, free: 28.55 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006097/0.2891, allocations: 0.7773 MB / 0.5303 GB, free: 27.98 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001358/0.2892, allocations: 182.8 kB / 0.5304 GB, free: 27.83 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.038e-05/0.2893, allocations: 16.31 kB / 0.5305 GB, free: 27.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002513/0.2895, allocations: 18.41 kB / 0.5305 GB, free: 27.82 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.974e-05/0.2896, allocations: 47.36 kB / 0.5305 GB, free: 27.8 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.204e-05/0.2896, allocations: 22.22 kB / 0.5305 GB, free: 27.8 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004445/0.2901, allocations: 0.5783 MB / 0.5311 GB, free: 27.58 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2901, allocations: 0 / 0.5311 GB, free: 27.58 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004479/0.2906, allocations: 88.11 kB / 0.5312 GB, free: 27.57 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0009561/0.2915, allocations: 0.5194 MB / 0.5317 GB, free: 27.3 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004661/0.292, allocations: 320.2 kB / 0.532 GB, free: 27.19 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.292, allocations: 0 / 0.532 GB, free: 27.19 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002251/0.2922, allocations: 162.4 kB / 0.5322 GB, free: 27.14 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009783/0.2932, allocations: 130.6 kB / 0.5323 GB, free: 27.09 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001152/0.2944, allocations: 1.201 MB / 0.5335 GB, free: 26.37 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00026/0.2947, allocations: 0.8836 MB / 0.5343 GB, free: 25.66 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001005/0.2948, allocations: 53.3 kB / 0.5344 GB, free: 25.65 MB / 378.7 MB Notification: Performance of SimCode: time 2.51e-07/0.2948, allocations: 0 / 0.5344 GB, free: 25.65 MB / 378.7 MB Notification: Performance of Templates: time 0.008616/0.3034, allocations: 6.374 MB / 0.5406 GB, free: 24.9 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test88.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test88.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test88.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test88 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test88.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test88_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test88/Test88.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test88.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches