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/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 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 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 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001595/0.001595, allocations: 105.7 kB / 17.03 MB, free: 5.703 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.001727/0.001727, allocations: 196.1 kB / 17.96 MB, free: 5.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.657/1.657, allocations: 205.1 MB / 223.8 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2282/0.2282, allocations: 43.52 MB / 314.7 MB, free: 488 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001694/0.001695, allocations: 66.2 kB / 384.2 MB, free: 56.38 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1602/0.162, allocations: 57.79 MB / 442 MB, free: 6.156 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.003491/0.1655, allocations: 1.954 MB / 443.9 MB, free: 4.184 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001555/0.1671, allocations: 1.057 MB / 445 MB, free: 3.117 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001252/0.1672, allocations: 4 kB / 445 MB, free: 3.113 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002703/0.1675, allocations: 55.56 kB / 445 MB, free: 3.059 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003454/0.1679, allocations: 139.4 kB / 445.2 MB, free: 2.922 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009812/0.1689, allocations: 0.559 MB / 445.7 MB, free: 2.379 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002809/0.1692, allocations: 271.3 kB / 446 MB, free: 2.113 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001778/0.1693, allocations: 68.7 kB / 446.1 MB, free: 2.047 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001501/0.1695, allocations: 123.5 kB / 446.2 MB, free: 1.926 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002163/0.1697, allocations: 179.4 kB / 446.4 MB, free: 1.75 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.635e-05/0.1698, allocations: 15.94 kB / 446.4 MB, free: 1.734 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.164e-05/0.1699, allocations: 39.98 kB / 446.4 MB, free: 1.695 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00013/0.17, allocations: 143.6 kB / 446.5 MB, free: 1.555 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001111/0.1701, allocations: 158.8 kB / 446.7 MB, free: 1.398 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003195/0.1704, allocations: 362.6 kB / 447.1 MB, free: 1.043 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.324e-06/0.1705, allocations: 0 / 447.1 MB, free: 1.043 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.1705, allocations: 0 / 447.1 MB, free: 1.043 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.278e-06/0.1705, allocations: 0 / 447.1 MB, free: 1.043 MB / 318.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.0009594/0.1715, allocations: 0.7385 MB / 447.8 MB, free: 260 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/0.1715, allocations: 15.89 kB / 447.8 MB, free: 244 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.315e-05/0.1716, allocations: 56.28 kB / 447.9 MB, free: 188 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006215/0.1722, allocations: 439.9 kB / 448.3 MB, free: 15.71 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.708e-05/0.1723, allocations: 12.31 kB / 448.3 MB, free: 15.7 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.332e-05/0.1723, allocations: 20.11 kB / 448.3 MB, free: 15.68 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003319/0.1727, allocations: 145.4 kB / 448.5 MB, free: 15.53 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.825e-05/0.1727, allocations: 3.906 kB / 448.5 MB, free: 15.53 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.85e-05/0.1727, allocations: 4 kB / 448.5 MB, free: 15.52 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.145e-05/0.1727, allocations: 4 kB / 448.5 MB, free: 15.52 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000263/0.173, allocations: 103.9 kB / 448.6 MB, free: 15.42 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001153/0.1742, allocations: 0.6682 MB / 449.3 MB, free: 14.7 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003062/0.1745, allocations: 129.4 kB / 449.4 MB, free: 14.55 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001282/0.1746, allocations: 45.81 kB / 449.4 MB, free: 14.5 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.785e-05/0.1747, allocations: 3.938 kB / 449.4 MB, free: 14.5 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.919e-05/0.1747, allocations: 42.5 kB / 449.5 MB, free: 14.45 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.293e-06/0.1747, allocations: 0 / 449.5 MB, free: 14.45 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.001576/0.1763, allocations: 0.5294 MB / 450 MB, free: 13.91 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.66e-05/0.1764, allocations: 77.11 kB / 450.1 MB, free: 13.81 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001115/0.1775, allocations: 0.8545 MB / 450.9 MB, free: 12.95 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.791e-05/0.1776, allocations: 25.7 kB / 451 MB, free: 12.92 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002386/0.1778, allocations: 248.2 kB / 451.2 MB, free: 12.67 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.659e-05/0.1779, allocations: 51.27 kB / 451.2 MB, free: 12.62 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.128e-05/0.178, allocations: 37.64 kB / 451.3 MB, free: 12.57 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002644/0.1782, allocations: 378.7 kB / 451.7 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001698/0.1784, allocations: 63.95 kB / 451.7 MB, free: 12.13 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001853/0.1786, allocations: 85.02 kB / 451.8 MB, free: 12.05 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003534/0.179, allocations: 161.8 kB / 452 MB, free: 11.88 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.179, allocations: 0 / 452 MB, free: 11.88 MB / 334.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004672/0.1795, allocations: 232.9 kB / 452.2 MB, free: 11.65 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/0.1795, allocations: 11.98 kB / 452.2 MB, free: 11.64 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.1795, allocations: 4 kB / 452.2 MB, free: 11.63 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.1795, allocations: 0 / 452.2 MB, free: 11.63 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002078/0.1797, allocations: 39.97 kB / 452.2 MB, free: 11.59 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/0.1798, allocations: 0 / 452.2 MB, free: 11.59 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001204/0.1799, allocations: 15.92 kB / 452.3 MB, free: 11.58 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.709e-05/0.1799, allocations: 4.75 kB / 452.3 MB, free: 11.57 MB / 334.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.0002199/0.1801, allocations: 217.7 kB / 452.5 MB, free: 11.35 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001121/0.1803, allocations: 59.25 kB / 452.5 MB, free: 11.29 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006461/0.1809, allocations: 286.1 kB / 452.8 MB, free: 11 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.1809, allocations: 4 kB / 452.8 MB, free: 11 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.1809, allocations: 0 / 452.8 MB, free: 11 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.181, allocations: 0 / 452.8 MB, free: 11 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001163/0.1821, allocations: 0.7903 MB / 453.6 MB, free: 10.15 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.1821, allocations: 0 / 453.6 MB, free: 10.15 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001761/0.1823, allocations: 43.91 kB / 453.6 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.1823, allocations: 7.875 kB / 453.7 MB, free: 10.1 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.797e-05/0.1824, allocations: 4 kB / 453.7 MB, free: 10.1 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.1824, allocations: 3.938 kB / 453.7 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.1824, allocations: 0 / 453.7 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006376/0.183, allocations: 418 kB / 454.1 MB, free: 9.668 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002231/0.1833, allocations: 132.5 kB / 454.2 MB, free: 9.52 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.435e-05/0.1833, allocations: 7.984 kB / 454.2 MB, free: 9.512 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001935/0.1835, allocations: 11.94 kB / 454.2 MB, free: 9.5 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001021/0.1836, allocations: 23.97 kB / 454.2 MB, free: 9.477 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.254e-05/0.1837, allocations: 4 kB / 454.2 MB, free: 9.473 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0009463/0.1846, allocations: 0.6237 MB / 454.9 MB, free: 8.852 MB / 334.1 MB Notification: Performance of sort global known variables: time 8.62e-07/0.1846, allocations: 0 / 454.9 MB, free: 8.852 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004328/0.1851, allocations: 56 kB / 454.9 MB, free: 8.797 MB / 334.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.001082/0.1862, allocations: 399.8 kB / 455.3 MB, free: 8.469 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004484/0.1866, allocations: 179.7 kB / 455.5 MB, free: 8.293 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.1866, allocations: 0 / 455.5 MB, free: 8.293 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001821/0.1868, allocations: 83.89 kB / 455.6 MB, free: 8.211 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006761/0.1875, allocations: 82.44 kB / 455.6 MB, free: 8.133 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001498/0.189, allocations: 0.9005 MB / 456.5 MB, free: 7.199 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006196/0.1897, allocations: 0.8651 MB / 457.4 MB, free: 6.309 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002335/0.1899, allocations: 90.91 kB / 457.5 MB, free: 6.219 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.866e-05/0.19, allocations: 39.42 kB / 457.5 MB, free: 6.18 MB / 334.1 MB Notification: Performance of SimCode: time 7.61e-07/0.19, allocations: 0 / 457.5 MB, free: 6.18 MB / 334.1 MB Notification: Performance of Templates: time 0.009826/0.1998, allocations: 3.985 MB / 461.5 MB, free: 2.195 MB / 334.1 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 -s cvode -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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches