Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.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.Test87,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_ModelicaTest.Tables.CombiTimeTable.Test87") translateModel(ModelicaTest.Tables.CombiTimeTable.Test87,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_ModelicaTest.Tables.CombiTimeTable.Test87") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001491/0.001491, allocations: 200.4 kB / 18.11 MB, free: 3.609 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.649/1.649, allocations: 226.5 MB / 245.4 MB, free: 8.195 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007472/0.0007472, allocations: 95.02 kB / 297.5 MB, free: 6.875 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4542/0.4542, allocations: 44.83 MB / 394.3 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002985/0.0002985, allocations: 11.98 kB / 467.9 MB, free: 12.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4264/0.4267, allocations: 62.95 MB / 0.5184 GB, free: 37.35 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1304/0.5571, allocations: 91.33 MB / 0.6076 GB, free: 13.95 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003117/0.5575, allocations: 79.95 kB / 0.6077 GB, free: 13.88 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04014/0.5977, allocations: 14.1 MB / 0.6215 GB, free: 15.75 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.5977, allocations: 7.938 kB / 0.6215 GB, free: 15.75 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.558e-05/0.5978, allocations: 12 kB / 0.6215 GB, free: 15.73 MB / 442.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.001655/0.5994, allocations: 0.8723 MB / 0.6223 GB, free: 14.8 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/0.5995, allocations: 12.03 kB / 0.6223 GB, free: 14.79 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002232/0.5997, allocations: 72 kB / 0.6224 GB, free: 14.72 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009786/0.6007, allocations: 0.504 MB / 0.6229 GB, free: 14.18 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.673e-05/0.6008, allocations: 12.38 kB / 0.6229 GB, free: 14.17 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.758e-05/0.6008, allocations: 12.38 kB / 0.6229 GB, free: 14.16 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003825/0.6012, allocations: 210 kB / 0.6231 GB, free: 13.93 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.907e-05/0.6013, allocations: 4.094 kB / 0.6231 GB, free: 13.93 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.047e-05/0.6013, allocations: 7.938 kB / 0.6231 GB, free: 13.92 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.704e-06/0.6013, allocations: 4 kB / 0.6231 GB, free: 13.92 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000256/0.6016, allocations: 103.8 kB / 0.6232 GB, free: 13.82 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001255/0.6028, allocations: 0.8755 MB / 0.6241 GB, free: 12.88 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006403/0.6035, allocations: 270.7 kB / 0.6244 GB, free: 12.58 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002056/0.6037, allocations: 95.52 kB / 0.6244 GB, free: 12.47 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.831e-05/0.6037, allocations: 0 / 0.6244 GB, free: 12.47 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000376/0.6041, allocations: 209.7 kB / 0.6246 GB, free: 12.25 MB / 442.7 MB Notification: Performance of pre-optimization done (n=28): time 2.655e-06/0.6041, allocations: 0 / 0.6246 GB, free: 12.25 MB / 442.7 MB Notification: Performance of matching and sorting (n=44): time 0.002602/0.6067, allocations: 1.192 MB / 0.6258 GB, free: 11.04 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001009/0.6068, allocations: 140.5 kB / 0.6259 GB, free: 10.88 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001373/0.6082, allocations: 0.9457 MB / 0.6269 GB, free: 9.918 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.907e-05/0.6083, allocations: 37.7 kB / 0.6269 GB, free: 9.875 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002102/0.6085, allocations: 280.9 kB / 0.6272 GB, free: 9.598 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001357/0.6086, allocations: 146.1 kB / 0.6273 GB, free: 9.453 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.461e-05/0.6087, allocations: 4 kB / 0.6273 GB, free: 9.449 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001261/0.6088, allocations: 325.9 kB / 0.6276 GB, free: 9.125 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002589/0.6091, allocations: 120.8 kB / 0.6277 GB, free: 9.004 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002763/0.6093, allocations: 183.2 kB / 0.6279 GB, free: 8.801 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005572/0.6099, allocations: 330.7 kB / 0.6282 GB, free: 8.457 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.6099, allocations: 0 / 0.6282 GB, free: 8.457 MB / 442.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007903/0.6107, allocations: 448.5 kB / 0.6287 GB, free: 8.012 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.6107, allocations: 11.09 kB / 0.6287 GB, free: 8.004 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.6108, allocations: 4 kB / 0.6287 GB, free: 8 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/0.6108, allocations: 4 kB / 0.6287 GB, free: 7.996 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002794/0.6111, allocations: 91.83 kB / 0.6288 GB, free: 7.906 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.072e-05/0.6111, allocations: 4 kB / 0.6288 GB, free: 7.902 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001923/0.6113, allocations: 19.98 kB / 0.6288 GB, free: 7.883 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.136e-05/0.6113, allocations: 16 kB / 0.6288 GB, free: 7.867 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.000292/0.6116, allocations: 255.8 kB / 0.629 GB, free: 7.605 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001199/0.6118, allocations: 83.06 kB / 0.6291 GB, free: 7.523 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009325/0.6127, allocations: 0.5239 MB / 0.6296 GB, free: 6.992 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.333e-06/0.6127, allocations: 7.938 kB / 0.6296 GB, free: 6.984 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.864e-06/0.6127, allocations: 4 kB / 0.6297 GB, free: 6.98 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.865e-06/0.6127, allocations: 3.984 kB / 0.6297 GB, free: 6.977 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001908/0.6147, allocations: 1.498 MB / 0.6311 GB, free: 5.395 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/0.6147, allocations: 4 kB / 0.6311 GB, free: 5.391 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001682/0.6148, allocations: 63.91 kB / 0.6312 GB, free: 5.328 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.963e-06/0.6149, allocations: 4 kB / 0.6312 GB, free: 5.324 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.856e-05/0.6149, allocations: 16 kB / 0.6312 GB, free: 5.309 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.973e-06/0.6149, allocations: 11.92 kB / 0.6312 GB, free: 5.297 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.6149, allocations: 8.25 kB / 0.6312 GB, free: 5.289 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009065/0.6158, allocations: 0.8163 MB / 0.632 GB, free: 4.426 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003267/0.6162, allocations: 232.1 kB / 0.6322 GB, free: 4.18 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.75e-05/0.6163, allocations: 16 kB / 0.6323 GB, free: 4.164 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003053/0.6166, allocations: 27.98 kB / 0.6323 GB, free: 4.137 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001001/0.6167, allocations: 47.77 kB / 0.6323 GB, free: 4.09 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.796e-05/0.6167, allocations: 23.98 kB / 0.6323 GB, free: 4.066 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001047/0.6178, allocations: 0.6903 MB / 0.633 GB, free: 3.379 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.6178, allocations: 0 / 0.633 GB, free: 3.379 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0006483/0.6185, allocations: 119.9 kB / 0.6331 GB, free: 3.262 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.00138/0.6198, allocations: 0.5467 MB / 0.6337 GB, free: 2.891 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0007052/0.6206, allocations: 326.7 kB / 0.634 GB, free: 2.57 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.6206, allocations: 0 / 0.634 GB, free: 2.57 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003225/0.6209, allocations: 181 kB / 0.6342 GB, free: 2.395 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001201/0.6221, allocations: 121.1 kB / 0.6343 GB, free: 2.285 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002167/0.6243, allocations: 1.406 MB / 0.6356 GB, free: 0.8164 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006704/0.625, allocations: 0.9179 MB / 0.6365 GB, free: 15.87 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0003154/0.6253, allocations: 103.2 kB / 0.6366 GB, free: 15.77 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000189/0.6255, allocations: 67.41 kB / 0.6367 GB, free: 15.7 MB / 458.7 MB Notification: Performance of SimCode: time 1.052e-06/0.6255, allocations: 0 / 0.6367 GB, free: 15.7 MB / 458.7 MB Notification: Performance of Templates: time 0.01318/0.6387, allocations: 6.004 MB / 0.6426 GB, free: 9.742 MB / 458.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test87/Test87.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches