Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.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.CombiTable2D.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cosine_R.y|sine_R.y|cosine_L.y|sine_L.y|combiTable2D_1R.y|combiTable2D_2R.y|combiTable2D_1L.y|combiTable2D_2L.y|der_1R.y|der_2R.y|der_1L.y|der_2L.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23") translateModel(ModelicaTest.Tables.CombiTable2D.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cosine_R.y|sine_R.y|cosine_L.y|sine_L.y|combiTable2D_1R.y|combiTable2D_2R.y|combiTable2D_1L.y|combiTable2D_2L.y|der_1R.y|der_2R.y|der_1L.y|der_2L.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001373/0.001372, allocations: 183 kB / 16.63 MB, free: 5.137 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.371/1.371, allocations: 205.1 MB / 222.5 MB, free: 8.477 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.0009435/0.0009435, allocations: 115.3 kB / 269.9 MB, free: 8.422 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.3453/0.3453, allocations: 43.5 MB / 360.7 MB, free: 51.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001596/0.001597, allocations: 51.92 kB / 429.2 MB, free: 6.375 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.1297, allocations: 57.77 MB / 487 MB, free: 12.53 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test23): time 0.003443/0.1331, allocations: 2.076 MB / 489.1 MB, free: 10.44 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00165/0.1348, allocations: 0.9794 MB / 490.1 MB, free: 9.449 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001334/0.135, allocations: 4 kB / 490.1 MB, free: 9.445 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002469/0.1352, allocations: 23.8 kB / 490.1 MB, free: 9.422 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003513/0.1356, allocations: 143.4 kB / 490.2 MB, free: 9.281 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008858/0.1365, allocations: 375.4 kB / 490.6 MB, free: 8.914 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004288/0.137, allocations: 279.1 kB / 490.9 MB, free: 8.641 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002215/0.1372, allocations: 64.81 kB / 490.9 MB, free: 8.578 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000265/0.1375, allocations: 119.5 kB / 491.1 MB, free: 8.461 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002975/0.1378, allocations: 183.2 kB / 491.2 MB, free: 8.281 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.663e-05/0.1378, allocations: 8 kB / 491.2 MB, free: 8.273 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001401/0.138, allocations: 43.98 kB / 491.3 MB, free: 8.23 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001852/0.1382, allocations: 135.5 kB / 491.4 MB, free: 8.098 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001532/0.1383, allocations: 162.7 kB / 491.6 MB, free: 7.938 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004434/0.1388, allocations: 354.6 kB / 491.9 MB, free: 7.59 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.1388, allocations: 0 / 491.9 MB, free: 7.59 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1388, allocations: 0 / 491.9 MB, free: 7.59 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.502e-05/0.1388, allocations: 0 / 491.9 MB, free: 7.59 MB / 378.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.001123/0.14, allocations: 0.7658 MB / 492.7 MB, free: 6.773 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.14, allocations: 8.031 kB / 492.7 MB, free: 6.766 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000103/0.1401, allocations: 56.28 kB / 492.8 MB, free: 6.711 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005332/0.1407, allocations: 443.8 kB / 493.2 MB, free: 6.238 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.044e-05/0.1407, allocations: 12.31 kB / 493.2 MB, free: 6.227 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.205e-05/0.1407, allocations: 20.11 kB / 493.2 MB, free: 6.207 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003395/0.1411, allocations: 139.2 kB / 493.4 MB, free: 6.059 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.9e-05/0.1411, allocations: 7.891 kB / 493.4 MB, free: 6.051 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.8e-05/0.1411, allocations: 4 kB / 493.4 MB, free: 6.047 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.1411, allocations: 4 kB / 493.4 MB, free: 6.043 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002897/0.1414, allocations: 99.86 kB / 493.5 MB, free: 5.945 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009628/0.1424, allocations: 0.6644 MB / 494.1 MB, free: 5.227 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002592/0.1427, allocations: 121.2 kB / 494.2 MB, free: 5.09 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001399/0.1428, allocations: 66.03 kB / 494.3 MB, free: 5.02 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.448e-05/0.1429, allocations: 7.984 kB / 494.3 MB, free: 5.012 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.585e-05/0.1429, allocations: 42.5 kB / 494.4 MB, free: 4.961 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 2.024e-06/0.1429, allocations: 0 / 494.4 MB, free: 4.961 MB / 378.7 MB Notification: Performance of matching and sorting (n=20): time 0.002426/0.1454, allocations: 0.658 MB / 495 MB, free: 4.293 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.962e-05/0.1454, allocations: 81.11 kB / 495.1 MB, free: 4.195 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001183/0.1466, allocations: 0.8465 MB / 495.9 MB, free: 3.336 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.929e-05/0.1467, allocations: 37.7 kB / 496 MB, free: 3.293 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000222/0.1469, allocations: 244.4 kB / 496.2 MB, free: 3.047 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.122e-05/0.147, allocations: 67 kB / 496.3 MB, free: 2.98 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.157e-05/0.1471, allocations: 41.69 kB / 496.3 MB, free: 2.934 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001419/0.1472, allocations: 370.7 kB / 496.7 MB, free: 2.562 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002491/0.1475, allocations: 91.92 kB / 496.8 MB, free: 2.473 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002454/0.1477, allocations: 105.7 kB / 496.9 MB, free: 2.363 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004966/0.1483, allocations: 217.7 kB / 497.1 MB, free: 2.145 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.1483, allocations: 0 / 497.1 MB, free: 2.145 MB / 378.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006404/0.1489, allocations: 292.8 kB / 497.4 MB, free: 1.852 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.1489, allocations: 8 kB / 497.4 MB, free: 1.844 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.1489, allocations: 4 kB / 497.4 MB, free: 1.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.149, allocations: 0 / 497.4 MB, free: 1.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002802/0.1493, allocations: 55.94 kB / 497.4 MB, free: 1.785 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.1493, allocations: 3.984 kB / 497.5 MB, free: 1.781 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001734/0.1494, allocations: 19.98 kB / 497.5 MB, free: 1.762 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.94e-05/0.1495, allocations: 7.984 kB / 497.5 MB, free: 1.754 MB / 378.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 (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.0001874/0.1497, allocations: 213.7 kB / 497.7 MB, free: 1.535 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.295e-05/0.1498, allocations: 55.34 kB / 497.7 MB, free: 1.48 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007609/0.1505, allocations: 346.7 kB / 498.1 MB, free: 1.133 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.1505, allocations: 0 / 498.1 MB, free: 1.133 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.1506, allocations: 8.078 kB / 498.1 MB, free: 1.125 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.1506, allocations: 7.938 kB / 498.1 MB, free: 1.117 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001371/0.152, allocations: 0.8683 MB / 499 MB, free: 196 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.298e-06/0.152, allocations: 7.984 kB / 499 MB, free: 188 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002326/0.1522, allocations: 55.83 kB / 499 MB, free: 132 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.1522, allocations: 0 / 499 MB, free: 132 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.146e-05/0.1523, allocations: 8 kB / 499 MB, free: 124 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.362e-06/0.1523, allocations: 3.938 kB / 499 MB, free: 120 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.1523, allocations: 4 kB / 499 MB, free: 116 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001386/0.1537, allocations: 1.237 MB / 0.4886 GB, free: 14.82 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001603/0.1538, allocations: 132.5 kB / 0.4887 GB, free: 14.67 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.544e-05/0.1539, allocations: 0 / 0.4887 GB, free: 14.67 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000235/0.1541, allocations: 23.97 kB / 0.4887 GB, free: 14.64 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.468e-05/0.1542, allocations: 15.97 kB / 0.4887 GB, free: 14.63 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.686e-05/0.1543, allocations: 8 kB / 0.4887 GB, free: 14.62 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006483/0.1549, allocations: 0.6198 MB / 0.4893 GB, free: 14 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.392e-06/0.1549, allocations: 4 kB / 0.4893 GB, free: 14 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004382/0.1554, allocations: 59.94 kB / 0.4894 GB, free: 13.94 MB / 394.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 (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.0008242/0.1562, allocations: 405.3 kB / 0.4898 GB, free: 13.59 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006001/0.1568, allocations: 219.8 kB / 0.49 GB, free: 13.38 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.1568, allocations: 0 / 0.49 GB, free: 13.38 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003113/0.1571, allocations: 123.8 kB / 0.4901 GB, free: 13.25 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006064/0.1577, allocations: 74.14 kB / 0.4902 GB, free: 13.18 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001528/0.1593, allocations: 1.225 MB / 0.4914 GB, free: 11.91 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004167/0.1597, allocations: 0.8656 MB / 0.4922 GB, free: 11.02 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001874/0.1599, allocations: 74.91 kB / 0.4923 GB, free: 10.95 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001154/0.16, allocations: 39.42 kB / 0.4923 GB, free: 10.91 MB / 394.7 MB Notification: Performance of SimCode: time 4.51e-07/0.16, allocations: 0 / 0.4923 GB, free: 10.91 MB / 394.7 MB Notification: Performance of Templates: time 0.007853/0.1679, allocations: 4.118 MB / 0.4964 GB, free: 6.797 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test23/Test23.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches