Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.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.001531/0.001531, allocations: 124.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.001649/0.001649, allocations: 203.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.62/1.62, 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.2357/0.2357, allocations: 44.9 MB / 355.1 MB, free: 12.32 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.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test20",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.002918/0.002918, allocations: 75.88 kB / 499.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1555/0.1584, allocations: 65.42 MB / 0.5518 GB, free: 10.12 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test20): time 0.003542/0.162, allocations: 1.61 MB / 0.5533 GB, free: 8.496 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002245/0.1642, allocations: 1.164 MB / 0.5545 GB, free: 7.324 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001039/0.1643, allocations: 0 / 0.5545 GB, free: 7.324 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000297/0.1646, allocations: 19.86 kB / 0.5545 GB, free: 7.305 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005143/0.1651, allocations: 87.61 kB / 0.5546 GB, free: 7.219 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000425/0.1655, allocations: 95.56 kB / 0.5547 GB, free: 7.125 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002316/0.1658, allocations: 71.77 kB / 0.5547 GB, free: 7.055 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001339/0.1659, allocations: 11.94 kB / 0.5548 GB, free: 7.043 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.455e-05/0.166, allocations: 31.91 kB / 0.5548 GB, free: 7.012 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002242/0.1662, allocations: 35.84 kB / 0.5548 GB, free: 6.977 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.274e-05/0.1662, allocations: 4 kB / 0.5548 GB, free: 6.973 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002616/0.1665, allocations: 99.88 kB / 0.5549 GB, free: 6.875 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.545e-05/0.1666, allocations: 15.92 kB / 0.5549 GB, free: 6.859 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.683e-05/0.1666, allocations: 23.86 kB / 0.555 GB, free: 6.836 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00039/0.167, allocations: 131.5 kB / 0.5551 GB, free: 6.707 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.167, allocations: 0 / 0.5551 GB, free: 6.707 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.167, allocations: 3.938 kB / 0.5551 GB, free: 6.703 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.232e-05/0.167, allocations: 4 kB / 0.5551 GB, free: 6.699 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.0006821/0.1677, allocations: 406.8 kB / 0.5555 GB, free: 6.254 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.85e-05/0.1678, allocations: 8.031 kB / 0.5555 GB, free: 6.246 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.586e-05/0.1678, allocations: 34.73 kB / 0.5555 GB, free: 6.203 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.938e-05/0.1679, allocations: 8.891 kB / 0.5555 GB, free: 6.195 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002749/0.1681, allocations: 200.2 kB / 0.5557 GB, free: 5.961 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.475e-05/0.1681, allocations: 4.375 kB / 0.5557 GB, free: 5.957 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.256e-05/0.1682, allocations: 384 / 0.5557 GB, free: 5.957 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001715/0.1683, allocations: 63.28 kB / 0.5558 GB, free: 5.883 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.1684, allocations: 4 kB / 0.5558 GB, free: 5.879 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.359e-05/0.1684, allocations: 8 kB / 0.5558 GB, free: 5.871 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.1684, allocations: 0 / 0.5558 GB, free: 5.871 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001005/0.1685, allocations: 23.97 kB / 0.5558 GB, free: 5.848 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000463/0.1689, allocations: 272.9 kB / 0.5561 GB, free: 5.531 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002384/0.1692, allocations: 46.5 kB / 0.5561 GB, free: 5.477 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.557e-05/0.1692, allocations: 16.94 kB / 0.5561 GB, free: 5.457 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.259e-05/0.1693, allocations: 0 / 0.5561 GB, free: 5.457 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.961e-05/0.1693, allocations: 34.56 kB / 0.5562 GB, free: 5.414 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.1693, allocations: 0 / 0.5562 GB, free: 5.414 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006727/0.17, allocations: 141.4 kB / 0.5563 GB, free: 5.27 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.201e-05/0.17, allocations: 81.11 kB / 0.5564 GB, free: 5.172 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002035/0.1702, allocations: 145.8 kB / 0.5565 GB, free: 5.02 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.963e-05/0.1703, allocations: 25.7 kB / 0.5565 GB, free: 4.988 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.369e-05/0.1703, allocations: 92.14 kB / 0.5566 GB, free: 4.895 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.456e-05/0.1704, allocations: 23.84 kB / 0.5567 GB, free: 4.871 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.563e-05/0.1704, allocations: 17.72 kB / 0.5567 GB, free: 4.848 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.1706, allocations: 318.8 kB / 0.557 GB, free: 4.527 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.77e-05/0.1706, allocations: 23.98 kB / 0.557 GB, free: 4.504 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.088e-05/0.1707, allocations: 29.7 kB / 0.557 GB, free: 4.469 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001506/0.1709, allocations: 56.95 kB / 0.5571 GB, free: 4.41 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.1709, allocations: 3.938 kB / 0.5571 GB, free: 4.406 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002214/0.1711, allocations: 77.62 kB / 0.5572 GB, free: 4.324 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.1711, allocations: 8.031 kB / 0.5572 GB, free: 4.316 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.1711, allocations: 0 / 0.5572 GB, free: 4.316 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.1711, allocations: 3.938 kB / 0.5572 GB, free: 4.312 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.841e-05/0.1712, allocations: 15.98 kB / 0.5572 GB, free: 4.297 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.1712, allocations: 0 / 0.5572 GB, free: 4.297 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.824e-05/0.1713, allocations: 15.88 kB / 0.5572 GB, free: 4.281 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.1713, allocations: 0 / 0.5572 GB, free: 4.281 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 0.0001184/0.1714, allocations: 120 kB / 0.5573 GB, free: 4.156 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.609e-05/0.1714, allocations: 8.234 kB / 0.5573 GB, free: 4.148 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000282/0.1717, allocations: 93.91 kB / 0.5574 GB, free: 4.047 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.1717, allocations: 3.984 kB / 0.5574 GB, free: 4.043 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.1717, allocations: 0 / 0.5574 GB, free: 4.043 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.368e-06/0.1718, allocations: 3.938 kB / 0.5574 GB, free: 4.039 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005323/0.1723, allocations: 354.5 kB / 0.5578 GB, free: 3.637 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.1723, allocations: 0 / 0.5578 GB, free: 3.637 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.446e-05/0.1724, allocations: 16 kB / 0.5578 GB, free: 3.621 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.1724, allocations: 0 / 0.5578 GB, free: 3.621 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/0.1724, allocations: 7.938 kB / 0.5578 GB, free: 3.613 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.1724, allocations: 0 / 0.5578 GB, free: 3.613 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.1724, allocations: 3.984 kB / 0.5578 GB, free: 3.609 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002737/0.1727, allocations: 175.7 kB / 0.558 GB, free: 3.422 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.391e-05/0.1727, allocations: 85.06 kB / 0.558 GB, free: 3.32 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.295e-05/0.1727, allocations: 11.92 kB / 0.558 GB, free: 3.309 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.657e-05/0.1728, allocations: 4 kB / 0.558 GB, free: 3.305 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.565e-05/0.1729, allocations: 0 / 0.558 GB, free: 3.305 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.97e-06/0.1729, allocations: 4 kB / 0.5581 GB, free: 3.301 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001191/0.173, allocations: 121.5 kB / 0.5582 GB, free: 3.184 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.173, allocations: 0 / 0.5582 GB, free: 3.184 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003103/0.1733, allocations: 39.86 kB / 0.5582 GB, free: 3.145 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.002377/0.1757, allocations: 1.098 MB / 0.5593 GB, free: 2.215 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000239/0.1759, allocations: 51.84 kB / 0.5593 GB, free: 2.164 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.1759, allocations: 0 / 0.5593 GB, free: 2.164 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.282e-05/0.176, allocations: 23.98 kB / 0.5594 GB, free: 2.141 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000446/0.1764, allocations: 18.8 kB / 0.5594 GB, free: 2.125 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00192/0.1784, allocations: 1.429 MB / 0.5608 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003675/0.1787, allocations: 0.6923 MB / 0.5614 GB, free: 15.89 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.033e-05/0.1788, allocations: 12.02 kB / 0.5615 GB, free: 15.88 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.278e-05/0.1789, allocations: 35.41 kB / 0.5615 GB, free: 15.85 MB / 430.1 MB Notification: Performance of SimCode: time 9.91e-07/0.1789, allocations: 0 / 0.5615 GB, free: 15.85 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03114/0.21, allocations: 3.24 MB / 0.5646 GB, free: 12.62 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.091/8.301, allocations: 4.938 kB / 0.5647 GB, free: 12.61 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.019992 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test20.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.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.Test20_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.708146802149713]