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.0009883/0.0009883, allocations: 195.1 kB / 16.78 MB, free: 5.035 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.252/1.252, allocations: 226.5 MB / 244.1 MB, free: 6.379 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008003/0.0007999, allocations: 97.19 kB / 296.1 MB, free: 6.676 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3139/0.3139, allocations: 44.83 MB / 393 MB, free: 35.65 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000286/0.000286, allocations: 8 kB / 465.9 MB, free: 12.74 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3988/0.3991, allocations: 62.96 MB / 0.5165 GB, free: 37.31 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1121/0.5113, allocations: 91.32 MB / 0.6057 GB, free: 14.07 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00022/0.5115, allocations: 79.95 kB / 0.6057 GB, free: 14 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03574/0.5473, allocations: 13.75 MB / 0.6192 GB, free: 228 kB / 426.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.5473, allocations: 0 / 0.6192 GB, free: 228 kB / 426.7 MB Notification: Performance of Transformations before backend: time 3.471e-05/0.5474, allocations: 15.98 kB / 0.6192 GB, free: 212 kB / 426.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.001159/0.5485, allocations: 0.822 MB / 0.62 GB, free: 15.33 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.5486, allocations: 8.031 kB / 0.62 GB, free: 15.32 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001039/0.5487, allocations: 64.17 kB / 0.6201 GB, free: 15.26 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007212/0.5494, allocations: 480.3 kB / 0.6205 GB, free: 14.75 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.062e-05/0.5495, allocations: 14.22 kB / 0.6205 GB, free: 14.74 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.965e-05/0.5495, allocations: 16.38 kB / 0.6205 GB, free: 14.73 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003721/0.5499, allocations: 198.9 kB / 0.6207 GB, free: 14.52 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.739e-05/0.5499, allocations: 4.188 kB / 0.6207 GB, free: 14.51 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.065e-05/0.5499, allocations: 7.938 kB / 0.6207 GB, free: 14.5 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.55, allocations: 4 kB / 0.6207 GB, free: 14.5 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002206/0.5502, allocations: 111.8 kB / 0.6209 GB, free: 14.39 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009493/0.5511, allocations: 0.8444 MB / 0.6217 GB, free: 13.48 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005883/0.5517, allocations: 258.8 kB / 0.6219 GB, free: 13.2 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001855/0.5519, allocations: 95.52 kB / 0.622 GB, free: 13.09 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.433e-05/0.552, allocations: 0 / 0.622 GB, free: 13.09 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003456/0.5523, allocations: 205.6 kB / 0.6222 GB, free: 12.87 MB / 442.7 MB Notification: Performance of pre-optimization done (n=28): time 1.523e-06/0.5523, allocations: 4 kB / 0.6222 GB, free: 12.86 MB / 442.7 MB Notification: Performance of matching and sorting (n=44): time 0.002351/0.5547, allocations: 1.13 MB / 0.6233 GB, free: 11.72 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.894e-05/0.5548, allocations: 144.5 kB / 0.6235 GB, free: 11.55 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008992/0.5557, allocations: 0.7852 MB / 0.6242 GB, free: 10.75 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.423e-05/0.5557, allocations: 41.64 kB / 0.6243 GB, free: 10.71 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001706/0.5559, allocations: 248.9 kB / 0.6245 GB, free: 10.46 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000113/0.556, allocations: 142.1 kB / 0.6246 GB, free: 10.32 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.655e-05/0.5561, allocations: 4 kB / 0.6246 GB, free: 10.32 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001618/0.5562, allocations: 382.7 kB / 0.625 GB, free: 9.934 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000224/0.5564, allocations: 112.8 kB / 0.6251 GB, free: 9.824 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002732/0.5567, allocations: 195.1 kB / 0.6253 GB, free: 9.605 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004958/0.5572, allocations: 323.6 kB / 0.6256 GB, free: 9.27 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.5572, allocations: 0 / 0.6256 GB, free: 9.27 MB / 442.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007123/0.558, allocations: 449.1 kB / 0.626 GB, free: 8.824 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.343e-05/0.558, allocations: 6.969 kB / 0.626 GB, free: 8.82 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/0.558, allocations: 8.125 kB / 0.626 GB, free: 8.812 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.558, allocations: 4 kB / 0.6261 GB, free: 8.809 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002622/0.5583, allocations: 87.89 kB / 0.6261 GB, free: 8.723 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.267e-06/0.5583, allocations: 4 kB / 0.6261 GB, free: 8.719 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000159/0.5585, allocations: 20 kB / 0.6262 GB, free: 8.699 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.649e-05/0.5585, allocations: 15.98 kB / 0.6262 GB, free: 8.684 MB / 442.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.0002341/0.5588, allocations: 239.8 kB / 0.6264 GB, free: 8.438 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.439e-05/0.5588, allocations: 71.16 kB / 0.6265 GB, free: 8.367 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009933/0.5598, allocations: 0.5101 MB / 0.627 GB, free: 7.848 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.945e-06/0.5599, allocations: 4 kB / 0.627 GB, free: 7.844 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.896e-06/0.5599, allocations: 7.984 kB / 0.627 GB, free: 7.836 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.5599, allocations: 0 / 0.627 GB, free: 7.836 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001797/0.5617, allocations: 1.443 MB / 0.6284 GB, free: 6.309 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.616e-06/0.5617, allocations: 4 kB / 0.6284 GB, free: 6.305 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001818/0.5619, allocations: 59.92 kB / 0.6285 GB, free: 6.246 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.524e-06/0.5619, allocations: 11.92 kB / 0.6285 GB, free: 6.234 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.213e-05/0.5619, allocations: 20 kB / 0.6285 GB, free: 6.215 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-06/0.562, allocations: 4 kB / 0.6285 GB, free: 6.211 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/0.562, allocations: 4 kB / 0.6285 GB, free: 6.207 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008748/0.5629, allocations: 0.8085 MB / 0.6293 GB, free: 5.352 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002376/0.5631, allocations: 212.2 kB / 0.6295 GB, free: 5.125 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.265e-05/0.5632, allocations: 16 kB / 0.6295 GB, free: 5.109 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002768/0.5635, allocations: 19.98 kB / 0.6295 GB, free: 5.09 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.573e-05/0.5636, allocations: 47.83 kB / 0.6296 GB, free: 5.043 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.429e-05/0.5636, allocations: 23.98 kB / 0.6296 GB, free: 5.02 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0006454/0.5643, allocations: 0.5732 MB / 0.6301 GB, free: 4.449 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.5643, allocations: 0 / 0.6301 GB, free: 4.449 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0005554/0.5648, allocations: 123.8 kB / 0.6303 GB, free: 4.328 MB / 442.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 (48): * Single equations (assignments): 40 * 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.001134/0.566, allocations: 0.551 MB / 0.6308 GB, free: 3.953 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0006084/0.5666, allocations: 322.7 kB / 0.6311 GB, free: 3.637 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.5666, allocations: 0 / 0.6311 GB, free: 3.637 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000292/0.5669, allocations: 172.4 kB / 0.6313 GB, free: 3.469 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00104/0.568, allocations: 125.6 kB / 0.6314 GB, free: 3.352 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001658/0.5696, allocations: 1.278 MB / 0.6326 GB, free: 2.004 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005009/0.5701, allocations: 0.8866 MB / 0.6335 GB, free: 1.094 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001431/0.5703, allocations: 67.41 kB / 0.6336 GB, free: 1.027 MB / 442.7 MB Notification: Performance of SimCode: time 2.71e-07/0.5703, allocations: 4.75 kB / 0.6336 GB, free: 1.023 MB / 442.7 MB Notification: Performance of Templates: time 0.008998/0.5793, allocations: 6.778 MB / 0.6402 GB, free: 10.27 MB / 458.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/jenkins1/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