Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test22.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.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sine_R.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_cpp_ModelicaTest.Tables.CombiTable2D.Test22") translateModel(ModelicaTest.Tables.CombiTable2D.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sine_R.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_cpp_ModelicaTest.Tables.CombiTable2D.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001597/0.001602, allocations: 189.5 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.076/2.076, allocations: 205.4 MB / 222.5 MB, free: 13.76 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.001134/0.001133, allocations: 90.86 kB / 270.9 MB, free: 13.29 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3083/0.3083, allocations: 43.56 MB / 362.7 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004534/0.0004535, allocations: 12 kB / 431.4 MB, free: 20.28 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1277, allocations: 58.86 MB / 490.2 MB, free: 9.348 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test22): time 0.002995/0.1307, allocations: 1.598 MB / 491.8 MB, free: 7.73 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002097/0.1329, allocations: 0.8434 MB / 492.7 MB, free: 6.879 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001075/0.133, allocations: 0 / 492.7 MB, free: 6.879 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002336/0.1333, allocations: 27.84 kB / 492.7 MB, free: 6.852 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000417/0.1337, allocations: 135.6 kB / 492.8 MB, free: 6.719 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00141/0.1351, allocations: 363.2 kB / 493.2 MB, free: 6.363 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003983/0.1356, allocations: 159.7 kB / 493.3 MB, free: 6.207 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001881/0.1358, allocations: 48.56 kB / 493.4 MB, free: 6.156 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002429/0.136, allocations: 99.58 kB / 493.5 MB, free: 6.059 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002868/0.1363, allocations: 135.5 kB / 493.6 MB, free: 5.926 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.278e-05/0.1364, allocations: 4 kB / 493.6 MB, free: 5.922 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001376/0.1365, allocations: 35.88 kB / 493.6 MB, free: 5.887 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001925/0.1367, allocations: 123.6 kB / 493.8 MB, free: 5.766 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 9.644e-05/0.1368, allocations: 77.45 kB / 493.8 MB, free: 5.684 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004243/0.1373, allocations: 259.8 kB / 494.1 MB, free: 5.43 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.1373, allocations: 4 kB / 494.1 MB, free: 5.426 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.1373, allocations: 0 / 494.1 MB, free: 5.426 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.093e-06/0.1373, allocations: 0 / 494.1 MB, free: 5.426 MB / 330.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.001381/0.1387, allocations: 0.6959 MB / 494.8 MB, free: 4.68 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/0.1388, allocations: 12.03 kB / 494.8 MB, free: 4.668 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001244/0.1389, allocations: 55.3 kB / 494.9 MB, free: 4.613 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008219/0.1397, allocations: 431 kB / 495.3 MB, free: 4.152 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.03e-05/0.1398, allocations: 8 kB / 495.3 MB, free: 4.145 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.322e-05/0.1398, allocations: 11.91 kB / 495.3 MB, free: 4.133 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003894/0.1402, allocations: 127.3 kB / 495.4 MB, free: 3.996 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.899e-05/0.1403, allocations: 8 kB / 495.4 MB, free: 3.988 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.187e-05/0.1403, allocations: 4 kB / 495.4 MB, free: 3.984 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.187e-06/0.1403, allocations: 7.938 kB / 495.4 MB, free: 3.977 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000357/0.1407, allocations: 83.91 kB / 495.5 MB, free: 3.895 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001424/0.1421, allocations: 0.6722 MB / 496.2 MB, free: 3.168 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003388/0.1425, allocations: 117.2 kB / 496.3 MB, free: 3.035 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.114e-05/0.1426, allocations: 4 kB / 496.3 MB, free: 3.031 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.965e-05/0.1426, allocations: 30.69 kB / 496.4 MB, free: 2.992 MB / 330.7 MB Notification: Performance of pre-optimization done (n=10): time 3.036e-06/0.1426, allocations: 0 / 496.4 MB, free: 2.992 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.002328/0.1449, allocations: 0.5488 MB / 496.9 MB, free: 2.434 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.274e-05/0.145, allocations: 81.11 kB / 497 MB, free: 2.336 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001625/0.1467, allocations: 0.8739 MB / 497.9 MB, free: 1.453 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.472e-05/0.1467, allocations: 33.92 kB / 497.9 MB, free: 1.414 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002407/0.147, allocations: 258.7 kB / 498.1 MB, free: 1.156 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.947e-05/0.1471, allocations: 59.19 kB / 498.2 MB, free: 1.098 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.526e-05/0.1471, allocations: 4 kB / 498.2 MB, free: 1.094 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.1473, allocations: 322.8 kB / 498.5 MB, free: 0.7695 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003113/0.1476, allocations: 59.97 kB / 498.6 MB, free: 0.7109 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003139/0.1479, allocations: 85.33 kB / 498.7 MB, free: 0.625 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003175/0.1483, allocations: 67.97 kB / 498.7 MB, free: 0.5586 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.1483, allocations: 0 / 498.7 MB, free: 0.5586 MB / 330.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0007506/0.149, allocations: 189.5 kB / 498.9 MB, free: 376 kB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.632e-05/0.1491, allocations: 11.98 kB / 498.9 MB, free: 364 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.1491, allocations: 0 / 498.9 MB, free: 364 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.406e-05/0.1491, allocations: 4 kB / 498.9 MB, free: 360 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003669/0.1495, allocations: 39.97 kB / 499 MB, free: 320 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.266e-06/0.1495, allocations: 0 / 499 MB, free: 320 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000316/0.1499, allocations: 24.67 kB / 499 MB, free: 296 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.525e-05/0.1499, allocations: 7.953 kB / 499 MB, free: 288 kB / 330.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 (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003574/0.1503, allocations: 217.7 kB / 499.2 MB, free: 60 kB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001544/0.1505, allocations: 51.34 kB / 499.3 MB, free: 8 kB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001078/0.1515, allocations: 290.2 kB / 499.5 MB, free: 15.72 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/0.1516, allocations: 0 / 499.5 MB, free: 15.72 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.1516, allocations: 0 / 499.5 MB, free: 15.72 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.043e-05/0.1516, allocations: 7.984 kB / 499.5 MB, free: 15.71 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001799/0.1534, allocations: 0.7825 MB / 0.4886 GB, free: 14.87 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/0.1535, allocations: 0 / 0.4886 GB, free: 14.87 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003369/0.1538, allocations: 51.91 kB / 0.4887 GB, free: 14.82 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.135e-06/0.1538, allocations: 0 / 0.4887 GB, free: 14.82 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.34e-05/0.1539, allocations: 4 kB / 0.4887 GB, free: 14.82 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.083e-06/0.1539, allocations: 3.953 kB / 0.4887 GB, free: 14.81 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.434e-06/0.1539, allocations: 7.984 kB / 0.4887 GB, free: 14.8 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009432/0.1549, allocations: 415.8 kB / 0.4891 GB, free: 14.38 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002481/0.1551, allocations: 152.4 kB / 0.4892 GB, free: 14.21 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.714e-05/0.1552, allocations: 7.953 kB / 0.4892 GB, free: 14.2 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003269/0.1556, allocations: 23.98 kB / 0.4892 GB, free: 14.18 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.899e-05/0.1557, allocations: 7.984 kB / 0.4893 GB, free: 14.17 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.342e-05/0.1557, allocations: 7.984 kB / 0.4893 GB, free: 14.16 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001189/0.1569, allocations: 0.6393 MB / 0.4899 GB, free: 13.52 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.1569, allocations: 0 / 0.4899 GB, free: 13.52 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005679/0.1575, allocations: 55.98 kB / 0.4899 GB, free: 13.47 MB / 346.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 (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00124/0.1588, allocations: 410.9 kB / 0.4903 GB, free: 13.11 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007477/0.1595, allocations: 159.8 kB / 0.4905 GB, free: 12.95 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.1595, allocations: 0 / 0.4905 GB, free: 12.95 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003458/0.1599, allocations: 87.89 kB / 0.4906 GB, free: 12.87 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007191/0.1606, allocations: 62.17 kB / 0.4906 GB, free: 12.81 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002144/0.1628, allocations: 0.9776 MB / 0.4916 GB, free: 11.8 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005925/0.1634, allocations: 0.8616 MB / 0.4924 GB, free: 10.91 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002273/0.1637, allocations: 47.41 kB / 0.4925 GB, free: 10.86 MB / 346.7 MB Notification: Performance of SimCode: time 1.072e-06/0.1637, allocations: 0 / 0.4925 GB, free: 10.86 MB / 346.7 MB Notification: Performance of Templates: time 0.01394/0.1776, allocations: 5.45 MB / 0.4978 GB, free: 5.406 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test22.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test22.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test22.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test22.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test22 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test22/Test22.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches