Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test7.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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000883/0.000883, allocations: 181.1 kB / 17.41 MB, free: 4.281 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.431/1.431, allocations: 205.4 MB / 223.6 MB, free: 9.004 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.0008645/0.0008644, allocations: 80.95 kB / 271.9 MB, free: 8.254 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.3629/0.3629, allocations: 43.57 MB / 363.8 MB, free: 51.96 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005272/0.0005277, allocations: 12 kB / 432.6 MB, free: 5.641 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.1387, allocations: 58.86 MB / 491.5 MB, free: 10.7 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.317/0.4557, allocations: 87.16 MB / 0.5651 GB, free: 15.09 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002643/0.456, allocations: 75.95 kB / 0.5651 GB, free: 15.01 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01669/0.4727, allocations: 7.881 MB / 0.5728 GB, free: 7.16 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.826e-06/0.4728, allocations: 0 / 0.5728 GB, free: 7.16 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.937e-05/0.4728, allocations: 7.828 kB / 0.5728 GB, free: 7.156 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006304/0.4734, allocations: 0.6256 MB / 0.5734 GB, free: 6.48 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.4735, allocations: 16.02 kB / 0.5735 GB, free: 6.465 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.95e-05/0.4736, allocations: 40.38 kB / 0.5735 GB, free: 6.426 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004183/0.474, allocations: 348.2 kB / 0.5738 GB, free: 6.047 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.047e-05/0.474, allocations: 384 / 0.5738 GB, free: 6.047 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.287e-05/0.474, allocations: 4.375 kB / 0.5738 GB, free: 6.043 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001319/0.4742, allocations: 50.25 kB / 0.5739 GB, free: 5.988 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.4742, allocations: 192 / 0.5739 GB, free: 5.988 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.4742, allocations: 3.938 kB / 0.5739 GB, free: 5.984 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.4742, allocations: 4 kB / 0.5739 GB, free: 5.98 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.511e-05/0.4743, allocations: 31.92 kB / 0.5739 GB, free: 5.949 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005715/0.4749, allocations: 432.8 kB / 0.5743 GB, free: 5.477 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.687e-05/0.475, allocations: 38.56 kB / 0.5744 GB, free: 5.43 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.91e-05/0.475, allocations: 20.91 kB / 0.5744 GB, free: 5.406 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.227e-05/0.4751, allocations: 3.938 kB / 0.5744 GB, free: 5.402 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.174e-05/0.4751, allocations: 38.5 kB / 0.5744 GB, free: 5.355 MB / 394.7 MB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.4751, allocations: 0 / 0.5744 GB, free: 5.355 MB / 394.7 MB Notification: Performance of matching and sorting (n=2): time 0.000272/0.4754, allocations: 109.1 kB / 0.5745 GB, free: 5.242 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.715e-05/0.4754, allocations: 51.41 kB / 0.5746 GB, free: 5.18 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001219/0.4767, allocations: 0.8573 MB / 0.5754 GB, free: 4.309 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.119e-05/0.4767, allocations: 25.7 kB / 0.5754 GB, free: 4.277 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001537/0.4768, allocations: 220.1 kB / 0.5757 GB, free: 4.059 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.411e-05/0.4769, allocations: 7.891 kB / 0.5757 GB, free: 4.051 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.665e-06/0.4769, allocations: 0 / 0.5757 GB, free: 4.051 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001355/0.477, allocations: 366.9 kB / 0.576 GB, free: 3.684 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.49e-05/0.4771, allocations: 11.98 kB / 0.576 GB, free: 3.672 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.455e-05/0.4771, allocations: 15.94 kB / 0.576 GB, free: 3.656 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.256e-05/0.4772, allocations: 32.78 kB / 0.5761 GB, free: 3.621 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.4772, allocations: 4.062 kB / 0.5761 GB, free: 3.617 MB / 394.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001475/0.4774, allocations: 93.2 kB / 0.5762 GB, free: 3.52 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.4774, allocations: 8 kB / 0.5762 GB, free: 3.512 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.4774, allocations: 0 / 0.5762 GB, free: 3.512 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.4774, allocations: 0 / 0.5762 GB, free: 3.512 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.98e-05/0.4775, allocations: 4 kB / 0.5762 GB, free: 3.508 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.271e-06/0.4775, allocations: 1.562 kB / 0.5762 GB, free: 3.508 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.857e-05/0.4776, allocations: 15.92 kB / 0.5762 GB, free: 3.492 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-06/0.4776, allocations: 0 / 0.5762 GB, free: 3.492 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 (2): * Single equations (assignments): 2 * 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.0001795/0.4778, allocations: 221.6 kB / 0.5764 GB, free: 3.266 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.561e-05/0.4778, allocations: 39.53 kB / 0.5764 GB, free: 3.227 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002044/0.478, allocations: 108.7 kB / 0.5765 GB, free: 3.113 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.478, allocations: 0 / 0.5765 GB, free: 3.113 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.4781, allocations: 32 / 0.5765 GB, free: 3.113 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.4781, allocations: 11.92 kB / 0.5766 GB, free: 3.102 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003035/0.4784, allocations: 333.4 kB / 0.5769 GB, free: 2.727 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.4784, allocations: 0 / 0.5769 GB, free: 2.727 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.213e-05/0.4784, allocations: 4 kB / 0.5769 GB, free: 2.723 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.4784, allocations: 4 kB / 0.5769 GB, free: 2.719 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.621e-06/0.4784, allocations: 0 / 0.5769 GB, free: 2.719 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.4784, allocations: 3.984 kB / 0.5769 GB, free: 2.715 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.4785, allocations: 0 / 0.5769 GB, free: 2.715 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001968/0.4787, allocations: 198.9 kB / 0.5771 GB, free: 2.504 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001666/0.4788, allocations: 168.5 kB / 0.5772 GB, free: 2.32 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.53e-05/0.4789, allocations: 0 / 0.5772 GB, free: 2.32 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.993e-05/0.479, allocations: 7.984 kB / 0.5772 GB, free: 2.312 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.845e-05/0.479, allocations: 0 / 0.5772 GB, free: 2.312 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-06/0.479, allocations: 0 / 0.5772 GB, free: 2.312 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006693/0.4797, allocations: 0.6433 MB / 0.5779 GB, free: 1.672 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4797, allocations: 0 / 0.5779 GB, free: 1.672 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003163/0.48, allocations: 59.92 kB / 0.5779 GB, free: 1.613 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 (2): * Single equations (assignments): 2 * 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.0007082/0.4807, allocations: 345.8 kB / 0.5783 GB, free: 1.371 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001357/0.4809, allocations: 31.92 kB / 0.5783 GB, free: 1.34 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.4809, allocations: 0 / 0.5783 GB, free: 1.34 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.38e-05/0.4809, allocations: 11.98 kB / 0.5783 GB, free: 1.328 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003407/0.4813, allocations: 30.23 kB / 0.5783 GB, free: 1.301 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001144/0.4824, allocations: 0.9327 MB / 0.5792 GB, free: 340 kB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003867/0.4828, allocations: 0.8223 MB / 0.58 GB, free: 15.48 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.241e-05/0.4829, allocations: 23.69 kB / 0.5801 GB, free: 15.46 MB / 410.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4829, allocations: 0 / 0.5801 GB, free: 15.46 MB / 410.7 MB Notification: Performance of Templates: time 0.006589/0.4895, allocations: 4.048 MB / 0.584 GB, free: 11.41 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test7.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test7 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test7/Test7.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches