Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001263/0.001263, allocations: 101.5 kB / 17.85 MB, free: 5.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001364/0.001364, allocations: 194 kB / 18.77 MB, free: 4.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.365/1.365, allocations: 222.9 MB / 242.5 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2164/0.2164, allocations: 44.18 MB / 336.8 MB, free: 2.918 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 63.17 kB / 408.4 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1356/0.1369, allocations: 60.82 MB / 469.2 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.003936/0.1409, allocations: 2.011 MB / 471.2 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001973/0.1429, allocations: 1.127 MB / 472.3 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001646/0.1431, allocations: 4 kB / 472.3 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002842/0.1434, allocations: 39.78 kB / 472.4 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003843/0.1438, allocations: 131.5 kB / 472.5 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001315/0.1451, allocations: 0.5678 MB / 473.1 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004247/0.1456, allocations: 271.1 kB / 473.3 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001989/0.1458, allocations: 68.64 kB / 473.4 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002502/0.146, allocations: 115.5 kB / 473.5 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002632/0.1463, allocations: 175.3 kB / 473.7 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.4e-05/0.1464, allocations: 12 kB / 473.7 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001395/0.1465, allocations: 51.98 kB / 473.7 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001736/0.1467, allocations: 147.5 kB / 473.9 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001583/0.1469, allocations: 146.7 kB / 474 MB, free: 9.973 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003349/0.1472, allocations: 271.6 kB / 474.3 MB, free: 9.707 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.1472, allocations: 0 / 474.3 MB, free: 9.707 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1472, allocations: 0 / 474.3 MB, free: 9.707 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.061e-05/0.1473, allocations: 0 / 474.3 MB, free: 9.707 MB / 350.1 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.001062/0.1483, allocations: 0.7503 MB / 475 MB, free: 8.906 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.1484, allocations: 8.031 kB / 475 MB, free: 8.898 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001323/0.1485, allocations: 56.28 kB / 475.1 MB, free: 8.844 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005725/0.1491, allocations: 447.9 kB / 475.5 MB, free: 8.367 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.668e-05/0.1491, allocations: 8.375 kB / 475.5 MB, free: 8.359 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.464e-05/0.1492, allocations: 12.12 kB / 475.6 MB, free: 8.348 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003093/0.1495, allocations: 146.9 kB / 475.7 MB, free: 8.195 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/0.1495, allocations: 0 / 475.7 MB, free: 8.195 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.733e-05/0.1495, allocations: 4 kB / 475.7 MB, free: 8.191 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.1495, allocations: 4 kB / 475.7 MB, free: 8.188 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002273/0.1498, allocations: 95.92 kB / 475.8 MB, free: 8.094 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009473/0.1507, allocations: 0.6759 MB / 476.5 MB, free: 7.363 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002189/0.151, allocations: 113.2 kB / 476.6 MB, free: 7.234 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001014/0.1511, allocations: 49.81 kB / 476.6 MB, free: 7.18 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.023e-05/0.1511, allocations: 11.92 kB / 476.6 MB, free: 7.168 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.19e-05/0.1511, allocations: 34.5 kB / 476.7 MB, free: 7.125 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.222e-06/0.1511, allocations: 4 kB / 476.7 MB, free: 7.121 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001427/0.1526, allocations: 0.526 MB / 477.2 MB, free: 6.586 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.783e-05/0.1526, allocations: 77.33 kB / 477.3 MB, free: 6.492 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008812/0.1535, allocations: 0.8622 MB / 478.2 MB, free: 5.621 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.282e-05/0.1536, allocations: 37.64 kB / 478.2 MB, free: 5.578 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001879/0.1537, allocations: 244.2 kB / 478.4 MB, free: 5.336 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.818e-05/0.1538, allocations: 51.27 kB / 478.5 MB, free: 5.285 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.149e-05/0.1539, allocations: 33.7 kB / 478.5 MB, free: 5.246 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.154, allocations: 370.7 kB / 478.9 MB, free: 4.875 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001656/0.1542, allocations: 59.95 kB / 478.9 MB, free: 4.816 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001923/0.1544, allocations: 92.33 kB / 479 MB, free: 4.723 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003385/0.1548, allocations: 157.9 kB / 479.2 MB, free: 4.562 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.1548, allocations: 4 kB / 479.2 MB, free: 4.559 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004708/0.1552, allocations: 244.9 kB / 479.4 MB, free: 4.312 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.1553, allocations: 6.656 kB / 479.4 MB, free: 4.309 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.1553, allocations: 0 / 479.4 MB, free: 4.309 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/0.1553, allocations: 4 kB / 479.4 MB, free: 4.305 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002053/0.1555, allocations: 39.91 kB / 479.5 MB, free: 4.266 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.742e-06/0.1555, allocations: 0 / 479.5 MB, free: 4.266 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001222/0.1557, allocations: 19.92 kB / 479.5 MB, free: 4.246 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.577e-05/0.1557, allocations: 4 kB / 479.5 MB, free: 4.242 MB / 350.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002141/0.1559, allocations: 213.7 kB / 479.7 MB, free: 4.023 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.478e-05/0.156, allocations: 55.28 kB / 479.8 MB, free: 3.969 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006256/0.1566, allocations: 286.2 kB / 480 MB, free: 3.684 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.1567, allocations: 4 kB / 480 MB, free: 3.68 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/0.1567, allocations: 4 kB / 480 MB, free: 3.676 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.1567, allocations: 3.938 kB / 480 MB, free: 3.672 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001124/0.1578, allocations: 0.7864 MB / 480.8 MB, free: 2.828 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.1578, allocations: 4 kB / 480.8 MB, free: 2.824 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001622/0.158, allocations: 35.97 kB / 480.9 MB, free: 2.789 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.158, allocations: 0 / 480.9 MB, free: 2.789 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.733e-05/0.158, allocations: 8 kB / 480.9 MB, free: 2.781 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.158, allocations: 3.938 kB / 480.9 MB, free: 2.777 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.158, allocations: 3.938 kB / 480.9 MB, free: 2.773 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005394/0.1586, allocations: 418 kB / 481.3 MB, free: 2.348 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001252/0.1587, allocations: 136.4 kB / 481.4 MB, free: 2.195 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.846e-05/0.1588, allocations: 4 kB / 481.4 MB, free: 2.191 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001843/0.159, allocations: 15.94 kB / 481.4 MB, free: 2.176 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.564e-05/0.159, allocations: 15.91 kB / 481.5 MB, free: 2.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.527e-05/0.159, allocations: 12 kB / 481.5 MB, free: 2.148 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006878/0.1597, allocations: 0.6237 MB / 482.1 MB, free: 1.527 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1598, allocations: 4 kB / 482.1 MB, free: 1.523 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003518/0.1601, allocations: 48 kB / 482.1 MB, free: 1.477 MB / 350.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009424/0.1611, allocations: 405.6 kB / 482.5 MB, free: 1.234 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004401/0.1615, allocations: 159.8 kB / 482.7 MB, free: 1.078 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1615, allocations: 0 / 482.7 MB, free: 1.078 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000198/0.1617, allocations: 91.89 kB / 482.8 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006611/0.1624, allocations: 70.89 kB / 482.9 MB, free: 0.918 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001439/0.1639, allocations: 1.028 MB / 483.9 MB, free: 15.85 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000429/0.1643, allocations: 0.8615 MB / 484.7 MB, free: 14.96 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001147/0.1644, allocations: 39.42 kB / 484.8 MB, free: 14.92 MB / 366.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1644, allocations: 0 / 484.8 MB, free: 14.92 MB / 366.1 MB Notification: Performance of Templates: time 0.007874/0.1723, allocations: 5.556 MB / 490.3 MB, free: 9.367 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test22/Test22.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches