Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001801/0.001801, allocations: 123 kB / 17.79 MB, free: 5.227 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00223/0.00223, allocations: 207.3 kB / 20.75 MB, free: 2.273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.629/1.629, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2488/0.2488, allocations: 44.91 MB / 355.1 MB, free: 12.34 MB / 286.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002625/0.002625, allocations: 75.88 kB / 499.6 MB, free: 11.69 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1556/0.1583, allocations: 65.42 MB / 0.5518 GB, free: 10.13 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.003189/0.1615, allocations: 1.599 MB / 0.5533 GB, free: 8.523 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001089/0.1625, allocations: 0.5338 MB / 0.5539 GB, free: 7.984 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.927e-05/0.1626, allocations: 0 / 0.5539 GB, free: 7.984 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002315/0.1628, allocations: 23.86 kB / 0.5539 GB, free: 7.961 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00032/0.1632, allocations: 87.61 kB / 0.554 GB, free: 7.875 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002735/0.1634, allocations: 87.7 kB / 0.5541 GB, free: 7.789 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001651/0.1636, allocations: 71.77 kB / 0.5541 GB, free: 7.719 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001165/0.1637, allocations: 11.92 kB / 0.5541 GB, free: 7.707 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.872e-05/0.1638, allocations: 19.92 kB / 0.5541 GB, free: 7.688 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.23e-05/0.1638, allocations: 23.86 kB / 0.5542 GB, free: 7.664 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.373e-05/0.1639, allocations: 0 / 0.5542 GB, free: 7.664 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.572e-05/0.1639, allocations: 35.98 kB / 0.5542 GB, free: 7.629 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.149e-05/0.164, allocations: 15.92 kB / 0.5542 GB, free: 7.613 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.059e-05/0.164, allocations: 23.81 kB / 0.5542 GB, free: 7.59 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001979/0.1642, allocations: 79.66 kB / 0.5543 GB, free: 7.512 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.1642, allocations: 0 / 0.5543 GB, free: 7.512 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1642, allocations: 0 / 0.5543 GB, free: 7.512 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.1642, allocations: 0 / 0.5543 GB, free: 7.512 MB / 414.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.0006852/0.1649, allocations: 386.9 kB / 0.5547 GB, free: 7.086 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.423e-05/0.165, allocations: 8.031 kB / 0.5547 GB, free: 7.078 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.577e-05/0.1651, allocations: 42.73 kB / 0.5547 GB, free: 7.027 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.572e-05/0.1651, allocations: 8.891 kB / 0.5547 GB, free: 7.02 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002811/0.1654, allocations: 186 kB / 0.5549 GB, free: 6.801 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.423e-05/0.1654, allocations: 384 / 0.5549 GB, free: 6.801 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.831e-05/0.1654, allocations: 4.375 kB / 0.5549 GB, free: 6.797 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001972/0.1656, allocations: 57.48 kB / 0.555 GB, free: 6.734 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/0.1656, allocations: 0 / 0.555 GB, free: 6.734 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.1657, allocations: 4 kB / 0.555 GB, free: 6.73 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.1657, allocations: 4 kB / 0.555 GB, free: 6.727 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000108/0.1658, allocations: 19.98 kB / 0.555 GB, free: 6.707 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004999/0.1663, allocations: 280.9 kB / 0.5553 GB, free: 6.383 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002655/0.1665, allocations: 46.44 kB / 0.5553 GB, free: 6.328 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.871e-05/0.1666, allocations: 16.94 kB / 0.5553 GB, free: 6.309 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.074e-05/0.1666, allocations: 0 / 0.5553 GB, free: 6.309 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.004e-05/0.1667, allocations: 34.56 kB / 0.5554 GB, free: 6.266 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.1667, allocations: 4 kB / 0.5554 GB, free: 6.262 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006334/0.1673, allocations: 141.4 kB / 0.5555 GB, free: 6.117 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.35e-05/0.1674, allocations: 59.39 kB / 0.5556 GB, free: 6.047 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001893/0.1676, allocations: 146.2 kB / 0.5557 GB, free: 5.891 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.203e-05/0.1676, allocations: 25.7 kB / 0.5557 GB, free: 5.859 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.987e-05/0.1677, allocations: 100.1 kB / 0.5558 GB, free: 5.758 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.079e-05/0.1677, allocations: 23.8 kB / 0.5558 GB, free: 5.734 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.223e-05/0.1677, allocations: 17.72 kB / 0.5559 GB, free: 5.711 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.1679, allocations: 322.8 kB / 0.5562 GB, free: 5.387 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.298e-05/0.168, allocations: 19.98 kB / 0.5562 GB, free: 5.367 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.129e-05/0.168, allocations: 19.98 kB / 0.5562 GB, free: 5.348 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001362/0.1682, allocations: 44.77 kB / 0.5563 GB, free: 5.301 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.1682, allocations: 4 kB / 0.5563 GB, free: 5.297 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001846/0.1683, allocations: 81.62 kB / 0.5563 GB, free: 5.211 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.1684, allocations: 4 kB / 0.5563 GB, free: 5.207 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.1684, allocations: 4 kB / 0.5563 GB, free: 5.203 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.1684, allocations: 0 / 0.5563 GB, free: 5.203 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.558e-05/0.1684, allocations: 11.98 kB / 0.5564 GB, free: 5.191 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.1685, allocations: 0 / 0.5564 GB, free: 5.191 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.259e-05/0.1685, allocations: 7.984 kB / 0.5564 GB, free: 5.184 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.668e-06/0.1685, allocations: 7.938 kB / 0.5564 GB, free: 5.176 MB / 414.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 9.937e-05/0.1686, allocations: 120 kB / 0.5565 GB, free: 5.051 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.608e-05/0.1686, allocations: 7.953 kB / 0.5565 GB, free: 5.043 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002472/0.1689, allocations: 89.91 kB / 0.5566 GB, free: 4.945 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.1689, allocations: 4.281 kB / 0.5566 GB, free: 4.941 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.1689, allocations: 4.25 kB / 0.5566 GB, free: 4.938 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.1689, allocations: 0 / 0.5566 GB, free: 4.938 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000465/0.1694, allocations: 358.4 kB / 0.5569 GB, free: 4.531 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1694, allocations: 0 / 0.5569 GB, free: 4.531 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.76e-05/0.1694, allocations: 11.98 kB / 0.5569 GB, free: 4.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.1694, allocations: 0 / 0.5569 GB, free: 4.52 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.224e-06/0.1694, allocations: 4 kB / 0.5569 GB, free: 4.516 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.626e-06/0.1694, allocations: 3.938 kB / 0.5569 GB, free: 4.512 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1694, allocations: 0 / 0.5569 GB, free: 4.512 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002448/0.1697, allocations: 179.5 kB / 0.5571 GB, free: 4.32 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.092e-05/0.1697, allocations: 89.06 kB / 0.5572 GB, free: 4.215 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.479e-05/0.1698, allocations: 0 / 0.5572 GB, free: 4.215 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.1e-05/0.1698, allocations: 7.938 kB / 0.5572 GB, free: 4.207 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.348e-05/0.1699, allocations: 7.922 kB / 0.5572 GB, free: 4.199 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.957e-06/0.1699, allocations: 0 / 0.5572 GB, free: 4.199 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000116/0.17, allocations: 120.8 kB / 0.5573 GB, free: 4.082 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.17, allocations: 0 / 0.5573 GB, free: 4.082 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002443/0.1702, allocations: 19.98 kB / 0.5574 GB, free: 4.062 MB / 414.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.001981/0.1722, allocations: 1.007 MB / 0.5583 GB, free: 3.191 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002174/0.1724, allocations: 55.89 kB / 0.5584 GB, free: 3.137 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1724, allocations: 0 / 0.5584 GB, free: 3.137 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.495e-05/0.1725, allocations: 23.98 kB / 0.5584 GB, free: 3.113 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003861/0.1729, allocations: 21.12 kB / 0.5584 GB, free: 3.094 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001846/0.1747, allocations: 1.44 MB / 0.5598 GB, free: 1.57 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003901/0.1751, allocations: 0.6963 MB / 0.5605 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.761e-05/0.1752, allocations: 11.84 kB / 0.5605 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.388e-05/0.1752, allocations: 27.42 kB / 0.5606 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1752, allocations: 0 / 0.5606 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02631/0.2015, allocations: 2.56 MB / 0.5631 GB, free: 14.29 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.09/8.292, allocations: 6.75 kB / 0.5631 GB, free: 14.28 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004998 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test1.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.797185915987939]