Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001538/0.001538, allocations: 182.8 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.626/1.626, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009777/0.0009777, allocations: 98.8 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2394/0.2394, allocations: 43.56 MB / 362 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003948/0.0003946, allocations: 12 kB / 431.4 MB, free: 19.6 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1406/0.141, allocations: 58.86 MB / 490.2 MB, free: 8.672 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4067/0.5477, allocations: 87.26 MB / 0.564 GB, free: 12.52 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002514/0.548, allocations: 68.91 kB / 0.564 GB, free: 12.49 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01782/0.5659, allocations: 7.823 MB / 0.5717 GB, free: 5.492 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.5659, allocations: 0 / 0.5717 GB, free: 5.492 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.497e-05/0.566, allocations: 11.94 kB / 0.5717 GB, free: 5.48 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.001116/0.5671, allocations: 0.626 MB / 0.5723 GB, free: 4.824 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.636e-05/0.5672, allocations: 16.02 kB / 0.5723 GB, free: 4.809 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001343/0.5673, allocations: 47.38 kB / 0.5724 GB, free: 4.762 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009187/0.5683, allocations: 331.3 kB / 0.5727 GB, free: 4.41 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.463e-05/0.5683, allocations: 4.562 kB / 0.5727 GB, free: 4.406 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.183e-05/0.5684, allocations: 5.125 kB / 0.5727 GB, free: 4.402 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002915/0.5687, allocations: 57.12 kB / 0.5727 GB, free: 4.348 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.969e-05/0.5687, allocations: 0 / 0.5727 GB, free: 4.348 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.111e-05/0.5687, allocations: 1.438 kB / 0.5727 GB, free: 4.348 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/0.5687, allocations: 0 / 0.5727 GB, free: 4.348 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001736/0.5689, allocations: 40.8 kB / 0.5728 GB, free: 4.312 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001097/0.5701, allocations: 448.8 kB / 0.5732 GB, free: 3.883 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002874/0.5704, allocations: 42.06 kB / 0.5732 GB, free: 3.836 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.685e-05/0.5704, allocations: 3.938 kB / 0.5732 GB, free: 3.832 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.908e-05/0.5704, allocations: 41.89 kB / 0.5733 GB, free: 3.785 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.543e-06/0.5705, allocations: 3.938 kB / 0.5733 GB, free: 3.781 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.001237/0.5717, allocations: 264.1 kB / 0.5735 GB, free: 3.535 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.419e-05/0.5718, allocations: 51.41 kB / 0.5736 GB, free: 3.473 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00247/0.5743, allocations: 0.7889 MB / 0.5744 GB, free: 2.859 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.455e-05/0.5743, allocations: 25.7 kB / 0.5744 GB, free: 2.828 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003144/0.5747, allocations: 217.1 kB / 0.5746 GB, free: 2.707 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.882e-05/0.5747, allocations: 18.56 kB / 0.5746 GB, free: 2.691 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.061e-06/0.5747, allocations: 0 / 0.5746 GB, free: 2.691 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002833/0.575, allocations: 365.6 kB / 0.575 GB, free: 2.344 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001196/0.5752, allocations: 27.23 kB / 0.575 GB, free: 2.32 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001113/0.5753, allocations: 26.67 kB / 0.575 GB, free: 2.301 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000117/0.5754, allocations: 23.42 kB / 0.575 GB, free: 2.281 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.5754, allocations: 0 / 0.575 GB, free: 2.281 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0004224/0.5759, allocations: 133.5 kB / 0.5752 GB, free: 2.156 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.274e-05/0.5759, allocations: 11.95 kB / 0.5752 GB, free: 2.145 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/0.5759, allocations: 0 / 0.5752 GB, free: 2.145 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.213e-05/0.576, allocations: 3.938 kB / 0.5752 GB, free: 2.141 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001047/0.5761, allocations: 15.98 kB / 0.5752 GB, free: 2.125 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/0.5761, allocations: 0 / 0.5752 GB, free: 2.125 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00013/0.5763, allocations: 8 kB / 0.5752 GB, free: 2.117 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.619e-05/0.5763, allocations: 7.438 kB / 0.5752 GB, free: 2.113 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.0003191/0.5766, allocations: 211.3 kB / 0.5754 GB, free: 1.914 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001344/0.5768, allocations: 43.44 kB / 0.5754 GB, free: 1.871 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004481/0.5772, allocations: 153.3 kB / 0.5756 GB, free: 1.73 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.5772, allocations: 0 / 0.5756 GB, free: 1.73 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.178e-06/0.5773, allocations: 0 / 0.5756 GB, free: 1.73 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.5773, allocations: 3.938 kB / 0.5756 GB, free: 1.727 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001318/0.5786, allocations: 0.5984 MB / 0.5762 GB, free: 1.152 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.5786, allocations: 4.062 kB / 0.5762 GB, free: 1.148 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.729e-05/0.5787, allocations: 23.94 kB / 0.5762 GB, free: 1.125 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.5787, allocations: 0 / 0.5762 GB, free: 1.125 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.5788, allocations: 0 / 0.5762 GB, free: 1.125 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.235e-06/0.5788, allocations: 0 / 0.5762 GB, free: 1.125 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.5788, allocations: 0 / 0.5762 GB, free: 1.125 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004826/0.5793, allocations: 239.6 kB / 0.5764 GB, free: 0.8906 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003379/0.5796, allocations: 159.4 kB / 0.5766 GB, free: 0.7227 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.969e-05/0.5797, allocations: 7.328 kB / 0.5766 GB, free: 0.7188 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001758/0.5799, allocations: 8 kB / 0.5766 GB, free: 0.7109 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.984e-05/0.58, allocations: 3.984 kB / 0.5766 GB, free: 0.707 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.808e-06/0.58, allocations: 4 kB / 0.5766 GB, free: 0.7031 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001196/0.5812, allocations: 0.6399 MB / 0.5772 GB, free: 244 kB / 378.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.5812, allocations: 0 / 0.5772 GB, free: 244 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005776/0.5818, allocations: 67.77 kB / 0.5773 GB, free: 180 kB / 378.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.001505/0.5833, allocations: 395.9 kB / 0.5777 GB, free: 15.84 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003257/0.5837, allocations: 71.33 kB / 0.5777 GB, free: 15.78 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.5837, allocations: 0 / 0.5777 GB, free: 15.78 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001372/0.5838, allocations: 27.3 kB / 0.5778 GB, free: 15.75 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004226/0.5843, allocations: 25.8 kB / 0.5778 GB, free: 15.74 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002092/0.5864, allocations: 0.9127 MB / 0.5787 GB, free: 14.87 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006501/0.587, allocations: 0.8414 MB / 0.5795 GB, free: 14.02 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001426/0.5872, allocations: 43.97 kB / 0.5796 GB, free: 13.98 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.949e-05/0.5873, allocations: 19.44 kB / 0.5796 GB, free: 13.96 MB / 394.7 MB Notification: Performance of SimCode: time 3.4e-07/0.5873, allocations: 4 kB / 0.5796 GB, free: 13.95 MB / 394.7 MB Notification: Performance of Templates: time 0.009752/0.5971, allocations: 2.45 MB / 0.582 GB, free: 11.5 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test5/Test5.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches