Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2D.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5") translateModel(ModelicaTest.Tables.CombiTable2D.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009241/0.0009239, allocations: 179.6 kB / 16.08 MB, free: 5.539 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.326/1.326, allocations: 205.6 MB / 222.4 MB, free: 13.53 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007415/0.0007415, allocations: 90.23 kB / 270.8 MB, free: 13.05 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1816/0.1816, allocations: 43.69 MB / 362.7 MB, free: 11.02 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004767/0.0004767, allocations: 12 kB / 432.3 MB, free: 19.1 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1412/0.1417, allocations: 58.86 MB / 491.2 MB, free: 8.109 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test5): time 0.00295/0.1447, allocations: 1.301 MB / 492.5 MB, free: 6.789 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001019/0.1458, allocations: 388.9 kB / 492.9 MB, free: 6.387 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.403e-05/0.1458, allocations: 0 / 492.9 MB, free: 6.387 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007919/0.1467, allocations: 455.2 kB / 493.3 MB, free: 5.941 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004905/0.1472, allocations: 239.6 kB / 493.5 MB, free: 5.707 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005104/0.1477, allocations: 99.81 kB / 493.6 MB, free: 5.609 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003094/0.148, allocations: 159.7 kB / 493.8 MB, free: 5.453 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001146/0.1482, allocations: 16.19 kB / 493.8 MB, free: 5.438 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001851/0.1484, allocations: 99.72 kB / 493.9 MB, free: 5.34 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000332/0.1487, allocations: 199.6 kB / 494.1 MB, free: 5.145 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.271e-05/0.1488, allocations: 0 / 494.1 MB, free: 5.145 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001209/0.1489, allocations: 35.92 kB / 494.1 MB, free: 5.109 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001429/0.1491, allocations: 79.69 kB / 494.2 MB, free: 5.031 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00014/0.1492, allocations: 124.7 kB / 494.3 MB, free: 4.902 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003862/0.1496, allocations: 239.3 kB / 494.6 MB, free: 4.668 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.1496, allocations: 0 / 494.6 MB, free: 4.668 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.1497, allocations: 0 / 494.6 MB, free: 4.668 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.1497, allocations: 0 / 494.6 MB, free: 4.668 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.00093/0.1506, allocations: 0.5834 MB / 495.1 MB, free: 4.035 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.1507, allocations: 12.03 kB / 495.2 MB, free: 4.023 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.847e-05/0.1508, allocations: 36.47 kB / 495.2 MB, free: 3.988 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003962/0.1512, allocations: 304.1 kB / 495.5 MB, free: 3.652 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.1512, allocations: 4.375 kB / 495.5 MB, free: 3.648 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.986e-05/0.1513, allocations: 384 / 495.5 MB, free: 3.648 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001898/0.1515, allocations: 57.62 kB / 495.6 MB, free: 3.586 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.1515, allocations: 0 / 495.6 MB, free: 3.586 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.1515, allocations: 0 / 495.6 MB, free: 3.586 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.1515, allocations: 0 / 495.6 MB, free: 3.586 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001567/0.1517, allocations: 35.98 kB / 495.6 MB, free: 3.551 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006456/0.1523, allocations: 380.6 kB / 496 MB, free: 3.129 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002528/0.1526, allocations: 46.56 kB / 496 MB, free: 3.074 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.775e-05/0.1527, allocations: 16.94 kB / 496 MB, free: 3.055 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.296e-05/0.1528, allocations: 4 kB / 496 MB, free: 3.051 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.241e-05/0.1528, allocations: 38.5 kB / 496.1 MB, free: 3.004 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.923e-06/0.1528, allocations: 0 / 496.1 MB, free: 3.004 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0009479/0.1538, allocations: 236 kB / 496.3 MB, free: 2.766 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.364e-05/0.1538, allocations: 63.28 kB / 496.4 MB, free: 2.691 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001387/0.1552, allocations: 0.8534 MB / 497.2 MB, free: 1.828 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.741e-05/0.1553, allocations: 25.7 kB / 497.2 MB, free: 1.797 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002278/0.1555, allocations: 220.1 kB / 497.4 MB, free: 1.578 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.684e-05/0.1555, allocations: 11.81 kB / 497.5 MB, free: 1.566 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.338e-06/0.1556, allocations: 0 / 497.5 MB, free: 1.566 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000181/0.1558, allocations: 366.8 kB / 497.8 MB, free: 1.199 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001126/0.1559, allocations: 19.98 kB / 497.8 MB, free: 1.18 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.619e-05/0.156, allocations: 23.98 kB / 497.9 MB, free: 1.156 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002157/0.1562, allocations: 57.02 kB / 497.9 MB, free: 1.098 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.1562, allocations: 0 / 497.9 MB, free: 1.098 MB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003435/0.1566, allocations: 125.1 kB / 498 MB, free: 0.9688 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/0.1566, allocations: 7.938 kB / 498 MB, free: 0.9609 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.1566, allocations: 7.938 kB / 498.1 MB, free: 0.9531 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.1567, allocations: 288 / 498.1 MB, free: 0.9531 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001198/0.1568, allocations: 15.98 kB / 498.1 MB, free: 0.9375 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.1568, allocations: 0 / 498.1 MB, free: 0.9375 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001117/0.1569, allocations: 11.94 kB / 498.1 MB, free: 0.9258 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.308e-05/0.157, allocations: 4 kB / 498.1 MB, free: 0.9219 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (5): * Single equations (assignments): 5 * 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.0002835/0.1573, allocations: 209.8 kB / 498.3 MB, free: 0.707 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.554e-05/0.1574, allocations: 39.52 kB / 498.3 MB, free: 0.668 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004778/0.1579, allocations: 149 kB / 498.5 MB, free: 0.5156 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/0.1579, allocations: 0 / 498.5 MB, free: 0.5156 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.1579, allocations: 3.938 kB / 498.5 MB, free: 0.5117 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/0.1579, allocations: 3.938 kB / 498.5 MB, free: 0.5078 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009053/0.1588, allocations: 466.5 kB / 498.9 MB, free: 15.99 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.1589, allocations: 0 / 498.9 MB, free: 15.99 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001093/0.159, allocations: 15.98 kB / 499 MB, free: 15.98 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.159, allocations: 0 / 499 MB, free: 15.98 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.159, allocations: 7.938 kB / 499 MB, free: 15.97 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.159, allocations: 4 kB / 499 MB, free: 15.96 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.159, allocations: 0 / 499 MB, free: 15.96 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003797/0.1594, allocations: 219.2 kB / 499.2 MB, free: 15.73 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001135/0.1596, allocations: 112.5 kB / 499.3 MB, free: 15.61 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.405e-05/0.1596, allocations: 7.938 kB / 499.3 MB, free: 15.6 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001694/0.1598, allocations: 11.98 kB / 499.3 MB, free: 15.59 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.559e-05/0.1599, allocations: 4 kB / 499.3 MB, free: 15.58 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.535e-06/0.1599, allocations: 0 / 499.3 MB, free: 15.58 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001042/0.161, allocations: 0.6472 MB / 500 MB, free: 14.94 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.161, allocations: 0 / 500 MB, free: 14.94 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004509/0.1614, allocations: 24 kB / 500 MB, free: 14.91 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (5): * Single equations (assignments): 5 * 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.001512/0.163, allocations: 466.8 kB / 0.4887 GB, free: 14.58 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000292/0.1633, allocations: 59.84 kB / 0.4888 GB, free: 14.52 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.1633, allocations: 0 / 0.4888 GB, free: 14.52 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001388/0.1635, allocations: 27.98 kB / 0.4888 GB, free: 14.5 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005596/0.164, allocations: 25.95 kB / 0.4888 GB, free: 14.47 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001687/0.1657, allocations: 0.8571 MB / 0.4897 GB, free: 13.59 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005864/0.1663, allocations: 0.8185 MB / 0.4905 GB, free: 12.74 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 8.225e-05/0.1664, allocations: 11.98 kB / 0.4905 GB, free: 12.73 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.373e-05/0.1665, allocations: 19.44 kB / 0.4905 GB, free: 12.71 MB / 346.7 MB Notification: Performance of SimCode: time 5.51e-07/0.1665, allocations: 0 / 0.4905 GB, free: 12.71 MB / 346.7 MB Notification: Performance of Templates: time 0.007181/0.1737, allocations: 1.331 MB / 0.4918 GB, free: 11.39 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test5/Test5.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches