Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.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.CombiTable2Ds.Test3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001655/0.001655, allocations: 106 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001874/0.001874, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.469/1.469, allocations: 227.4 MB / 246.8 MB, free: 10.53 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2332/0.2332, allocations: 46.1 MB / 344.1 MB, free: 11.56 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002243/0.002244, allocations: 71.28 kB / 417.7 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1369/0.1391, allocations: 62.44 MB / 480.1 MB, free: 5.152 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test3): time 0.003839/0.143, allocations: 1.689 MB / 481.8 MB, free: 3.449 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001035/0.1441, allocations: 0.5572 MB / 482.4 MB, free: 2.887 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.536e-05/0.1442, allocations: 0 / 482.4 MB, free: 2.887 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005822/0.1449, allocations: 447.2 kB / 482.8 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005613/0.1454, allocations: 295.3 kB / 483.1 MB, free: 2.16 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000414/0.1459, allocations: 143.3 kB / 483.2 MB, free: 2.023 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002327/0.1461, allocations: 175.6 kB / 483.4 MB, free: 1.852 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.1462, allocations: 24.22 kB / 483.4 MB, free: 1.824 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001544/0.1464, allocations: 111.7 kB / 483.5 MB, free: 1.715 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002361/0.1466, allocations: 219.6 kB / 483.8 MB, free: 1.5 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.306e-05/0.1467, allocations: 4 kB / 483.8 MB, free: 1.496 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001267/0.1468, allocations: 55.91 kB / 483.8 MB, free: 1.441 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001036/0.1469, allocations: 83.69 kB / 483.9 MB, free: 1.359 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.725e-05/0.147, allocations: 106.9 kB / 484 MB, free: 1.254 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003092/0.1473, allocations: 279.2 kB / 484.3 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.1473, allocations: 0 / 484.3 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1473, allocations: 0 / 484.3 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.274e-06/0.1474, allocations: 0 / 484.3 MB, free: 0.9805 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.0008381/0.1482, allocations: 0.6647 MB / 484.9 MB, free: 272 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.876e-05/0.1483, allocations: 8.031 kB / 484.9 MB, free: 264 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.733e-05/0.1483, allocations: 38.75 kB / 485 MB, free: 216 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.618e-05/0.1484, allocations: 40.38 kB / 485 MB, free: 176 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003766/0.1488, allocations: 304.1 kB / 485.3 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.1488, allocations: 8.375 kB / 485.3 MB, free: 15.83 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.167e-05/0.1489, allocations: 384 / 485.3 MB, free: 15.83 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001711/0.149, allocations: 65.61 kB / 485.4 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.1491, allocations: 0 / 485.4 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.317e-06/0.1491, allocations: 4 kB / 485.4 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.032e-06/0.1491, allocations: 3.984 kB / 485.4 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001467/0.1492, allocations: 47.89 kB / 485.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000477/0.1497, allocations: 400.6 kB / 485.8 MB, free: 15.26 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002385/0.15, allocations: 58.55 kB / 485.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.822e-05/0.1501, allocations: 29 kB / 485.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.098e-05/0.1501, allocations: 4 kB / 485.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.148e-05/0.1501, allocations: 34.56 kB / 486 MB, free: 15.12 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.272e-06/0.1501, allocations: 0 / 486 MB, free: 15.12 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.001531/0.1517, allocations: 483.9 kB / 486.4 MB, free: 14.64 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.311e-05/0.1517, allocations: 51.41 kB / 486.5 MB, free: 14.57 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007726/0.1525, allocations: 0.8776 MB / 487.4 MB, free: 13.69 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.954e-05/0.1525, allocations: 29.64 kB / 487.4 MB, free: 13.65 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001492/0.1527, allocations: 212.1 kB / 487.6 MB, free: 13.44 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.058e-05/0.1527, allocations: 43.39 kB / 487.6 MB, free: 13.4 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.578e-05/0.1528, allocations: 25.72 kB / 487.7 MB, free: 13.37 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001306/0.1529, allocations: 362.8 kB / 488 MB, free: 13 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001276/0.153, allocations: 39.97 kB / 488.1 MB, free: 12.96 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001201/0.1532, allocations: 47.91 kB / 488.1 MB, free: 12.92 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002624/0.1534, allocations: 104.8 kB / 488.2 MB, free: 12.81 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.1535, allocations: 0 / 488.2 MB, free: 12.81 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003426/0.1538, allocations: 173 kB / 488.4 MB, free: 12.64 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.1538, allocations: 6.344 kB / 488.4 MB, free: 12.63 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.1538, allocations: 0 / 488.4 MB, free: 12.63 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.1539, allocations: 3.938 kB / 488.4 MB, free: 12.63 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001184/0.154, allocations: 31.91 kB / 488.4 MB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/0.154, allocations: 8 kB / 488.4 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.807e-05/0.1541, allocations: 7.984 kB / 488.4 MB, free: 12.58 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.069e-05/0.1541, allocations: 4 kB / 488.4 MB, free: 12.58 MB / 366.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.0001744/0.1543, allocations: 213.8 kB / 488.6 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.376e-05/0.1544, allocations: 43.44 kB / 488.7 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004163/0.1548, allocations: 205.5 kB / 488.9 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.1548, allocations: 7.875 kB / 488.9 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.1548, allocations: 4 kB / 488.9 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.1548, allocations: 0 / 488.9 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007332/0.1556, allocations: 0.574 MB / 489.5 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.1556, allocations: 0 / 489.5 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001137/0.1557, allocations: 31.91 kB / 489.5 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.099e-06/0.1557, allocations: 4 kB / 489.5 MB, free: 11.42 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.786e-06/0.1557, allocations: 0 / 489.5 MB, free: 11.42 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.275e-06/0.1557, allocations: 0 / 489.5 MB, free: 11.42 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.1558, allocations: 4 kB / 489.5 MB, free: 11.42 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003699/0.1561, allocations: 288.6 kB / 489.8 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.251e-05/0.1562, allocations: 112.5 kB / 489.9 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.104e-05/0.1562, allocations: 4 kB / 489.9 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000118/0.1564, allocations: 11.98 kB / 489.9 MB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.845e-05/0.1564, allocations: 19.92 kB / 489.9 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.155e-06/0.1564, allocations: 4.125 kB / 489.9 MB, free: 10.95 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005579/0.157, allocations: 0.6551 MB / 490.6 MB, free: 10.29 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.157, allocations: 3.938 kB / 490.6 MB, free: 10.29 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002855/0.1573, allocations: 36 kB / 490.6 MB, free: 10.25 MB / 366.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.001569/0.1589, allocations: 1.164 MB / 491.8 MB, free: 9.223 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003214/0.1592, allocations: 111.8 kB / 491.9 MB, free: 9.113 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1592, allocations: 4 kB / 491.9 MB, free: 9.109 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001386/0.1594, allocations: 51.91 kB / 492 MB, free: 9.059 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004062/0.1598, allocations: 30.42 kB / 492 MB, free: 9.031 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0039/0.1637, allocations: 3.483 MB / 495.5 MB, free: 5.445 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004394/0.1642, allocations: 0.8299 MB / 496.3 MB, free: 4.59 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001012/0.1643, allocations: 16.55 kB / 496.3 MB, free: 4.574 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001359/0.1644, allocations: 115.4 kB / 496.4 MB, free: 4.461 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1644, allocations: 0 / 496.4 MB, free: 4.461 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02366/0.1881, allocations: 6.398 MB / 0.4911 GB, free: 14.11 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.708/7.897, allocations: 9.078 kB / 0.4911 GB, free: 14.1 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test3.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches