Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001762/0.001762, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00214/0.00214, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.481/1.481, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2364/0.2364, allocations: 46.11 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 76.88 kB / 417.7 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1718/0.1732, allocations: 62.45 MB / 480.1 MB, free: 5.176 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.004108/0.1773, allocations: 1.588 MB / 481.7 MB, free: 3.574 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001376/0.1787, allocations: 0.5377 MB / 482.3 MB, free: 3.031 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.814e-05/0.1788, allocations: 0 / 482.3 MB, free: 3.031 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002636/0.1791, allocations: 27.8 kB / 482.3 MB, free: 3.004 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003848/0.1795, allocations: 75.69 kB / 482.4 MB, free: 2.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003469/0.1799, allocations: 91.08 kB / 482.4 MB, free: 2.844 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001681/0.18, allocations: 67.83 kB / 482.5 MB, free: 2.777 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001256/0.1802, allocations: 11.98 kB / 482.5 MB, free: 2.766 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.673e-05/0.1802, allocations: 27.88 kB / 482.6 MB, free: 2.738 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.172e-05/0.1803, allocations: 19.86 kB / 482.6 MB, free: 2.719 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.704e-05/0.1803, allocations: 4 kB / 482.6 MB, free: 2.715 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000104/0.1805, allocations: 31.97 kB / 482.6 MB, free: 2.684 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.046e-05/0.1805, allocations: 8 kB / 482.6 MB, free: 2.676 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.724e-05/0.1806, allocations: 23.8 kB / 482.6 MB, free: 2.652 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001908/0.1808, allocations: 76.08 kB / 482.7 MB, free: 2.578 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.1808, allocations: 3.938 kB / 482.7 MB, free: 2.574 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1808, allocations: 3.938 kB / 482.7 MB, free: 2.57 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.552e-06/0.1808, allocations: 4 kB / 482.7 MB, free: 2.566 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005549/0.1814, allocations: 391.1 kB / 483.1 MB, free: 2.137 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.917e-05/0.1814, allocations: 12.03 kB / 483.1 MB, free: 2.125 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.847e-05/0.1815, allocations: 30.75 kB / 483.1 MB, free: 2.086 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.693e-05/0.1815, allocations: 8.844 kB / 483.2 MB, free: 2.078 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00022/0.1818, allocations: 188.2 kB / 483.3 MB, free: 1.855 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.1818, allocations: 384 / 483.3 MB, free: 1.855 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.745e-05/0.1818, allocations: 4.375 kB / 483.3 MB, free: 1.852 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001691/0.182, allocations: 57.61 kB / 483.4 MB, free: 1.789 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/0.182, allocations: 3.938 kB / 483.4 MB, free: 1.785 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.358e-06/0.182, allocations: 0 / 483.4 MB, free: 1.785 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.1821, allocations: 4 kB / 483.4 MB, free: 1.781 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001205/0.1822, allocations: 23.97 kB / 483.4 MB, free: 1.758 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004094/0.1826, allocations: 272.9 kB / 483.7 MB, free: 1.441 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002676/0.1829, allocations: 46.5 kB / 483.7 MB, free: 1.387 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.673e-05/0.183, allocations: 12.86 kB / 483.8 MB, free: 1.371 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.614e-05/0.183, allocations: 8.078 kB / 483.8 MB, free: 1.363 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.012e-05/0.183, allocations: 30.56 kB / 483.8 MB, free: 1.324 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.312e-06/0.183, allocations: 0 / 483.8 MB, free: 1.324 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007751/0.1838, allocations: 145.2 kB / 483.9 MB, free: 1.176 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.718e-05/0.1839, allocations: 51.41 kB / 484 MB, free: 1.113 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002168/0.1841, allocations: 156.5 kB / 484.1 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.33e-05/0.1842, allocations: 25.7 kB / 484.2 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.008e-05/0.1842, allocations: 92.14 kB / 484.3 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.041e-05/0.1843, allocations: 19.78 kB / 484.3 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.591e-05/0.1844, allocations: 13.72 kB / 484.3 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.1845, allocations: 330.8 kB / 484.6 MB, free: 468 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.844e-05/0.1846, allocations: 15.98 kB / 484.6 MB, free: 452 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.685e-05/0.1847, allocations: 23.92 kB / 484.6 MB, free: 428 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001754/0.1849, allocations: 40.84 kB / 484.7 MB, free: 384 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.1849, allocations: 4.172 kB / 484.7 MB, free: 380 kB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002641/0.1852, allocations: 89.52 kB / 484.8 MB, free: 284 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.1852, allocations: 8 kB / 484.8 MB, free: 276 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.1852, allocations: 0 / 484.8 MB, free: 276 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.1853, allocations: 0 / 484.8 MB, free: 276 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.252e-05/0.1854, allocations: 15.98 kB / 484.8 MB, free: 260 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.1854, allocations: 0 / 484.8 MB, free: 260 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.961e-05/0.1854, allocations: 7.938 kB / 484.8 MB, free: 252 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.858e-06/0.1855, allocations: 3.938 kB / 484.8 MB, free: 248 kB / 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 (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.0001042/0.1856, allocations: 117.8 kB / 484.9 MB, free: 120 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.32e-05/0.1856, allocations: 15.84 kB / 484.9 MB, free: 104 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003229/0.186, allocations: 93.91 kB / 485 MB, free: 4 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.186, allocations: 0 / 485 MB, free: 4 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.186, allocations: 0 / 485 MB, free: 4 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.186, allocations: 0 / 485 MB, free: 4 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006076/0.1866, allocations: 346.4 kB / 485.4 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.1867, allocations: 4 kB / 485.4 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.874e-05/0.1868, allocations: 15.94 kB / 485.4 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.1868, allocations: 0 / 485.4 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.1868, allocations: 4 kB / 485.4 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.042e-06/0.1868, allocations: 7.922 kB / 485.4 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1868, allocations: 0 / 485.4 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003055/0.1871, allocations: 171.4 kB / 485.6 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.655e-05/0.1872, allocations: 85.36 kB / 485.7 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.26e-05/0.1872, allocations: 0 / 485.7 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001235/0.1874, allocations: 15.92 kB / 485.7 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.497e-05/0.1874, allocations: 0 / 485.7 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.541e-06/0.1874, allocations: 4 kB / 485.7 MB, free: 15.27 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001237/0.1876, allocations: 121.5 kB / 485.8 MB, free: 15.16 MB / 366.1 MB Notification: Performance of sort global known variables: time 4.41e-07/0.1876, allocations: 0 / 485.8 MB, free: 15.16 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004623/0.188, allocations: 19.91 kB / 485.8 MB, free: 15.14 MB / 366.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.001967/0.19, allocations: 1.007 MB / 486.8 MB, free: 14.25 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002638/0.1903, allocations: 47.97 kB / 486.9 MB, free: 14.2 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.1903, allocations: 7.938 kB / 486.9 MB, free: 14.19 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.966e-05/0.1904, allocations: 23.98 kB / 486.9 MB, free: 14.17 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005324/0.191, allocations: 19.92 kB / 486.9 MB, free: 14.15 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002216/0.1932, allocations: 1.426 MB / 488.3 MB, free: 12.64 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002995/0.1935, allocations: 0.6962 MB / 489 MB, free: 11.91 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.712e-05/0.1936, allocations: 8.25 kB / 489.1 MB, free: 11.91 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.54e-05/0.1937, allocations: 27.36 kB / 489.1 MB, free: 11.88 MB / 366.1 MB Notification: Performance of SimCode: time 2.124e-06/0.1937, allocations: 0 / 489.1 MB, free: 11.88 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02249/0.2162, allocations: 2.456 MB / 491.5 MB, free: 9.477 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.512/7.728, allocations: 7.641 kB / 491.5 MB, free: 9.473 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test2.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches