Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.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.001659/0.001659, allocations: 123.4 kB / 17.79 MB, free: 5.266 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.001746/0.001746, allocations: 204.3 kB / 20.74 MB, free: 2.316 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.645/1.645, allocations: 230.6 MB / 254.1 MB, free: 15.08 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.2453/0.2453, allocations: 44.9 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.CombiTable2Ds.Test24,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test24,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test24",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.002977/0.002977, allocations: 67.89 kB / 499.6 MB, free: 11.67 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1544/0.1574, allocations: 65.42 MB / 0.5518 GB, free: 10.12 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test24): time 0.003461/0.1609, allocations: 1.681 MB / 0.5534 GB, free: 8.43 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001078/0.1619, allocations: 0.5571 MB / 0.554 GB, free: 7.867 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.501e-05/0.162, allocations: 4 kB / 0.554 GB, free: 7.863 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003505/0.1623, allocations: 51.8 kB / 0.554 GB, free: 7.812 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000299/0.1626, allocations: 83.61 kB / 0.5541 GB, free: 7.73 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003652/0.163, allocations: 135.1 kB / 0.5542 GB, free: 7.602 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001608/0.1632, allocations: 83.77 kB / 0.5543 GB, free: 7.52 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.1633, allocations: 24.42 kB / 0.5543 GB, free: 7.492 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.802e-05/0.1634, allocations: 35.86 kB / 0.5544 GB, free: 7.457 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001215/0.1635, allocations: 47.75 kB / 0.5544 GB, free: 7.41 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.355e-05/0.1635, allocations: 4 kB / 0.5544 GB, free: 7.406 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001063/0.1636, allocations: 47.98 kB / 0.5545 GB, free: 7.359 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.847e-05/0.1637, allocations: 27.86 kB / 0.5545 GB, free: 7.332 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.586e-05/0.1637, allocations: 31.8 kB / 0.5545 GB, free: 7.301 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002412/0.164, allocations: 119.4 kB / 0.5546 GB, free: 7.184 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.164, allocations: 0 / 0.5546 GB, free: 7.184 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.164, allocations: 0 / 0.5546 GB, free: 7.184 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.232e-06/0.164, allocations: 4 kB / 0.5546 GB, free: 7.18 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007515/0.1647, allocations: 426.7 kB / 0.555 GB, free: 6.715 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.1648, allocations: 8.031 kB / 0.5551 GB, free: 6.707 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.78e-05/0.1648, allocations: 34.75 kB / 0.5551 GB, free: 6.664 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.912e-05/0.1648, allocations: 8.891 kB / 0.5551 GB, free: 6.656 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002442/0.1651, allocations: 203.4 kB / 0.5553 GB, free: 6.422 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.626e-06/0.1651, allocations: 4.375 kB / 0.5553 GB, free: 6.418 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.876e-05/0.1651, allocations: 8.328 kB / 0.5553 GB, free: 6.41 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001934/0.1653, allocations: 73.55 kB / 0.5554 GB, free: 6.332 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.1653, allocations: 0 / 0.5554 GB, free: 6.332 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.1653, allocations: 4 kB / 0.5554 GB, free: 6.328 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.1654, allocations: 4 kB / 0.5554 GB, free: 6.324 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001406/0.1655, allocations: 31.97 kB / 0.5554 GB, free: 6.293 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004813/0.166, allocations: 312.7 kB / 0.5557 GB, free: 5.938 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002594/0.1662, allocations: 50.56 kB / 0.5558 GB, free: 5.879 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.977e-05/0.1663, allocations: 24.97 kB / 0.5558 GB, free: 5.852 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.321e-05/0.1663, allocations: 7.984 kB / 0.5558 GB, free: 5.844 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.502e-05/0.1664, allocations: 34.56 kB / 0.5558 GB, free: 5.801 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.233e-06/0.1664, allocations: 0 / 0.5558 GB, free: 5.801 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.001655/0.168, allocations: 400.9 kB / 0.5562 GB, free: 5.402 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.326e-05/0.1681, allocations: 51.41 kB / 0.5563 GB, free: 5.34 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002125/0.1683, allocations: 184.4 kB / 0.5564 GB, free: 5.148 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.054e-05/0.1683, allocations: 25.7 kB / 0.5565 GB, free: 5.117 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.138e-05/0.1684, allocations: 108.1 kB / 0.5566 GB, free: 5.008 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.501e-05/0.1684, allocations: 43.69 kB / 0.5566 GB, free: 4.965 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.173e-05/0.1685, allocations: 21.72 kB / 0.5566 GB, free: 4.938 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001511/0.1686, allocations: 322.8 kB / 0.5569 GB, free: 4.613 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001321/0.1688, allocations: 39.97 kB / 0.557 GB, free: 4.574 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001238/0.1689, allocations: 43.95 kB / 0.557 GB, free: 4.531 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000261/0.1691, allocations: 104.8 kB / 0.5571 GB, free: 4.426 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.1691, allocations: 0 / 0.5571 GB, free: 4.426 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004091/0.1696, allocations: 149.5 kB / 0.5572 GB, free: 4.273 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.1696, allocations: 4 kB / 0.5573 GB, free: 4.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.176e-05/0.1696, allocations: 3.938 kB / 0.5573 GB, free: 4.266 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.17e-05/0.1696, allocations: 3.938 kB / 0.5573 GB, free: 4.262 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001236/0.1697, allocations: 28.55 kB / 0.5573 GB, free: 4.234 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.1697, allocations: 0 / 0.5573 GB, free: 4.234 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.477e-05/0.1698, allocations: 15.98 kB / 0.5573 GB, free: 4.219 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.134e-05/0.1698, allocations: 4 kB / 0.5573 GB, free: 4.215 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 (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.0001139/0.1699, allocations: 126.7 kB / 0.5574 GB, free: 4.082 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.902e-05/0.17, allocations: 15.84 kB / 0.5574 GB, free: 4.066 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004139/0.1704, allocations: 170.6 kB / 0.5576 GB, free: 3.895 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/0.1704, allocations: 3.938 kB / 0.5576 GB, free: 3.891 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.1704, allocations: 0 / 0.5576 GB, free: 3.891 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.002e-06/0.1704, allocations: 4 kB / 0.5576 GB, free: 3.887 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007073/0.1711, allocations: 476 kB / 0.5581 GB, free: 3.359 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.1711, allocations: 4 kB / 0.5581 GB, free: 3.355 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001055/0.1712, allocations: 23.98 kB / 0.5581 GB, free: 3.332 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.1712, allocations: 0 / 0.5581 GB, free: 3.332 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.401e-05/0.1712, allocations: 8 kB / 0.5581 GB, free: 3.324 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.1713, allocations: 3.984 kB / 0.5581 GB, free: 3.32 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.157e-06/0.1713, allocations: 3.938 kB / 0.5581 GB, free: 3.316 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004296/0.1717, allocations: 253.1 kB / 0.5583 GB, free: 3.047 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.572e-05/0.1718, allocations: 97.03 kB / 0.5584 GB, free: 2.934 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.957e-05/0.1718, allocations: 0 / 0.5584 GB, free: 2.934 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.1719, allocations: 11.98 kB / 0.5585 GB, free: 2.922 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.149e-05/0.172, allocations: 11.98 kB / 0.5585 GB, free: 2.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.608e-06/0.172, allocations: 8 kB / 0.5585 GB, free: 2.902 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001289/0.1721, allocations: 139.2 kB / 0.5586 GB, free: 2.766 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1721, allocations: 0 / 0.5586 GB, free: 2.766 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002717/0.1724, allocations: 27.92 kB / 0.5586 GB, free: 2.738 MB / 414.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.002437/0.1748, allocations: 1.152 MB / 0.5598 GB, free: 1.742 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003505/0.1752, allocations: 99.88 kB / 0.5599 GB, free: 1.645 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1752, allocations: 0 / 0.5599 GB, free: 1.645 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001477/0.1753, allocations: 55.89 kB / 0.5599 GB, free: 1.59 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003899/0.1757, allocations: 18.81 kB / 0.5599 GB, free: 1.574 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002556/0.1782, allocations: 1.805 MB / 0.5617 GB, free: 15.68 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003439/0.1786, allocations: 0.7041 MB / 0.5624 GB, free: 14.95 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.802e-05/0.1787, allocations: 20.53 kB / 0.5624 GB, free: 14.93 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.038e-05/0.1787, allocations: 39.42 kB / 0.5624 GB, free: 14.89 MB / 430.1 MB Notification: Performance of SimCode: time 2.345e-06/0.1787, allocations: 0 / 0.5624 GB, free: 14.89 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02666/0.2054, allocations: 3.348 MB / 0.5657 GB, free: 11.59 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.154/8.36, allocations: 19.16 kB / 0.5657 GB, free: 11.57 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test24.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24_res.csv. Warning: Get data of variable t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24_res.csv failed! Error: Could not read variable clock1.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24_res.csv. Warning: Get data of variable clock1.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24_res.csv failed! Error: Could not read variable clock2.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24_res.csv. Warning: Get data of variable clock2.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24_res.csv failed! Error: Could not read variable d2_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24_res.csv. Warning: Get data of variable d2_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.885094984434545]