Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001876/0.001876, allocations: 131.4 kB / 17.8 MB, free: 5.219 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002292/0.002292, allocations: 211.6 kB / 20.75 MB, free: 2.27 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.609/1.609, allocations: 230.5 MB / 254 MB, free: 15.17 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2724/0.2724, allocations: 46.91 MB / 357 MB, free: 10.2 MB / 286.1 MB " [Timeout remaining time 180] 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.OneSidedDerivative2D,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_OneSidedDerivative2D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_OneSidedDerivative2D",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002564/0.002564, allocations: 84.16 kB / 0.491 GB, free: 7.691 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1452/0.1477, allocations: 66.04 MB / 0.5555 GB, free: 5.527 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D): time 0.003989/0.1517, allocations: 2.027 MB / 0.5575 GB, free: 3.484 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001661/0.1534, allocations: 0.8061 MB / 0.5582 GB, free: 2.676 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001694/0.1535, allocations: 0 / 0.5582 GB, free: 2.676 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005179/0.1541, allocations: 179.4 kB / 0.5584 GB, free: 2.5 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006321/0.1547, allocations: 215.1 kB / 0.5586 GB, free: 2.289 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001009/0.1557, allocations: 424.8 kB / 0.559 GB, free: 1.887 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005142/0.1562, allocations: 303 kB / 0.5593 GB, free: 1.59 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001679/0.1564, allocations: 44.7 kB / 0.5594 GB, free: 1.547 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001696/0.1565, allocations: 135.5 kB / 0.5595 GB, free: 1.414 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002346/0.1568, allocations: 171.3 kB / 0.5596 GB, free: 1.246 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.269e-05/0.1568, allocations: 12 kB / 0.5597 GB, free: 1.234 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001267/0.1569, allocations: 51.97 kB / 0.5597 GB, free: 1.184 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002062/0.1571, allocations: 175.4 kB / 0.5599 GB, free: 1.012 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001832/0.1573, allocations: 194.4 kB / 0.5601 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000549/0.1579, allocations: 437.8 kB / 0.5605 GB, free: 400 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.1579, allocations: 0 / 0.5605 GB, free: 400 kB / 414.1 MB Notification: Performance of FrontEnd: time 2.514e-06/0.1579, allocations: 8 kB / 0.5605 GB, free: 392 kB / 414.1 MB Notification: Performance of Transformations before backend: time 8.386e-06/0.1579, allocations: 0 / 0.5605 GB, free: 392 kB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.001349/0.1592, allocations: 0.8976 MB / 0.5614 GB, free: 15.43 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/0.1593, allocations: 8.031 kB / 0.5614 GB, free: 15.42 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.932e-05/0.1594, allocations: 42.73 kB / 0.5614 GB, free: 15.37 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001103/0.1595, allocations: 64.52 kB / 0.5615 GB, free: 15.31 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006922/0.1602, allocations: 0.5243 MB / 0.562 GB, free: 14.74 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/0.1602, allocations: 12.38 kB / 0.562 GB, free: 14.73 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.178e-05/0.1602, allocations: 8.328 kB / 0.562 GB, free: 14.72 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004428/0.1606, allocations: 155.9 kB / 0.5622 GB, free: 14.56 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.827e-05/0.1607, allocations: 7.938 kB / 0.5622 GB, free: 14.55 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.763e-05/0.1607, allocations: 4 kB / 0.5622 GB, free: 14.55 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-06/0.1607, allocations: 7.938 kB / 0.5622 GB, free: 14.54 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005051/0.1612, allocations: 139.8 kB / 0.5623 GB, free: 14.4 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00112/0.1623, allocations: 0.7425 MB / 0.563 GB, free: 13.61 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003954/0.1627, allocations: 129.4 kB / 0.5632 GB, free: 13.46 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002554/0.163, allocations: 77.72 kB / 0.5632 GB, free: 13.38 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.928e-05/0.163, allocations: 7.938 kB / 0.5632 GB, free: 13.37 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.315e-05/0.163, allocations: 34.56 kB / 0.5633 GB, free: 13.33 MB / 430.1 MB Notification: Performance of pre-optimization done (n=11): time 1.503e-06/0.163, allocations: 0 / 0.5633 GB, free: 13.33 MB / 430.1 MB Notification: Performance of matching and sorting (n=18): time 0.002814/0.1659, allocations: 0.8269 MB / 0.5641 GB, free: 12.49 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.154e-05/0.1659, allocations: 81.11 kB / 0.5642 GB, free: 12.39 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001351/0.1673, allocations: 1.082 MB / 0.5652 GB, free: 11.3 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.728e-05/0.1673, allocations: 25.7 kB / 0.5652 GB, free: 11.27 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003085/0.1676, allocations: 296.3 kB / 0.5655 GB, free: 10.97 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.184e-05/0.1677, allocations: 55.55 kB / 0.5656 GB, free: 10.92 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.516e-05/0.1678, allocations: 29.7 kB / 0.5656 GB, free: 10.88 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000149/0.1679, allocations: 314 kB / 0.5659 GB, free: 10.57 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004743/0.1684, allocations: 123.8 kB / 0.566 GB, free: 10.45 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000461/0.1688, allocations: 133.6 kB / 0.5661 GB, free: 10.31 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001129/0.17, allocations: 265.5 kB / 0.5664 GB, free: 10.05 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.17, allocations: 0 / 0.5664 GB, free: 10.05 MB / 430.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001091/0.1711, allocations: 357 kB / 0.5667 GB, free: 9.691 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.887e-05/0.1711, allocations: 7.938 kB / 0.5667 GB, free: 9.684 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.1711, allocations: 4.188 kB / 0.5667 GB, free: 9.68 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.873e-05/0.1711, allocations: 3.984 kB / 0.5668 GB, free: 9.676 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003558/0.1715, allocations: 63.88 kB / 0.5668 GB, free: 9.613 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.1715, allocations: 0 / 0.5668 GB, free: 9.613 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002915/0.1718, allocations: 47.89 kB / 0.5669 GB, free: 9.566 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.871e-05/0.1718, allocations: 7.984 kB / 0.5669 GB, free: 9.559 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (18): * Single equations (assignments): 18 * 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.0002567/0.172, allocations: 225.7 kB / 0.5671 GB, free: 9.328 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001308/0.1722, allocations: 75.45 kB / 0.5672 GB, free: 9.254 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001237/0.1734, allocations: 391.5 kB / 0.5675 GB, free: 8.863 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.1734, allocations: 4 kB / 0.5675 GB, free: 8.859 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.1734, allocations: 0 / 0.5675 GB, free: 8.859 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.1734, allocations: 4 kB / 0.5675 GB, free: 8.855 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001857/0.1753, allocations: 0.9618 MB / 0.5685 GB, free: 7.836 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/0.1753, allocations: 4 kB / 0.5685 GB, free: 7.832 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003174/0.1756, allocations: 63.94 kB / 0.5685 GB, free: 7.77 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.651e-06/0.1756, allocations: 4 kB / 0.5685 GB, free: 7.766 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.672e-05/0.1756, allocations: 7.938 kB / 0.5686 GB, free: 7.758 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.1756, allocations: 8 kB / 0.5686 GB, free: 7.75 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1756, allocations: 0 / 0.5686 GB, free: 7.75 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001118/0.1767, allocations: 0.5193 MB / 0.5691 GB, free: 7.215 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001832/0.1769, allocations: 168.6 kB / 0.5692 GB, free: 7.031 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.174e-05/0.177, allocations: 4 kB / 0.5692 GB, free: 7.027 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003175/0.1773, allocations: 35.94 kB / 0.5693 GB, free: 6.992 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001055/0.1774, allocations: 23.98 kB / 0.5693 GB, free: 6.969 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.786e-05/0.1774, allocations: 11.94 kB / 0.5693 GB, free: 6.957 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00095/0.1784, allocations: 0.7879 MB / 0.5701 GB, free: 6.176 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1784, allocations: 4 kB / 0.5701 GB, free: 6.172 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003752/0.1788, allocations: 59.94 kB / 0.5701 GB, free: 6.113 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (18): * Single equations (assignments): 18 * 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.002927/0.1817, allocations: 1.357 MB / 0.5715 GB, free: 4.863 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001072/0.1828, allocations: 279.6 kB / 0.5717 GB, free: 4.59 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.1828, allocations: 0 / 0.5717 GB, free: 4.59 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005293/0.1833, allocations: 143.8 kB / 0.5719 GB, free: 4.449 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009238/0.1842, allocations: 93.91 kB / 0.5719 GB, free: 4.359 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01071/0.1949, allocations: 6.058 MB / 0.5779 GB, free: 14.21 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000651/0.1956, allocations: 0.8893 MB / 0.5787 GB, free: 13.29 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002561/0.1958, allocations: 95.59 kB / 0.5788 GB, free: 13.2 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002952/0.1961, allocations: 187.4 kB / 0.579 GB, free: 13.01 MB / 446.1 MB Notification: Performance of SimCode: time 9.81e-07/0.1961, allocations: 0 / 0.579 GB, free: 13.01 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03827/0.2344, allocations: 11.58 MB / 0.5903 GB, free: 1.516 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.678/8.913, allocations: 8.062 kB / 0.5903 GB, free: 1.508 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D_res.csv --start-time -1 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0009994 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_OneSidedDerivative2D.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/OneSidedDerivative2D/OneSidedDerivative2D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Time in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D_res.csv. Warning: Get data of variable Time from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D_res.csv failed! Error: Could not read variable der2.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D_res.csv. Warning: Get data of variable der2.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D_res.csv failed! Error: Could not read variable der4.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D_res.csv. Warning: Get data of variable der4.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D_res.csv failed! Error: Could not read variable der1.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D_res.csv. Warning: Get data of variable der1.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D_res.csv failed! Error: Could not read variable der3.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D_res.csv. Warning: Get data of variable der3.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.649690810940228]