Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.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 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 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 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.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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00135/0.00135, allocations: 97.7 kB / 15.98 MB, free: 6.336 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.001512/0.001512, allocations: 195.5 kB / 16.9 MB, free: 6.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.771/1.771, allocations: 205.1 MB / 222.8 MB, free: 12.48 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2727/0.2727, allocations: 43.51 MB / 313.6 MB, free: 0.7109 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001477/0.001477, allocations: 67.12 kB / 382.2 MB, free: 56.99 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1458/0.1473, allocations: 57.8 MB / 440 MB, free: 7.367 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test5): time 0.003576/0.151, allocations: 1.654 MB / 441.7 MB, free: 5.691 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006373/0.1516, allocations: 323.5 kB / 442 MB, free: 5.371 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.285e-05/0.1517, allocations: 4 kB / 442 MB, free: 5.367 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000514/0.1523, allocations: 447.2 kB / 442.4 MB, free: 4.93 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000371/0.1527, allocations: 251.6 kB / 442.7 MB, free: 4.684 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003591/0.1531, allocations: 99.19 kB / 442.8 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002804/0.1533, allocations: 163.7 kB / 442.9 MB, free: 4.43 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00012/0.1535, allocations: 20.41 kB / 442.9 MB, free: 4.41 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001566/0.1536, allocations: 107.8 kB / 443.1 MB, free: 4.305 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002129/0.1539, allocations: 215.6 kB / 443.3 MB, free: 4.094 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.906e-05/0.1539, allocations: 4 kB / 443.3 MB, free: 4.09 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001041/0.154, allocations: 31.98 kB / 443.3 MB, free: 4.059 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.959e-05/0.1541, allocations: 87.62 kB / 443.4 MB, free: 3.973 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.514e-05/0.1542, allocations: 99.05 kB / 443.5 MB, free: 3.875 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002753/0.1544, allocations: 247 kB / 443.7 MB, free: 3.633 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.1545, allocations: 4 kB / 443.7 MB, free: 3.629 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1545, allocations: 0 / 443.7 MB, free: 3.629 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.345e-06/0.1545, allocations: 0 / 443.7 MB, free: 3.629 MB / 318.1 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.0006525/0.1551, allocations: 0.6219 MB / 444.3 MB, free: 2.957 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.1552, allocations: 15.89 kB / 444.4 MB, free: 2.941 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.226e-05/0.1553, allocations: 40.41 kB / 444.4 MB, free: 2.902 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002451/0.1555, allocations: 296.1 kB / 444.7 MB, free: 2.574 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.1555, allocations: 4.375 kB / 444.7 MB, free: 2.57 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.307e-05/0.1556, allocations: 384 / 444.7 MB, free: 2.57 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001501/0.1557, allocations: 61.61 kB / 444.8 MB, free: 2.504 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.1558, allocations: 0 / 444.8 MB, free: 2.504 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.1558, allocations: 4 kB / 444.8 MB, free: 2.5 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.1558, allocations: 0 / 444.8 MB, free: 2.5 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.434e-05/0.1559, allocations: 23.97 kB / 444.8 MB, free: 2.477 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004756/0.1564, allocations: 388.6 kB / 445.2 MB, free: 2.047 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002265/0.1566, allocations: 46.56 kB / 445.2 MB, free: 1.992 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.724e-05/0.1567, allocations: 16.94 kB / 445.2 MB, free: 1.973 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.906e-05/0.1567, allocations: 0 / 445.2 MB, free: 1.973 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.362e-05/0.1567, allocations: 30.56 kB / 445.3 MB, free: 1.934 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 8.91e-07/0.1567, allocations: 0 / 445.3 MB, free: 1.934 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006101/0.1573, allocations: 228.2 kB / 445.5 MB, free: 1.703 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.493e-05/0.1574, allocations: 55.34 kB / 445.5 MB, free: 1.637 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005945/0.158, allocations: 0.8613 MB / 446.4 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.488e-06/0.158, allocations: 25.7 kB / 446.4 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001191/0.1581, allocations: 220.1 kB / 446.6 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.31e-05/0.1582, allocations: 15.75 kB / 446.6 MB, free: 0.5 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.376e-05/0.1582, allocations: 17.7 kB / 446.7 MB, free: 488 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.264e-05/0.1583, allocations: 362.8 kB / 447 MB, free: 116 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.204e-05/0.1583, allocations: 23.92 kB / 447 MB, free: 92 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.993e-05/0.1584, allocations: 19.98 kB / 447.1 MB, free: 72 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000104/0.1585, allocations: 44.83 kB / 447.1 MB, free: 24 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.1585, allocations: 0 / 447.1 MB, free: 24 kB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002351/0.1588, allocations: 125.3 kB / 447.2 MB, free: 15.89 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.1588, allocations: 4 kB / 447.2 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.156e-06/0.1588, allocations: 4 kB / 447.2 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.1588, allocations: 0 / 447.2 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.715e-05/0.1589, allocations: 11.98 kB / 447.2 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.1589, allocations: 3.938 kB / 447.3 MB, free: 15.87 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.585e-05/0.159, allocations: 7.938 kB / 447.3 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-06/0.159, allocations: 0 / 447.3 MB, free: 15.86 MB / 334.1 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.0001916/0.1592, allocations: 225.6 kB / 447.5 MB, free: 15.63 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.075e-05/0.1592, allocations: 47.44 kB / 447.5 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002746/0.1595, allocations: 125.1 kB / 447.6 MB, free: 15.45 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.1595, allocations: 4 kB / 447.7 MB, free: 15.45 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.1596, allocations: 0 / 447.7 MB, free: 15.45 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.1596, allocations: 7.922 kB / 447.7 MB, free: 15.44 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000511/0.1601, allocations: 454.5 kB / 448.1 MB, free: 14.94 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.1601, allocations: 4 kB / 448.1 MB, free: 14.94 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.151e-05/0.1602, allocations: 11.98 kB / 448.1 MB, free: 14.93 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.1602, allocations: 0 / 448.1 MB, free: 14.93 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.458e-06/0.1602, allocations: 3.938 kB / 448.1 MB, free: 14.92 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1602, allocations: 0 / 448.1 MB, free: 14.92 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1602, allocations: 0 / 448.1 MB, free: 14.92 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002491/0.1604, allocations: 219.2 kB / 448.3 MB, free: 14.69 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.96e-05/0.1605, allocations: 112.6 kB / 448.4 MB, free: 14.56 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.941e-05/0.1606, allocations: 7.938 kB / 448.5 MB, free: 14.55 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.726e-05/0.1607, allocations: 7.984 kB / 448.5 MB, free: 14.55 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.995e-05/0.1607, allocations: 0 / 448.5 MB, free: 14.55 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.554e-06/0.1607, allocations: 4 kB / 448.5 MB, free: 14.54 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000599/0.1613, allocations: 0.6433 MB / 449.1 MB, free: 13.9 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.1613, allocations: 0 / 449.1 MB, free: 13.9 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002664/0.1616, allocations: 31.98 kB / 449.1 MB, free: 13.87 MB / 334.1 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.0009731/0.1626, allocations: 395.3 kB / 449.5 MB, free: 13.55 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000211/0.1628, allocations: 51.89 kB / 449.6 MB, free: 13.5 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.1628, allocations: 0 / 449.6 MB, free: 13.5 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.306e-05/0.1629, allocations: 24.11 kB / 449.6 MB, free: 13.48 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004752/0.1634, allocations: 26.09 kB / 449.6 MB, free: 13.45 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001167/0.1646, allocations: 0.8655 MB / 450.5 MB, free: 12.56 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004347/0.165, allocations: 0.8221 MB / 451.3 MB, free: 11.71 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.124e-05/0.1651, allocations: 11.97 kB / 451.3 MB, free: 11.7 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.083e-05/0.1651, allocations: 11.44 kB / 451.3 MB, free: 11.69 MB / 334.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1651, allocations: 4 kB / 451.3 MB, free: 11.68 MB / 334.1 MB Notification: Performance of Templates: time 0.005141/0.1703, allocations: 1.408 MB / 452.7 MB, free: 10.28 MB / 334.1 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