Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.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.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001333/0.001332, allocations: 174.3 kB / 16.76 MB, free: 5.051 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.742/1.742, allocations: 205.4 MB / 222.9 MB, free: 9.027 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.0009348/0.0009353, allocations: 82.41 kB / 271.3 MB, free: 8.258 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.3804/0.3804, allocations: 43.56 MB / 363.1 MB, free: 52.19 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004/0.0004002, allocations: 19.98 kB / 432.6 MB, free: 5.195 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1306/0.131, allocations: 58.84 MB / 491.5 MB, free: 10.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3272/0.4583, allocations: 87.26 MB / 0.5652 GB, free: 14.73 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001888/0.4585, allocations: 71.97 kB / 0.5652 GB, free: 14.66 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01103/0.4696, allocations: 4.321 MB / 0.5695 GB, free: 10.37 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.4696, allocations: 0 / 0.5695 GB, free: 10.37 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.021e-05/0.4696, allocations: 0 / 0.5695 GB, free: 10.37 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004471/0.4701, allocations: 410.6 kB / 0.5698 GB, free: 9.926 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.886e-05/0.4701, allocations: 12.03 kB / 0.5699 GB, free: 9.914 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.866e-05/0.4702, allocations: 12.84 kB / 0.5699 GB, free: 9.902 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002095/0.4704, allocations: 216 kB / 0.5701 GB, free: 9.652 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.673e-06/0.4704, allocations: 384 / 0.5701 GB, free: 9.652 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.105e-05/0.4705, allocations: 8.359 kB / 0.5701 GB, free: 9.645 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001599/0.4706, allocations: 62.23 kB / 0.5701 GB, free: 9.578 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.4706, allocations: 192 / 0.5701 GB, free: 9.578 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.4707, allocations: 3.938 kB / 0.5701 GB, free: 9.574 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.4707, allocations: 0 / 0.5701 GB, free: 9.574 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001372/0.4708, allocations: 51.97 kB / 0.5702 GB, free: 9.523 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004297/0.4713, allocations: 333.1 kB / 0.5705 GB, free: 9.148 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001376/0.4714, allocations: 46.56 kB / 0.5706 GB, free: 9.094 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.851e-05/0.4715, allocations: 28.94 kB / 0.5706 GB, free: 9.062 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.303e-05/0.4715, allocations: 0 / 0.5706 GB, free: 9.062 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/0.4716, allocations: 42.61 kB / 0.5706 GB, free: 9.012 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.4716, allocations: 3.938 kB / 0.5706 GB, free: 9.008 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0008093/0.4724, allocations: 261.1 kB / 0.5709 GB, free: 8.746 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.283e-05/0.4725, allocations: 63.39 kB / 0.5709 GB, free: 8.672 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001831/0.4726, allocations: 178.2 kB / 0.5711 GB, free: 8.488 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.883e-05/0.4727, allocations: 25.7 kB / 0.5711 GB, free: 8.457 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.883e-05/0.4727, allocations: 100.1 kB / 0.5712 GB, free: 8.355 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.803e-05/0.4728, allocations: 23.64 kB / 0.5713 GB, free: 8.332 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.881e-06/0.4728, allocations: 4 kB / 0.5713 GB, free: 8.328 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001218/0.4729, allocations: 326.8 kB / 0.5716 GB, free: 8 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000124/0.473, allocations: 51.91 kB / 0.5716 GB, free: 7.949 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001047/0.4732, allocations: 39.97 kB / 0.5717 GB, free: 7.91 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002266/0.4734, allocations: 108.9 kB / 0.5718 GB, free: 7.801 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.4734, allocations: 0 / 0.5718 GB, free: 7.801 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002839/0.4737, allocations: 145.4 kB / 0.5719 GB, free: 7.652 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.4737, allocations: 4 kB / 0.5719 GB, free: 7.648 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.4737, allocations: 1.5 kB / 0.5719 GB, free: 7.648 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.4737, allocations: 0 / 0.5719 GB, free: 7.648 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000129/0.4739, allocations: 31.92 kB / 0.5719 GB, free: 7.617 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.4739, allocations: 0 / 0.5719 GB, free: 7.617 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.663e-05/0.474, allocations: 19.98 kB / 0.572 GB, free: 7.598 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.684e-06/0.474, allocations: 0 / 0.572 GB, free: 7.598 MB / 394.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 (7): * Single equations (assignments): 7 * 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.0001043/0.4741, allocations: 134.5 kB / 0.5721 GB, free: 7.457 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.417e-05/0.4741, allocations: 7.906 kB / 0.5721 GB, free: 7.449 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003429/0.4745, allocations: 154.3 kB / 0.5722 GB, free: 7.293 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.4745, allocations: 0 / 0.5722 GB, free: 7.293 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.4745, allocations: 4 kB / 0.5722 GB, free: 7.289 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.4745, allocations: 0 / 0.5722 GB, free: 7.289 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005682/0.4751, allocations: 446.8 kB / 0.5727 GB, free: 6.797 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.4751, allocations: 0 / 0.5727 GB, free: 6.797 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.325e-05/0.4752, allocations: 24.8 kB / 0.5727 GB, free: 6.773 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.4752, allocations: 4 kB / 0.5727 GB, free: 6.77 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/0.4752, allocations: 4 kB / 0.5727 GB, free: 6.766 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.4753, allocations: 0 / 0.5727 GB, free: 6.766 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.578e-06/0.4753, allocations: 7.922 kB / 0.5727 GB, free: 6.758 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003973/0.4757, allocations: 239.4 kB / 0.5729 GB, free: 6.508 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.547e-05/0.4758, allocations: 100.8 kB / 0.573 GB, free: 6.391 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.529e-05/0.4758, allocations: 8 kB / 0.573 GB, free: 6.383 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001093/0.4759, allocations: 15.98 kB / 0.5731 GB, free: 6.367 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.909e-05/0.476, allocations: 15.91 kB / 0.5731 GB, free: 6.352 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.5e-06/0.476, allocations: 0 / 0.5731 GB, free: 6.352 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000151/0.4761, allocations: 140.8 kB / 0.5732 GB, free: 6.215 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4762, allocations: 0 / 0.5732 GB, free: 6.215 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002951/0.4765, allocations: 27.94 kB / 0.5732 GB, free: 6.188 MB / 394.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 (7): * Single equations (assignments): 7 * 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.0009656/0.4774, allocations: 415 kB / 0.5736 GB, free: 5.875 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003528/0.4778, allocations: 107.9 kB / 0.5737 GB, free: 5.77 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.4778, allocations: 0 / 0.5737 GB, free: 5.77 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000153/0.478, allocations: 55.95 kB / 0.5738 GB, free: 5.715 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000397/0.4784, allocations: 16 kB / 0.5738 GB, free: 5.699 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005685/0.479, allocations: 263.3 kB / 0.574 GB, free: 5.418 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003098/0.4793, allocations: 0.7083 MB / 0.5747 GB, free: 4.684 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 8.125e-05/0.4794, allocations: 24.95 kB / 0.5748 GB, free: 4.656 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.845e-05/0.4794, allocations: 15.44 kB / 0.5748 GB, free: 4.641 MB / 394.7 MB Notification: Performance of SimCode: time 2.6e-07/0.4794, allocations: 0 / 0.5748 GB, free: 4.641 MB / 394.7 MB Notification: Performance of Templates: time 0.003506/0.4829, allocations: 1.285 MB / 0.576 GB, free: 3.359 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test27/Test27.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches