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.001282/0.001282, allocations: 174.3 kB / 16.76 MB, free: 5.047 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.639/1.639, allocations: 205.4 MB / 222.9 MB, free: 9.016 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.0007943/0.0007943, allocations: 92.66 kB / 271.3 MB, free: 8.238 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.3725/0.3725, allocations: 43.57 MB / 363.1 MB, free: 52.13 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004115/0.0004116, allocations: 12 kB / 432.6 MB, free: 5.195 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.1335, allocations: 58.85 MB / 491.5 MB, free: 10.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3801/0.5137, allocations: 88.47 MB / 0.5664 GB, free: 13.52 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002293/0.5139, allocations: 71.97 kB / 0.5664 GB, free: 13.45 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02206/0.536, allocations: 8.622 MB / 0.5748 GB, free: 4.863 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.744e-06/0.5361, allocations: 0 / 0.5748 GB, free: 4.863 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.072e-05/0.5361, allocations: 8.75 kB / 0.5748 GB, free: 4.855 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.0009627/0.5371, allocations: 0.7384 MB / 0.5756 GB, free: 4.066 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.026e-05/0.5371, allocations: 8.031 kB / 0.5756 GB, free: 4.059 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.273e-05/0.5372, allocations: 60.19 kB / 0.5756 GB, free: 4 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006881/0.5379, allocations: 0.4958 MB / 0.5761 GB, free: 3.465 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.501e-05/0.5379, allocations: 4.375 kB / 0.5761 GB, free: 3.461 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.943e-05/0.538, allocations: 8.375 kB / 0.5761 GB, free: 3.453 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002949/0.5383, allocations: 164.7 kB / 0.5763 GB, free: 3.281 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/0.5383, allocations: 4.125 kB / 0.5763 GB, free: 3.277 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.621e-05/0.5383, allocations: 3.938 kB / 0.5763 GB, free: 3.273 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.867e-06/0.5383, allocations: 4 kB / 0.5763 GB, free: 3.27 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002346/0.5386, allocations: 99.94 kB / 0.5764 GB, free: 3.172 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001002/0.5396, allocations: 0.7384 MB / 0.5771 GB, free: 2.379 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00023/0.5398, allocations: 117.2 kB / 0.5772 GB, free: 2.246 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001024/0.5399, allocations: 49.77 kB / 0.5773 GB, free: 2.191 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.937e-05/0.54, allocations: 4 kB / 0.5773 GB, free: 2.188 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.849e-05/0.54, allocations: 42.55 kB / 0.5773 GB, free: 2.137 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 1.693e-06/0.54, allocations: 224 / 0.5773 GB, free: 2.137 MB / 394.7 MB Notification: Performance of matching and sorting (n=16): time 0.001405/0.5414, allocations: 0.5765 MB / 0.5779 GB, free: 1.551 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.536e-05/0.5415, allocations: 81.05 kB / 0.578 GB, free: 1.453 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001024/0.5425, allocations: 0.8739 MB / 0.5788 GB, free: 0.5703 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.167e-05/0.5425, allocations: 29.7 kB / 0.5788 GB, free: 0.5352 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001783/0.5427, allocations: 248.3 kB / 0.5791 GB, free: 292 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.457e-05/0.5428, allocations: 59.19 kB / 0.5791 GB, free: 232 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.807e-06/0.5428, allocations: 4 kB / 0.5791 GB, free: 228 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001753/0.543, allocations: 370.8 kB / 0.5795 GB, free: 15.85 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001613/0.5432, allocations: 71.95 kB / 0.5796 GB, free: 15.78 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002015/0.5434, allocations: 89.67 kB / 0.5796 GB, free: 15.69 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003922/0.5438, allocations: 181.7 kB / 0.5798 GB, free: 15.5 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.5438, allocations: 4 kB / 0.5798 GB, free: 15.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004763/0.5443, allocations: 248.9 kB / 0.5801 GB, free: 15.25 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.5443, allocations: 9.5 kB / 0.5801 GB, free: 15.24 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.5443, allocations: 4 kB / 0.5801 GB, free: 15.24 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.5443, allocations: 4 kB / 0.5801 GB, free: 15.23 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001996/0.5445, allocations: 43.97 kB / 0.5801 GB, free: 15.19 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.5445, allocations: 0 / 0.5801 GB, free: 15.19 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001345/0.5447, allocations: 15.98 kB / 0.5801 GB, free: 15.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.784e-05/0.5447, allocations: 7.984 kB / 0.5801 GB, free: 15.17 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.0002275/0.545, allocations: 217.7 kB / 0.5803 GB, free: 14.95 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001078/0.5451, allocations: 63.19 kB / 0.5804 GB, free: 14.88 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006144/0.5457, allocations: 306.2 kB / 0.5807 GB, free: 14.57 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/0.5457, allocations: 4 kB / 0.5807 GB, free: 14.57 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.5457, allocations: 0 / 0.5807 GB, free: 14.57 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.5457, allocations: 0 / 0.5807 GB, free: 14.57 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001231/0.547, allocations: 0.8917 MB / 0.5816 GB, free: 13.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.547, allocations: 4 kB / 0.5816 GB, free: 13.62 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001529/0.5471, allocations: 39.97 kB / 0.5816 GB, free: 13.58 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.5471, allocations: 0 / 0.5816 GB, free: 13.58 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.976e-05/0.5472, allocations: 8 kB / 0.5816 GB, free: 13.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.5472, allocations: 3.938 kB / 0.5816 GB, free: 13.57 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.5472, allocations: 3.938 kB / 0.5816 GB, free: 13.56 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005623/0.5478, allocations: 433.1 kB / 0.582 GB, free: 13.12 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002069/0.548, allocations: 180.4 kB / 0.5822 GB, free: 12.93 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.213e-05/0.548, allocations: 11.94 kB / 0.5822 GB, free: 12.92 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001865/0.5482, allocations: 15.98 kB / 0.5822 GB, free: 12.9 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.021e-05/0.5483, allocations: 15.98 kB / 0.5823 GB, free: 12.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.397e-05/0.5483, allocations: 7.938 kB / 0.5823 GB, free: 12.88 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007353/0.5491, allocations: 0.6315 MB / 0.5829 GB, free: 12.25 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5491, allocations: 0 / 0.5829 GB, free: 12.25 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003693/0.5494, allocations: 79.94 kB / 0.583 GB, free: 12.17 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.0009511/0.5504, allocations: 421.9 kB / 0.5834 GB, free: 11.86 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004271/0.5508, allocations: 183.8 kB / 0.5835 GB, free: 11.68 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.5509, allocations: 3.938 kB / 0.5835 GB, free: 11.67 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001997/0.5511, allocations: 95.89 kB / 0.5836 GB, free: 11.58 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005963/0.5517, allocations: 66.95 kB / 0.5837 GB, free: 11.51 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001437/0.5531, allocations: 1.017 MB / 0.5847 GB, free: 10.46 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004682/0.5536, allocations: 0.8655 MB / 0.5855 GB, free: 9.574 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002287/0.5538, allocations: 99.84 kB / 0.5856 GB, free: 9.477 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001135/0.5539, allocations: 47.36 kB / 0.5857 GB, free: 9.43 MB / 410.7 MB Notification: Performance of SimCode: time 2.2e-07/0.554, allocations: 0 / 0.5857 GB, free: 9.43 MB / 410.7 MB Notification: Performance of Templates: time 0.008591/0.5626, allocations: 4.411 MB / 0.59 GB, free: 5.027 MB / 410.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/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_ModelicaTest.Tables.CombiTable2Dv.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches