Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.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.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|cosine_R.y|sine_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|cosine_L.y|sine_L.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|cosine_R.y|sine_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|cosine_L.y|sine_L.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001385/0.001385, allocations: 107.1 kB / 18.39 MB, free: 4.629 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.001151/0.001151, allocations: 184.1 kB / 19.33 MB, free: 3.699 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.473/1.473, allocations: 222.9 MB / 243 MB, free: 15.09 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.2537/0.2537, allocations: 44.19 MB / 337.4 MB, free: 2.703 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.00124, allocations: 62.12 kB / 409.9 MB, free: 26.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1436/0.1449, allocations: 60.83 MB / 470.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test23): time 0.003274/0.1482, allocations: 2.038 MB / 472.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001665/0.1499, allocations: 1.154 MB / 473.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.573e-05/0.15, allocations: 7.938 kB / 473.9 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002473/0.1503, allocations: 47.58 kB / 474 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003418/0.1506, allocations: 171.2 kB / 474.1 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001095/0.1517, allocations: 0.5711 MB / 474.7 MB, free: 9.668 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003376/0.1521, allocations: 314.9 kB / 475 MB, free: 9.359 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001826/0.1523, allocations: 80.62 kB / 475.1 MB, free: 9.277 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001686/0.1524, allocations: 127.5 kB / 475.2 MB, free: 9.152 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002247/0.1527, allocations: 203.2 kB / 475.4 MB, free: 8.953 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.452e-05/0.1527, allocations: 12 kB / 475.4 MB, free: 8.941 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001179/0.1528, allocations: 63.97 kB / 475.5 MB, free: 8.879 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001567/0.153, allocations: 143.6 kB / 475.6 MB, free: 8.738 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001354/0.1531, allocations: 166.7 kB / 475.8 MB, free: 8.574 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003701/0.1535, allocations: 394.5 kB / 476.2 MB, free: 8.188 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.1535, allocations: 0 / 476.2 MB, free: 8.188 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1535, allocations: 4 kB / 476.2 MB, free: 8.184 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.1536, allocations: 0 / 476.2 MB, free: 8.184 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.0009673/0.1545, allocations: 0.7735 MB / 476.9 MB, free: 7.359 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.379e-05/0.1546, allocations: 8.031 kB / 476.9 MB, free: 7.352 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.768e-05/0.1547, allocations: 52.28 kB / 477 MB, free: 7.301 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005355/0.1552, allocations: 455.8 kB / 477.4 MB, free: 6.812 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/0.1552, allocations: 8.375 kB / 477.5 MB, free: 6.805 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.656e-05/0.1553, allocations: 12.12 kB / 477.5 MB, free: 6.793 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003041/0.1556, allocations: 162.9 kB / 477.6 MB, free: 6.625 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/0.1556, allocations: 4 kB / 477.6 MB, free: 6.621 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.602e-05/0.1556, allocations: 0 / 477.6 MB, free: 6.621 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.1556, allocations: 7.938 kB / 477.6 MB, free: 6.613 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002803/0.1559, allocations: 119.8 kB / 477.8 MB, free: 6.496 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009454/0.1569, allocations: 0.7034 MB / 478.5 MB, free: 5.738 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002685/0.1571, allocations: 137.2 kB / 478.6 MB, free: 5.586 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001422/0.1573, allocations: 61.81 kB / 478.6 MB, free: 5.52 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.519e-05/0.1573, allocations: 11.98 kB / 478.7 MB, free: 5.508 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.082e-05/0.1574, allocations: 34.5 kB / 478.7 MB, free: 5.465 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.162e-06/0.1574, allocations: 0 / 478.7 MB, free: 5.465 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.001841/0.1592, allocations: 0.7359 MB / 479.4 MB, free: 4.719 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.1593, allocations: 77.11 kB / 479.5 MB, free: 4.625 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007818/0.1601, allocations: 0.8545 MB / 480.4 MB, free: 3.762 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.432e-05/0.1601, allocations: 29.7 kB / 480.4 MB, free: 3.727 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001682/0.1603, allocations: 256.3 kB / 480.6 MB, free: 3.473 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.541e-05/0.1603, allocations: 63.23 kB / 480.7 MB, free: 3.41 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.11e-05/0.1604, allocations: 41.69 kB / 480.7 MB, free: 3.363 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.1606, allocations: 378.7 kB / 481.1 MB, free: 2.984 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002461/0.1608, allocations: 107.9 kB / 481.2 MB, free: 2.879 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002555/0.1611, allocations: 129.6 kB / 481.3 MB, free: 2.746 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004902/0.1616, allocations: 250.2 kB / 481.6 MB, free: 2.496 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.1616, allocations: 0 / 481.6 MB, free: 2.496 MB / 350.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006222/0.1622, allocations: 344.9 kB / 481.9 MB, free: 2.152 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.1622, allocations: 4 kB / 481.9 MB, free: 2.148 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.1622, allocations: 0 / 481.9 MB, free: 2.148 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.1623, allocations: 4 kB / 481.9 MB, free: 2.145 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000271/0.1625, allocations: 47.95 kB / 482 MB, free: 2.098 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/0.1626, allocations: 15.92 kB / 482 MB, free: 2.082 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001652/0.1627, allocations: 23.89 kB / 482 MB, free: 2.059 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.021e-05/0.1628, allocations: 11.98 kB / 482 MB, free: 2.047 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 (20): * Single equations (assignments): 20 * 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.000209/0.163, allocations: 217.7 kB / 482.2 MB, free: 1.824 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.883e-05/0.1631, allocations: 51.34 kB / 482.3 MB, free: 1.773 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007708/0.1638, allocations: 393.8 kB / 482.7 MB, free: 1.383 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.1639, allocations: 4 kB / 482.7 MB, free: 1.379 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.1639, allocations: 0 / 482.7 MB, free: 1.379 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.1639, allocations: 0 / 482.7 MB, free: 1.379 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001321/0.1652, allocations: 0.9389 MB / 483.6 MB, free: 392 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.1652, allocations: 0 / 483.6 MB, free: 392 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002282/0.1655, allocations: 55.89 kB / 483.7 MB, free: 336 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.1655, allocations: 0 / 483.7 MB, free: 336 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.157e-05/0.1655, allocations: 11.98 kB / 483.7 MB, free: 324 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.028e-06/0.1655, allocations: 3.938 kB / 483.7 MB, free: 320 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.1655, allocations: 0 / 483.7 MB, free: 320 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006978/0.1662, allocations: 0.5018 MB / 484.2 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001499/0.1664, allocations: 136.4 kB / 484.3 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.779e-05/0.1664, allocations: 4 kB / 484.3 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002254/0.1667, allocations: 31.91 kB / 484.4 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.626e-05/0.1667, allocations: 19.97 kB / 484.4 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.877e-05/0.1668, allocations: 8 kB / 484.4 MB, free: 15.58 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005978/0.1674, allocations: 0.6276 MB / 485 MB, free: 14.95 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1674, allocations: 0 / 485 MB, free: 14.95 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003474/0.1677, allocations: 64 kB / 485.1 MB, free: 14.89 MB / 366.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 (20): * Single equations (assignments): 20 * 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.0009096/0.1686, allocations: 394.7 kB / 485.5 MB, free: 14.66 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006164/0.1693, allocations: 266.3 kB / 485.7 MB, free: 14.4 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.1693, allocations: 0 / 485.7 MB, free: 14.4 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002815/0.1696, allocations: 143.8 kB / 485.9 MB, free: 14.26 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006043/0.1702, allocations: 81.42 kB / 485.9 MB, free: 14.18 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001352/0.1715, allocations: 0.9626 MB / 486.9 MB, free: 13.18 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004298/0.172, allocations: 0.8809 MB / 487.8 MB, free: 12.28 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002002/0.1722, allocations: 98.89 kB / 487.9 MB, free: 12.18 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001063/0.1723, allocations: 43.41 kB / 487.9 MB, free: 12.14 MB / 366.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1723, allocations: 4 kB / 487.9 MB, free: 12.14 MB / 366.1 MB Notification: Performance of Templates: time 0.1769/0.3492, allocations: 4.372 MB / 492.3 MB, free: 7.793 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches