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.001144/0.001144, allocations: 95.5 kB / 17.35 MB, free: 6.344 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.001273/0.001273, allocations: 173 kB / 18.25 MB, free: 5.504 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.434/1.434, allocations: 223.2 MB / 242.3 MB, free: 14.48 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.2213/0.2213, allocations: 44.25 MB / 337.7 MB, free: 2.43 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003476/0.0003476, allocations: 8 kB / 410.3 MB, free: 27.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1405/0.1409, allocations: 61.93 MB / 472.3 MB, free: 13.33 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test23): time 0.002747/0.1437, allocations: 1.729 MB / 474 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002311/0.146, allocations: 1.123 MB / 475.1 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001576/0.1462, allocations: 4 kB / 475.1 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003944/0.1466, allocations: 51.69 kB / 475.2 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003597/0.147, allocations: 135.5 kB / 475.3 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001394/0.1484, allocations: 0.5577 MB / 475.9 MB, free: 9.73 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005033/0.1489, allocations: 299 kB / 476.1 MB, free: 9.438 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002325/0.1492, allocations: 80.61 kB / 476.2 MB, free: 9.355 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002487/0.1494, allocations: 119.4 kB / 476.3 MB, free: 9.238 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003055/0.1498, allocations: 179.2 kB / 476.5 MB, free: 9.062 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.735e-05/0.1498, allocations: 8 kB / 476.5 MB, free: 9.055 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001765/0.15, allocations: 47.98 kB / 476.6 MB, free: 9.008 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001678/0.1502, allocations: 135.6 kB / 476.7 MB, free: 8.875 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002024/0.1504, allocations: 184.4 kB / 476.9 MB, free: 8.688 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005261/0.1509, allocations: 374.5 kB / 477.3 MB, free: 8.32 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.1509, allocations: 0 / 477.3 MB, free: 8.32 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.965e-06/0.151, allocations: 0 / 477.3 MB, free: 8.32 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.734e-06/0.151, allocations: 0 / 477.3 MB, free: 8.32 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.001069/0.152, allocations: 0.7077 MB / 478 MB, free: 7.562 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/0.1521, allocations: 15.97 kB / 478 MB, free: 7.547 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.277e-05/0.1522, allocations: 56.28 kB / 478 MB, free: 7.492 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006209/0.1528, allocations: 443.8 kB / 478.5 MB, free: 7.02 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.918e-05/0.1529, allocations: 8.375 kB / 478.5 MB, free: 7.012 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.501e-05/0.1529, allocations: 12.12 kB / 478.5 MB, free: 7 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004222/0.1533, allocations: 175.2 kB / 478.7 MB, free: 6.816 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.331e-05/0.1534, allocations: 0 / 478.7 MB, free: 6.816 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.399e-05/0.1534, allocations: 8 kB / 478.7 MB, free: 6.809 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.979e-06/0.1534, allocations: 4 kB / 478.7 MB, free: 6.805 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003851/0.1538, allocations: 135.9 kB / 478.8 MB, free: 6.672 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001183/0.155, allocations: 0.7034 MB / 479.5 MB, free: 5.914 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003551/0.1554, allocations: 149.1 kB / 479.6 MB, free: 5.75 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001777/0.1556, allocations: 74.03 kB / 479.7 MB, free: 5.672 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.008e-05/0.1556, allocations: 7.969 kB / 479.7 MB, free: 5.664 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.169e-05/0.1557, allocations: 42.44 kB / 479.8 MB, free: 5.613 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 2.053e-06/0.1557, allocations: 4 kB / 479.8 MB, free: 5.609 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.002332/0.158, allocations: 0.7986 MB / 480.6 MB, free: 4.801 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.714e-05/0.1581, allocations: 81.11 kB / 480.6 MB, free: 4.703 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009707/0.1591, allocations: 0.8505 MB / 481.5 MB, free: 3.844 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.553e-05/0.1591, allocations: 33.7 kB / 481.5 MB, free: 3.805 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002004/0.1593, allocations: 256.3 kB / 481.8 MB, free: 3.551 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.009e-05/0.1594, allocations: 67 kB / 481.8 MB, free: 3.484 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.861e-05/0.1595, allocations: 25.66 kB / 481.9 MB, free: 3.453 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001734/0.1596, allocations: 374.7 kB / 482.2 MB, free: 3.078 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003217/0.16, allocations: 123.9 kB / 482.4 MB, free: 2.957 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003175/0.1603, allocations: 148 kB / 482.5 MB, free: 2.809 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006304/0.1609, allocations: 281.5 kB / 482.8 MB, free: 2.527 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.161, allocations: 4 kB / 482.8 MB, free: 2.523 MB / 350.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0008324/0.1618, allocations: 372.9 kB / 483.1 MB, free: 2.152 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/0.1618, allocations: 6.5 kB / 483.2 MB, free: 2.148 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.1618, allocations: 0 / 483.2 MB, free: 2.148 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.1619, allocations: 0 / 483.2 MB, free: 2.148 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003086/0.1622, allocations: 67.89 kB / 483.2 MB, free: 2.082 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.979e-06/0.1622, allocations: 0 / 483.2 MB, free: 2.082 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001979/0.1624, allocations: 31.97 kB / 483.3 MB, free: 2.051 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.073e-05/0.1624, allocations: 8 kB / 483.3 MB, free: 2.043 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.0002489/0.1627, allocations: 225.6 kB / 483.5 MB, free: 1.812 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.907e-05/0.1628, allocations: 59.23 kB / 483.5 MB, free: 1.754 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009591/0.1638, allocations: 426.6 kB / 484 MB, free: 1.332 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.014e-06/0.1638, allocations: 4 kB / 484 MB, free: 1.328 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.1638, allocations: 4 kB / 484 MB, free: 1.324 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.1638, allocations: 0 / 484 MB, free: 1.324 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001564/0.1654, allocations: 0.9736 MB / 484.9 MB, free: 300 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.501e-06/0.1654, allocations: 0 / 484.9 MB, free: 300 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002674/0.1657, allocations: 59.89 kB / 485 MB, free: 240 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.1657, allocations: 4.469 kB / 485 MB, free: 236 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.139e-05/0.1657, allocations: 11.98 kB / 485 MB, free: 224 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/0.1657, allocations: 7.922 kB / 485 MB, free: 216 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.1657, allocations: 7.938 kB / 485 MB, free: 208 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000852/0.1666, allocations: 0.5331 MB / 485.6 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001822/0.1668, allocations: 148.4 kB / 485.7 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.048e-05/0.1668, allocations: 0 / 485.7 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002518/0.1671, allocations: 35.91 kB / 485.7 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.615e-05/0.1672, allocations: 23.97 kB / 485.8 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.676e-05/0.1672, allocations: 4 kB / 485.8 MB, free: 15.43 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000717/0.1679, allocations: 0.6237 MB / 486.4 MB, free: 14.8 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.2e-07/0.1679, allocations: 0 / 486.4 MB, free: 14.8 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003894/0.1683, allocations: 60 kB / 486.4 MB, free: 14.75 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.001003/0.1693, allocations: 397.9 kB / 486.8 MB, free: 14.51 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008598/0.1702, allocations: 299.8 kB / 487.1 MB, free: 14.21 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.125e-06/0.1702, allocations: 0 / 487.1 MB, free: 14.21 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003418/0.1706, allocations: 163.8 kB / 487.3 MB, free: 14.05 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006847/0.1713, allocations: 70.2 kB / 487.4 MB, free: 13.98 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00159/0.1729, allocations: 1.111 MB / 488.5 MB, free: 12.84 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004753/0.1734, allocations: 0.8812 MB / 489.4 MB, free: 11.93 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002788/0.1737, allocations: 98.88 kB / 489.4 MB, free: 11.84 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000118/0.1738, allocations: 39.42 kB / 489.5 MB, free: 11.8 MB / 366.1 MB Notification: Performance of SimCode: time 1.012e-06/0.1738, allocations: 0 / 489.5 MB, free: 11.8 MB / 366.1 MB Notification: Performance of Templates: time 0.009325/0.1831, allocations: 4.037 MB / 493.5 MB, free: 7.785 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test23/Test23.csv","/var/lib/jenkins/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