Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19.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.Test19,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.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test19,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.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008909/0.000891, allocations: 181.4 kB / 17.41 MB, free: 4.402 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.398/1.398, allocations: 205.4 MB / 223.6 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.0007857/0.0007856, allocations: 97.97 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.3551/0.3551, allocations: 43.55 MB / 363.8 MB, free: 51.87 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003745/0.0003745, allocations: 16 kB / 432.6 MB, free: 5.648 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.1277, allocations: 58.85 MB / 491.4 MB, free: 10.71 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3648/0.4926, allocations: 88.84 MB / 0.5667 GB, free: 13.41 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002653/0.493, allocations: 75.95 kB / 0.5668 GB, free: 13.34 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02081/0.5138, allocations: 8.46 MB / 0.575 GB, free: 4.918 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.835e-06/0.5139, allocations: 0 / 0.575 GB, free: 4.918 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.825e-05/0.5139, allocations: 8 kB / 0.575 GB, free: 4.91 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007362/0.5146, allocations: 0.6027 MB / 0.5756 GB, free: 4.258 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.5147, allocations: 12.03 kB / 0.5756 GB, free: 4.246 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.444e-05/0.5148, allocations: 40.47 kB / 0.5757 GB, free: 4.207 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004812/0.5153, allocations: 366 kB / 0.576 GB, free: 3.809 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.736e-05/0.5153, allocations: 8.375 kB / 0.576 GB, free: 3.801 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.535e-05/0.5153, allocations: 8.922 kB / 0.576 GB, free: 3.793 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002036/0.5155, allocations: 92.75 kB / 0.5761 GB, free: 3.699 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.387e-06/0.5155, allocations: 192 / 0.5761 GB, free: 3.699 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.5156, allocations: 3.938 kB / 0.5761 GB, free: 3.695 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.5156, allocations: 0 / 0.5761 GB, free: 3.695 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001557/0.5157, allocations: 79.89 kB / 0.5762 GB, free: 3.617 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006564/0.5164, allocations: 485.1 kB / 0.5767 GB, free: 3.094 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001381/0.5165, allocations: 78.48 kB / 0.5767 GB, free: 3.008 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.466e-05/0.5166, allocations: 36.97 kB / 0.5768 GB, free: 2.969 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.412e-05/0.5167, allocations: 7.969 kB / 0.5768 GB, free: 2.961 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.251e-05/0.5167, allocations: 34.56 kB / 0.5768 GB, free: 2.918 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.5167, allocations: 0 / 0.5768 GB, free: 2.918 MB / 394.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003776/0.5171, allocations: 161.2 kB / 0.577 GB, free: 2.754 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.317e-05/0.5171, allocations: 55.34 kB / 0.577 GB, free: 2.688 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005891/0.5177, allocations: 0.541 MB / 0.5776 GB, free: 2.141 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.521e-05/0.5177, allocations: 29.64 kB / 0.5776 GB, free: 2.105 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001292/0.5179, allocations: 199.9 kB / 0.5778 GB, free: 1.906 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.475e-05/0.5179, allocations: 19.66 kB / 0.5778 GB, free: 1.887 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.558e-06/0.5179, allocations: 0 / 0.5778 GB, free: 1.887 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.5181, allocations: 350.8 kB / 0.5781 GB, free: 1.535 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.27e-05/0.5181, allocations: 27.98 kB / 0.5781 GB, free: 1.508 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.786e-05/0.5182, allocations: 31.97 kB / 0.5782 GB, free: 1.477 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001271/0.5183, allocations: 68.83 kB / 0.5782 GB, free: 1.406 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.5183, allocations: 0 / 0.5782 GB, free: 1.406 MB / 394.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002006/0.5185, allocations: 133.2 kB / 0.5784 GB, free: 1.27 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.5186, allocations: 4 kB / 0.5784 GB, free: 1.266 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.5186, allocations: 0 / 0.5784 GB, free: 1.266 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.5186, allocations: 4 kB / 0.5784 GB, free: 1.262 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.52e-05/0.5187, allocations: 15.92 kB / 0.5784 GB, free: 1.246 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.5187, allocations: 0 / 0.5784 GB, free: 1.246 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.729e-05/0.5188, allocations: 11.94 kB / 0.5784 GB, free: 1.234 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.706e-06/0.5188, allocations: 0 / 0.5784 GB, free: 1.234 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 (6): * Single equations (assignments): 6 * 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.0001541/0.519, allocations: 181.7 kB / 0.5786 GB, free: 1.047 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.022e-05/0.519, allocations: 35.53 kB / 0.5786 GB, free: 1.012 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002797/0.5193, allocations: 149.3 kB / 0.5788 GB, free: 0.8555 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.5193, allocations: 0 / 0.5788 GB, free: 0.8555 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.5193, allocations: 0 / 0.5788 GB, free: 0.8555 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.177e-06/0.5193, allocations: 7.875 kB / 0.5788 GB, free: 0.8477 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002999/0.5197, allocations: 313.5 kB / 0.5791 GB, free: 0.4922 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.5197, allocations: 4 kB / 0.5791 GB, free: 500 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.512e-05/0.5197, allocations: 15.98 kB / 0.5791 GB, free: 484 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.5197, allocations: 0 / 0.5791 GB, free: 484 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.684e-06/0.5197, allocations: 0 / 0.5791 GB, free: 484 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.5198, allocations: 0 / 0.5791 GB, free: 484 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.5198, allocations: 0 / 0.5791 GB, free: 484 kB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002551/0.52, allocations: 235 kB / 0.5793 GB, free: 232 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001294/0.5202, allocations: 136.6 kB / 0.5794 GB, free: 76 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.658e-05/0.5202, allocations: 7.984 kB / 0.5794 GB, free: 68 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.341e-05/0.5203, allocations: 4 kB / 0.5794 GB, free: 64 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.097e-05/0.5203, allocations: 7.938 kB / 0.5795 GB, free: 56 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.787e-06/0.5204, allocations: 4 kB / 0.5795 GB, free: 52 kB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004438/0.5208, allocations: 407.1 kB / 0.5798 GB, free: 15.65 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5208, allocations: 0 / 0.5798 GB, free: 15.65 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000309/0.5211, allocations: 51.84 kB / 0.5799 GB, free: 15.6 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 (6): * Single equations (assignments): 6 * 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.001283/0.5224, allocations: 0.6131 MB / 0.5805 GB, free: 15.1 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001909/0.5226, allocations: 63.97 kB / 0.5806 GB, free: 15.04 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.5226, allocations: 0 / 0.5806 GB, free: 15.04 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.357e-05/0.5227, allocations: 43.91 kB / 0.5806 GB, free: 15 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004738/0.5232, allocations: 65.44 kB / 0.5807 GB, free: 14.93 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001005/0.5242, allocations: 0.7118 MB / 0.5814 GB, free: 14.19 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000386/0.5246, allocations: 0.7946 MB / 0.5821 GB, free: 13.37 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.055e-05/0.5247, allocations: 31.42 kB / 0.5822 GB, free: 13.34 MB / 410.7 MB Notification: Performance of SimCode: time 2.31e-07/0.5247, allocations: 8 kB / 0.5822 GB, free: 13.34 MB / 410.7 MB Notification: Performance of Templates: time 0.006081/0.5308, allocations: 4.13 MB / 0.5862 GB, free: 9.207 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test19/Test19.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches