Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.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.CombiTable2Ds.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009811/0.000981, allocations: 95.17 kB / 18 MB, free: 5.609 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.0009936/0.0009936, allocations: 176.6 kB / 18.91 MB, free: 4.742 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.337/1.337, allocations: 223.2 MB / 242.9 MB, free: 216 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1907/0.1907, allocations: 44.25 MB / 338.3 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005466/0.0005464, allocations: 17.25 kB / 411 MB, free: 27.31 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1602/0.1608, allocations: 61.92 MB / 472.9 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test26): time 0.003217/0.164, allocations: 1.353 MB / 474.3 MB, free: 12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001405/0.1655, allocations: 419.2 kB / 474.7 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.48e-05/0.1656, allocations: 0 / 474.7 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003191/0.1659, allocations: 51.86 kB / 474.7 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002954/0.1663, allocations: 47.83 kB / 474.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006577/0.1669, allocations: 118.7 kB / 474.9 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000204/0.1672, allocations: 67.81 kB / 475 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000125/0.1673, allocations: 15.98 kB / 475 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.822e-05/0.1674, allocations: 27.86 kB / 475 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001172/0.1675, allocations: 39.83 kB / 475 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.039e-05/0.1676, allocations: 8 kB / 475 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001624/0.1677, allocations: 43.98 kB / 475.1 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.555e-05/0.1678, allocations: 19.92 kB / 475.1 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.051e-05/0.1679, allocations: 49.45 kB / 475.2 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002089/0.1682, allocations: 75.88 kB / 475.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.1682, allocations: 0 / 475.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.514e-06/0.1682, allocations: 0 / 475.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.593e-06/0.1682, allocations: 3.938 kB / 475.2 MB, free: 11.02 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006922/0.1689, allocations: 407.4 kB / 475.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.867e-05/0.169, allocations: 8.031 kB / 475.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.64e-05/0.169, allocations: 8.844 kB / 475.7 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002855/0.1693, allocations: 196.7 kB / 475.8 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.718e-05/0.1694, allocations: 4.375 kB / 475.8 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.553e-05/0.1694, allocations: 11.94 kB / 475.9 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003147/0.1698, allocations: 65.61 kB / 475.9 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.856e-05/0.1698, allocations: 4 kB / 475.9 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.454e-05/0.1698, allocations: 3.938 kB / 475.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.1698, allocations: 0 / 475.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002814/0.1701, allocations: 51.95 kB / 476 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005999/0.1708, allocations: 304.8 kB / 476.3 MB, free: 9.836 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000368/0.1711, allocations: 54.56 kB / 476.3 MB, free: 9.773 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001489/0.1713, allocations: 28.97 kB / 476.4 MB, free: 9.742 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.995e-05/0.1714, allocations: 7.984 kB / 476.4 MB, free: 9.734 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.79e-05/0.1714, allocations: 30.56 kB / 476.4 MB, free: 9.695 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 2.174e-06/0.1714, allocations: 0 / 476.4 MB, free: 9.695 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.002774/0.1742, allocations: 469.2 kB / 476.9 MB, free: 9.23 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.619e-05/0.1743, allocations: 55.41 kB / 476.9 MB, free: 9.164 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002978/0.1746, allocations: 172.3 kB / 477.1 MB, free: 8.98 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.489e-05/0.1747, allocations: 29.7 kB / 477.1 MB, free: 8.945 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.834e-05/0.1748, allocations: 104.1 kB / 477.2 MB, free: 8.84 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.42e-05/0.1749, allocations: 35.45 kB / 477.2 MB, free: 8.805 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.061e-05/0.1749, allocations: 17.72 kB / 477.3 MB, free: 8.781 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001654/0.1751, allocations: 322.8 kB / 477.6 MB, free: 8.457 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002365/0.1754, allocations: 47.97 kB / 477.6 MB, free: 8.41 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002803/0.1757, allocations: 63.95 kB / 477.7 MB, free: 8.348 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005177/0.1762, allocations: 112.8 kB / 477.8 MB, free: 8.234 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.1762, allocations: 4 kB / 477.8 MB, free: 8.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0006451/0.1769, allocations: 157.4 kB / 478 MB, free: 8.07 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.252e-05/0.1769, allocations: 8 kB / 478 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/0.177, allocations: 4.188 kB / 478 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.177, allocations: 0 / 478 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000243/0.1772, allocations: 31.98 kB / 478 MB, free: 8.027 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.1773, allocations: 3.938 kB / 478 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001287/0.1774, allocations: 15.92 kB / 478 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.21e-05/0.1775, allocations: 8 kB / 478 MB, free: 8 MB / 350.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 (11): * Single equations (assignments): 11 * 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.0001708/0.1777, allocations: 126.4 kB / 478.1 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.676e-05/0.1777, allocations: 19.75 kB / 478.2 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007371/0.1785, allocations: 178.3 kB / 478.3 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.1785, allocations: 0 / 478.3 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.1785, allocations: 0 / 478.3 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.428e-06/0.1786, allocations: 4 kB / 478.3 MB, free: 7.664 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001224/0.1798, allocations: 487.9 kB / 478.8 MB, free: 7.125 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.908e-06/0.1798, allocations: 0 / 478.8 MB, free: 7.125 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002256/0.1801, allocations: 32.05 kB / 478.9 MB, free: 7.094 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.259e-06/0.1801, allocations: 0 / 478.9 MB, free: 7.094 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.499e-05/0.1801, allocations: 8 kB / 478.9 MB, free: 7.086 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.595e-06/0.1801, allocations: 0 / 478.9 MB, free: 7.086 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.1801, allocations: 3.938 kB / 478.9 MB, free: 7.082 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007152/0.1809, allocations: 265 kB / 479.1 MB, free: 6.801 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.834e-05/0.181, allocations: 93 kB / 479.2 MB, free: 6.691 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.232e-05/0.181, allocations: 4 kB / 479.2 MB, free: 6.688 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000182/0.1812, allocations: 12 kB / 479.2 MB, free: 6.676 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.979e-05/0.1813, allocations: 11.98 kB / 479.2 MB, free: 6.664 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.961e-05/0.1814, allocations: 7.938 kB / 479.2 MB, free: 6.656 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001949/0.1816, allocations: 138.4 kB / 479.4 MB, free: 6.523 MB / 350.1 MB Notification: Performance of sort global known variables: time 4.5e-07/0.1816, allocations: 0 / 479.4 MB, free: 6.523 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004723/0.1821, allocations: 28 kB / 479.4 MB, free: 6.496 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.00196/0.184, allocations: 462.4 kB / 479.9 MB, free: 6.219 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006408/0.1847, allocations: 127.9 kB / 480 MB, free: 6.094 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.1847, allocations: 0 / 480 MB, free: 6.094 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003272/0.1851, allocations: 68.03 kB / 480.1 MB, free: 6.027 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005682/0.1857, allocations: 22.95 kB / 480.1 MB, free: 6.008 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008802/0.1866, allocations: 328.5 kB / 480.4 MB, free: 5.652 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004412/0.187, allocations: 0.7082 MB / 481.1 MB, free: 4.918 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.788e-05/0.1871, allocations: 11.44 kB / 481.1 MB, free: 4.906 MB / 350.1 MB Notification: Performance of SimCode: time 7.32e-07/0.1871, allocations: 4 kB / 481.1 MB, free: 4.902 MB / 350.1 MB Notification: Performance of Templates: time 0.006671/0.1938, allocations: 1.849 MB / 483 MB, free: 3.062 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test26/Test26.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches