Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_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.001306/0.001306, allocations: 183.9 kB / 15.76 MB, free: 6.363 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.596/1.596, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0008528/0.0008529, allocations: 90.81 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2239/0.2239, allocations: 43.56 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00038/0.0003802, allocations: 11.98 kB / 431.4 MB, free: 19.6 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.1451, allocations: 58.85 MB / 490.2 MB, free: 8.684 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4276/0.5728, allocations: 88.43 MB / 0.5651 GB, free: 11.46 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000297/0.5732, allocations: 71.97 kB / 0.5652 GB, free: 11.43 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02309/0.5963, allocations: 8.612 MB / 0.5736 GB, free: 4.031 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.5964, allocations: 0 / 0.5736 GB, free: 4.031 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.4e-05/0.5964, allocations: 8 kB / 0.5736 GB, free: 4.023 MB / 378.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.001242/0.5977, allocations: 0.7518 MB / 0.5743 GB, free: 3.254 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.129e-05/0.5978, allocations: 12.03 kB / 0.5743 GB, free: 3.242 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001064/0.5979, allocations: 55.3 kB / 0.5744 GB, free: 3.188 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008273/0.5987, allocations: 483.8 kB / 0.5749 GB, free: 2.711 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/0.5987, allocations: 7.062 kB / 0.5749 GB, free: 2.707 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.751e-05/0.5988, allocations: 11.31 kB / 0.5749 GB, free: 2.699 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003125/0.5991, allocations: 154.1 kB / 0.575 GB, free: 2.566 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.513e-05/0.5991, allocations: 0 / 0.575 GB, free: 2.566 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.782e-05/0.5991, allocations: 3.5 kB / 0.575 GB, free: 2.566 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.026e-05/0.5992, allocations: 7.953 kB / 0.575 GB, free: 2.559 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000237/0.5994, allocations: 106.7 kB / 0.5751 GB, free: 2.473 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001163/0.6006, allocations: 0.7292 MB / 0.5758 GB, free: 1.785 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000212/0.6008, allocations: 119.6 kB / 0.576 GB, free: 1.672 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.981e-05/0.6008, allocations: 7.984 kB / 0.576 GB, free: 1.664 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.02e-05/0.6009, allocations: 34.56 kB / 0.576 GB, free: 1.621 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.192e-06/0.6009, allocations: 4 kB / 0.576 GB, free: 1.617 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.001508/0.6024, allocations: 0.5652 MB / 0.5766 GB, free: 1.113 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.625e-05/0.6025, allocations: 85.28 kB / 0.5766 GB, free: 1.012 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001067/0.6036, allocations: 0.8065 MB / 0.5774 GB, free: 356 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.678e-05/0.6036, allocations: 29.64 kB / 0.5774 GB, free: 320 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000229/0.6038, allocations: 254.7 kB / 0.5777 GB, free: 176 kB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.057e-05/0.6039, allocations: 57.52 kB / 0.5777 GB, free: 128 kB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.888e-06/0.604, allocations: 0 / 0.5777 GB, free: 128 kB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002543/0.6042, allocations: 370.4 kB / 0.5781 GB, free: 15.78 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001875/0.6044, allocations: 72.02 kB / 0.5782 GB, free: 15.72 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001807/0.6046, allocations: 91.22 kB / 0.5783 GB, free: 15.64 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001859/0.6048, allocations: 82.94 kB / 0.5783 GB, free: 15.59 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.6048, allocations: 0 / 0.5783 GB, free: 15.59 MB / 394.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005444/0.6054, allocations: 257.2 kB / 0.5786 GB, free: 15.36 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.6054, allocations: 7.438 kB / 0.5786 GB, free: 15.36 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.972e-06/0.6054, allocations: 0 / 0.5786 GB, free: 15.36 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.6054, allocations: 4 kB / 0.5786 GB, free: 15.36 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002359/0.6057, allocations: 47.03 kB / 0.5786 GB, free: 15.31 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.6057, allocations: 0 / 0.5786 GB, free: 15.31 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001461/0.6058, allocations: 23.94 kB / 0.5787 GB, free: 15.29 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.75e-05/0.6059, allocations: 7.75 kB / 0.5787 GB, free: 15.29 MB / 394.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.0002359/0.6061, allocations: 216.4 kB / 0.5789 GB, free: 15.08 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001069/0.6062, allocations: 55.25 kB / 0.5789 GB, free: 15.03 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006216/0.6068, allocations: 309.1 kB / 0.5792 GB, free: 14.78 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.6069, allocations: 0 / 0.5792 GB, free: 14.78 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.241e-06/0.6069, allocations: 0 / 0.5792 GB, free: 14.78 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.032e-06/0.6069, allocations: 7.984 kB / 0.5792 GB, free: 14.77 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001393/0.6083, allocations: 0.8946 MB / 0.5801 GB, free: 13.96 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.6083, allocations: 0 / 0.5801 GB, free: 13.96 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001763/0.6085, allocations: 43.91 kB / 0.5801 GB, free: 13.92 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.6085, allocations: 0 / 0.5801 GB, free: 13.92 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.879e-05/0.6085, allocations: 7.984 kB / 0.5802 GB, free: 13.91 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.6085, allocations: 3.953 kB / 0.5802 GB, free: 13.91 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.6085, allocations: 11.94 kB / 0.5802 GB, free: 13.89 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005732/0.6091, allocations: 439.2 kB / 0.5806 GB, free: 13.49 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002777/0.6094, allocations: 180.8 kB / 0.5808 GB, free: 13.3 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.513e-05/0.6095, allocations: 7.891 kB / 0.5808 GB, free: 13.3 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001971/0.6097, allocations: 15.98 kB / 0.5808 GB, free: 13.28 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.393e-05/0.6098, allocations: 27.7 kB / 0.5808 GB, free: 13.26 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.353e-05/0.6098, allocations: 8 kB / 0.5808 GB, free: 13.25 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0007148/0.6105, allocations: 0.6348 MB / 0.5814 GB, free: 12.76 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6105, allocations: 0 / 0.5814 GB, free: 12.76 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003724/0.6109, allocations: 75.69 kB / 0.5815 GB, free: 12.69 MB / 394.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.0009598/0.6119, allocations: 414 kB / 0.5819 GB, free: 12.34 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004573/0.6123, allocations: 178.3 kB / 0.5821 GB, free: 12.2 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.6124, allocations: 3.938 kB / 0.5821 GB, free: 12.2 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001986/0.6126, allocations: 99.12 kB / 0.5822 GB, free: 12.11 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005114/0.6131, allocations: 70.19 kB / 0.5822 GB, free: 12.07 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001491/0.6146, allocations: 1.001 MB / 0.5832 GB, free: 11.11 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005035/0.6151, allocations: 0.8841 MB / 0.5841 GB, free: 10.21 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002292/0.6153, allocations: 99.22 kB / 0.5842 GB, free: 10.11 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001258/0.6155, allocations: 43.34 kB / 0.5842 GB, free: 10.07 MB / 394.7 MB Notification: Performance of SimCode: time 7.01e-07/0.6155, allocations: 4 kB / 0.5842 GB, free: 10.07 MB / 394.7 MB Notification: Performance of Templates: time 0.009601/0.6251, allocations: 4.389 MB / 0.5885 GB, free: 5.684 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat","/var/lib/jenkins/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_ModelicaTest.Tables.CombiTable2Dv.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches