Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.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.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008606/0.0008606, allocations: 171.5 kB / 16.76 MB, free: 5.043 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.583/1.583, allocations: 205.4 MB / 222.9 MB, free: 9.016 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.0007932/0.0007934, allocations: 77.06 kB / 271.3 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3853/0.3853, allocations: 43.56 MB / 363.1 MB, free: 52.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003862/0.0003863, allocations: 12 kB / 432.6 MB, free: 5.188 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1408/0.1412, allocations: 58.85 MB / 491.5 MB, free: 10.26 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3903/0.5316, allocations: 89.02 MB / 0.5669 GB, free: 12.96 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002141/0.5318, allocations: 73.8 kB / 0.567 GB, free: 12.89 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02128/0.5531, allocations: 8.61 MB / 0.5754 GB, free: 4.324 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.306e-06/0.5532, allocations: 0 / 0.5754 GB, free: 4.324 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.415e-05/0.5532, allocations: 12 kB / 0.5754 GB, free: 4.312 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0007873/0.554, allocations: 0.6346 MB / 0.576 GB, free: 3.629 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/0.5541, allocations: 16.03 kB / 0.576 GB, free: 3.613 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.632e-05/0.5542, allocations: 36.47 kB / 0.576 GB, free: 3.578 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004711/0.5546, allocations: 366.1 kB / 0.5764 GB, free: 3.18 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/0.5547, allocations: 4.375 kB / 0.5764 GB, free: 3.176 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.275e-05/0.5547, allocations: 16.31 kB / 0.5764 GB, free: 3.16 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002456/0.5549, allocations: 121.2 kB / 0.5765 GB, free: 3.039 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/0.555, allocations: 4.188 kB / 0.5765 GB, free: 3.035 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.778e-05/0.555, allocations: 7.938 kB / 0.5765 GB, free: 3.027 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.555, allocations: 0 / 0.5765 GB, free: 3.027 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001756/0.5552, allocations: 95.88 kB / 0.5766 GB, free: 2.934 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007308/0.5559, allocations: 0.5315 MB / 0.5772 GB, free: 2.352 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000192/0.5561, allocations: 118.5 kB / 0.5773 GB, free: 2.227 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.006e-05/0.5562, allocations: 44.84 kB / 0.5773 GB, free: 2.18 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.692e-05/0.5563, allocations: 4 kB / 0.5773 GB, free: 2.176 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.035e-05/0.5563, allocations: 34.77 kB / 0.5773 GB, free: 2.133 MB / 394.7 MB Notification: Performance of pre-optimization done (n=11): time 1.212e-06/0.5563, allocations: 3.938 kB / 0.5773 GB, free: 2.129 MB / 394.7 MB Notification: Performance of matching and sorting (n=17): time 0.0009708/0.5573, allocations: 448.8 kB / 0.5778 GB, free: 1.684 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.292e-05/0.5573, allocations: 55.31 kB / 0.5778 GB, free: 1.617 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005866/0.5579, allocations: 0.5447 MB / 0.5784 GB, free: 1.066 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.558, allocations: 25.7 kB / 0.5784 GB, free: 1.035 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000138/0.5581, allocations: 208.3 kB / 0.5786 GB, free: 0.8281 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.953e-05/0.5582, allocations: 51.25 kB / 0.5786 GB, free: 0.7773 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.776e-06/0.5582, allocations: 7.938 kB / 0.5786 GB, free: 0.7695 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.5583, allocations: 354.8 kB / 0.579 GB, free: 424 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001284/0.5585, allocations: 63.95 kB / 0.579 GB, free: 360 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001224/0.5586, allocations: 75.95 kB / 0.5791 GB, free: 284 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002655/0.5589, allocations: 169.7 kB / 0.5793 GB, free: 112 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.5589, allocations: 0 / 0.5793 GB, free: 112 kB / 394.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003884/0.5593, allocations: 241.8 kB / 0.5795 GB, free: 15.87 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.5593, allocations: 8 kB / 0.5795 GB, free: 15.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.5593, allocations: 0 / 0.5795 GB, free: 15.86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/0.5594, allocations: 0 / 0.5795 GB, free: 15.86 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001634/0.5595, allocations: 35.92 kB / 0.5795 GB, free: 15.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.171e-06/0.5595, allocations: 0 / 0.5795 GB, free: 15.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.195e-05/0.5596, allocations: 19.92 kB / 0.5796 GB, free: 15.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.36e-05/0.5596, allocations: 8 kB / 0.5796 GB, free: 15.8 MB / 410.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 (17): * Single equations (assignments): 17 * 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.0001671/0.5598, allocations: 177.8 kB / 0.5797 GB, free: 15.61 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.003e-05/0.5599, allocations: 43.47 kB / 0.5798 GB, free: 15.57 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004892/0.5604, allocations: 287.3 kB / 0.5801 GB, free: 15.28 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.5604, allocations: 0 / 0.5801 GB, free: 15.28 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.5604, allocations: 3.984 kB / 0.5801 GB, free: 15.28 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.5604, allocations: 4 kB / 0.5801 GB, free: 15.27 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008652/0.5613, allocations: 0.7362 MB / 0.5808 GB, free: 14.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.5613, allocations: 0 / 0.5808 GB, free: 14.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001076/0.5614, allocations: 31.98 kB / 0.5808 GB, free: 14.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.5614, allocations: 3.938 kB / 0.5808 GB, free: 14.45 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.786e-05/0.5615, allocations: 7.984 kB / 0.5808 GB, free: 14.44 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.5615, allocations: 3.938 kB / 0.5808 GB, free: 14.43 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.5615, allocations: 3.984 kB / 0.5808 GB, free: 14.43 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003961/0.5619, allocations: 346.1 kB / 0.5812 GB, free: 14.08 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001251/0.562, allocations: 140.6 kB / 0.5813 GB, free: 13.92 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.654e-05/0.5621, allocations: 3.984 kB / 0.5813 GB, free: 13.92 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/0.5622, allocations: 16 kB / 0.5813 GB, free: 13.9 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.705e-05/0.5622, allocations: 11.98 kB / 0.5813 GB, free: 13.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.228e-05/0.5622, allocations: 7.938 kB / 0.5813 GB, free: 13.88 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004401/0.5627, allocations: 403.1 kB / 0.5817 GB, free: 13.49 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.884e-06/0.5627, allocations: 0 / 0.5817 GB, free: 13.49 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003332/0.563, allocations: 79.86 kB / 0.5818 GB, free: 13.41 MB / 410.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 (17): * Single equations (assignments): 17 * 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.001556/0.5646, allocations: 0.7297 MB / 0.5825 GB, free: 12.79 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000342/0.565, allocations: 171.8 kB / 0.5827 GB, free: 12.62 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.565, allocations: 0 / 0.5827 GB, free: 12.62 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001504/0.5651, allocations: 95.89 kB / 0.5828 GB, free: 12.52 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004931/0.5656, allocations: 65.5 kB / 0.5828 GB, free: 12.46 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001112/0.5667, allocations: 0.7736 MB / 0.5836 GB, free: 11.67 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003976/0.5672, allocations: 0.8145 MB / 0.5844 GB, free: 10.83 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001479/0.5673, allocations: 69.89 kB / 0.5844 GB, free: 10.76 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001111/0.5674, allocations: 31.42 kB / 0.5845 GB, free: 10.73 MB / 410.7 MB Notification: Performance of SimCode: time 2.41e-07/0.5674, allocations: 0 / 0.5845 GB, free: 10.73 MB / 410.7 MB Notification: Performance of Templates: time 0.008059/0.5755, allocations: 3.654 MB / 0.588 GB, free: 7.078 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test20/Test20.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches