Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22.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.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009442/0.0009443, allocations: 181.5 kB / 17.41 MB, free: 4.406 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.476/1.476, allocations: 205.4 MB / 223.6 MB, free: 9.023 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.000808/0.000808, allocations: 92.97 kB / 271.9 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.3517/0.3517, allocations: 43.55 MB / 363.8 MB, free: 51.9 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003991/0.0003991, allocations: 12 kB / 432.6 MB, free: 5.652 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1329/0.1333, allocations: 58.85 MB / 491.4 MB, free: 10.72 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3218/0.4552, allocations: 88.48 MB / 0.5663 GB, free: 13.79 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002138/0.4555, allocations: 75.95 kB / 0.5664 GB, free: 13.71 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0218/0.4773, allocations: 8.618 MB / 0.5748 GB, free: 5.133 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.4773, allocations: 0 / 0.5748 GB, free: 5.133 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.908e-05/0.4774, allocations: 11.94 kB / 0.5748 GB, free: 5.121 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0008903/0.4783, allocations: 0.7345 MB / 0.5755 GB, free: 4.336 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.4783, allocations: 8.031 kB / 0.5756 GB, free: 4.328 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.924e-05/0.4784, allocations: 56.19 kB / 0.5756 GB, free: 4.273 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006628/0.4791, allocations: 0.4919 MB / 0.5761 GB, free: 3.742 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/0.4791, allocations: 8.375 kB / 0.5761 GB, free: 3.734 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.733e-05/0.4791, allocations: 20.31 kB / 0.5761 GB, free: 3.715 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002847/0.4794, allocations: 156.7 kB / 0.5763 GB, free: 3.551 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.4794, allocations: 192 / 0.5763 GB, free: 3.551 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.631e-05/0.4795, allocations: 7.938 kB / 0.5763 GB, free: 3.543 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.4795, allocations: 4 kB / 0.5763 GB, free: 3.539 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002281/0.4797, allocations: 107.9 kB / 0.5764 GB, free: 3.434 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009612/0.4807, allocations: 0.7267 MB / 0.5771 GB, free: 2.652 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002196/0.4809, allocations: 117.2 kB / 0.5772 GB, free: 2.52 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001089/0.481, allocations: 57.98 kB / 0.5773 GB, free: 2.457 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.961e-05/0.4811, allocations: 7.984 kB / 0.5773 GB, free: 2.449 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.898e-05/0.4811, allocations: 34.5 kB / 0.5773 GB, free: 2.406 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 1.213e-06/0.4811, allocations: 0 / 0.5773 GB, free: 2.406 MB / 394.7 MB Notification: Performance of matching and sorting (n=16): time 0.001412/0.4825, allocations: 0.5729 MB / 0.5779 GB, free: 1.824 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.041e-05/0.4826, allocations: 77.11 kB / 0.5779 GB, free: 1.73 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001014/0.4836, allocations: 0.8778 MB / 0.5788 GB, free: 0.8438 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.952e-05/0.4836, allocations: 25.7 kB / 0.5788 GB, free: 0.8125 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001845/0.4838, allocations: 252.3 kB / 0.5791 GB, free: 0.5586 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.76e-05/0.4839, allocations: 59.19 kB / 0.5791 GB, free: 0.5 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.042e-05/0.4839, allocations: 4 kB / 0.5791 GB, free: 0.4961 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.484, allocations: 366.8 kB / 0.5795 GB, free: 132 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001767/0.4842, allocations: 71.95 kB / 0.5795 GB, free: 60 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001885/0.4844, allocations: 93.27 kB / 0.5796 GB, free: 15.96 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003592/0.4848, allocations: 177.5 kB / 0.5798 GB, free: 15.79 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.4848, allocations: 4 kB / 0.5798 GB, free: 15.78 MB / 410.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005471/0.4853, allocations: 256.8 kB / 0.58 GB, free: 15.52 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.4854, allocations: 6.969 kB / 0.58 GB, free: 15.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.4854, allocations: 4.062 kB / 0.58 GB, free: 15.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.4854, allocations: 0 / 0.58 GB, free: 15.52 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001987/0.4856, allocations: 39.97 kB / 0.5801 GB, free: 15.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.886e-06/0.4856, allocations: 7.984 kB / 0.5801 GB, free: 15.47 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001453/0.4858, allocations: 20 kB / 0.5801 GB, free: 15.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.696e-05/0.4858, allocations: 7.984 kB / 0.5801 GB, free: 15.44 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 16 * 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.0002159/0.486, allocations: 209.7 kB / 0.5803 GB, free: 15.23 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001114/0.4861, allocations: 63.19 kB / 0.5804 GB, free: 15.16 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006229/0.4868, allocations: 310.4 kB / 0.5807 GB, free: 14.85 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.211e-06/0.4868, allocations: 4 kB / 0.5807 GB, free: 14.85 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.4868, allocations: 4 kB / 0.5807 GB, free: 14.84 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.4868, allocations: 0 / 0.5807 GB, free: 14.84 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001256/0.4881, allocations: 0.8996 MB / 0.5816 GB, free: 13.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.4881, allocations: 0 / 0.5816 GB, free: 13.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001599/0.4882, allocations: 39.97 kB / 0.5816 GB, free: 13.85 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.4883, allocations: 0 / 0.5816 GB, free: 13.85 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.808e-05/0.4883, allocations: 15.88 kB / 0.5816 GB, free: 13.83 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.4883, allocations: 0 / 0.5816 GB, free: 13.83 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.4883, allocations: 7.938 kB / 0.5816 GB, free: 13.82 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005457/0.4889, allocations: 426 kB / 0.582 GB, free: 13.39 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001924/0.4891, allocations: 180.4 kB / 0.5822 GB, free: 13.2 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.313e-05/0.4891, allocations: 8 kB / 0.5822 GB, free: 13.19 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000216/0.4893, allocations: 15.98 kB / 0.5822 GB, free: 13.17 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.778e-05/0.4894, allocations: 15.98 kB / 0.5822 GB, free: 13.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.374e-05/0.4894, allocations: 7.938 kB / 0.5822 GB, free: 13.15 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007362/0.4902, allocations: 0.6354 MB / 0.5829 GB, free: 12.52 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4902, allocations: 0 / 0.5829 GB, free: 12.52 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003625/0.4905, allocations: 79.94 kB / 0.5829 GB, free: 12.44 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 16 * 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.0008524/0.4914, allocations: 412 kB / 0.5833 GB, free: 12.12 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004457/0.4919, allocations: 187.8 kB / 0.5835 GB, free: 11.94 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.4919, allocations: 0 / 0.5835 GB, free: 11.94 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001943/0.4921, allocations: 91.89 kB / 0.5836 GB, free: 11.85 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005792/0.4927, allocations: 74.94 kB / 0.5837 GB, free: 11.77 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001421/0.4941, allocations: 1.058 MB / 0.5847 GB, free: 10.68 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004508/0.4946, allocations: 0.8695 MB / 0.5856 GB, free: 9.789 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001376/0.4947, allocations: 43.41 kB / 0.5856 GB, free: 9.746 MB / 410.7 MB Notification: Performance of SimCode: time 2.31e-07/0.4947, allocations: 0 / 0.5856 GB, free: 9.746 MB / 410.7 MB Notification: Performance of Templates: time 0.008653/0.5034, allocations: 6.037 MB / 0.5915 GB, free: 3.711 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test22/Test22.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches