Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.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.001778/0.001778, allocations: 124.5 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.002204/0.002204, allocations: 211.2 kB / 20.75 MB, free: 2.27 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.644/1.644, 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.2407/0.2407, allocations: 44.9 MB / 355.1 MB, free: 12.33 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.Test32,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test32,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test32",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.002033/0.002033, allocations: 67.89 kB / 499.6 MB, free: 11.78 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1543/0.1563, allocations: 65.43 MB / 0.5518 GB, free: 10.23 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test32): time 0.003243/0.1596, allocations: 1.622 MB / 0.5534 GB, free: 8.594 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001165/0.1607, allocations: 0.5455 MB / 0.5539 GB, free: 8.043 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.57e-05/0.1608, allocations: 0 / 0.5539 GB, free: 8.043 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003325/0.1611, allocations: 111.7 kB / 0.554 GB, free: 7.934 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003187/0.1614, allocations: 119.6 kB / 0.5541 GB, free: 7.816 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002812/0.1617, allocations: 87.69 kB / 0.5542 GB, free: 7.73 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001867/0.1619, allocations: 99.73 kB / 0.5543 GB, free: 7.633 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001163/0.162, allocations: 16.22 kB / 0.5543 GB, free: 7.617 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.477e-05/0.1621, allocations: 43.89 kB / 0.5544 GB, free: 7.574 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001406/0.1622, allocations: 75.73 kB / 0.5544 GB, free: 7.5 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.461e-05/0.1623, allocations: 0 / 0.5544 GB, free: 7.5 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000105/0.1624, allocations: 47.97 kB / 0.5545 GB, free: 7.453 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.888e-05/0.1624, allocations: 23.86 kB / 0.5545 GB, free: 7.43 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.898e-05/0.1625, allocations: 35.69 kB / 0.5545 GB, free: 7.395 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002303/0.1627, allocations: 115.5 kB / 0.5546 GB, free: 7.281 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.1627, allocations: 0 / 0.5546 GB, free: 7.281 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1627, allocations: 0 / 0.5546 GB, free: 7.281 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.061e-06/0.1627, allocations: 4 kB / 0.5546 GB, free: 7.277 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005513/0.1633, allocations: 430.6 kB / 0.5551 GB, free: 6.809 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.1633, allocations: 12.03 kB / 0.5551 GB, free: 6.797 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.364e-05/0.1633, allocations: 34.75 kB / 0.5551 GB, free: 6.754 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.416e-05/0.1634, allocations: 12.89 kB / 0.5551 GB, free: 6.742 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002291/0.1636, allocations: 212.9 kB / 0.5553 GB, free: 6.492 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.051e-05/0.1636, allocations: 384 / 0.5553 GB, free: 6.492 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.97e-05/0.1636, allocations: 8.359 kB / 0.5553 GB, free: 6.484 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001502/0.1638, allocations: 57.62 kB / 0.5554 GB, free: 6.422 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.1638, allocations: 3.953 kB / 0.5554 GB, free: 6.418 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.356e-06/0.1638, allocations: 0 / 0.5554 GB, free: 6.418 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.288e-06/0.1638, allocations: 4 kB / 0.5554 GB, free: 6.414 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001146/0.1639, allocations: 27.95 kB / 0.5554 GB, free: 6.387 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004529/0.1644, allocations: 304.8 kB / 0.5557 GB, free: 6.039 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001116/0.1645, allocations: 42.56 kB / 0.5557 GB, free: 5.988 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.296e-05/0.1646, allocations: 16.94 kB / 0.5558 GB, free: 5.969 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.126e-05/0.1646, allocations: 0 / 0.5558 GB, free: 5.969 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.61e-05/0.1646, allocations: 38.56 kB / 0.5558 GB, free: 5.922 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 8.41e-07/0.1646, allocations: 0 / 0.5558 GB, free: 5.922 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009151/0.1655, allocations: 229.1 kB / 0.556 GB, free: 5.691 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.793e-05/0.1656, allocations: 51.41 kB / 0.5561 GB, free: 5.629 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002669/0.1658, allocations: 265.9 kB / 0.5563 GB, free: 5.359 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.893e-05/0.1659, allocations: 29.64 kB / 0.5563 GB, free: 5.324 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.598e-05/0.1659, allocations: 112.1 kB / 0.5565 GB, free: 5.211 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.55e-05/0.166, allocations: 31.73 kB / 0.5565 GB, free: 5.18 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.615e-05/0.166, allocations: 25.72 kB / 0.5565 GB, free: 5.148 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001373/0.1662, allocations: 322.8 kB / 0.5568 GB, free: 4.824 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.435e-05/0.1662, allocations: 32.05 kB / 0.5568 GB, free: 4.793 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.627e-05/0.1663, allocations: 27.97 kB / 0.5569 GB, free: 4.766 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001509/0.1665, allocations: 52.84 kB / 0.5569 GB, free: 4.711 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.1665, allocations: 4 kB / 0.5569 GB, free: 4.707 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002267/0.1667, allocations: 109.5 kB / 0.557 GB, free: 4.594 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.1667, allocations: 8 kB / 0.557 GB, free: 4.586 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.1667, allocations: 0 / 0.557 GB, free: 4.586 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.1667, allocations: 0 / 0.557 GB, free: 4.586 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001091/0.1668, allocations: 15.98 kB / 0.5571 GB, free: 4.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.1669, allocations: 8.25 kB / 0.5571 GB, free: 4.562 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.4e-05/0.1669, allocations: 3.984 kB / 0.5571 GB, free: 4.559 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.033e-05/0.1669, allocations: 4 kB / 0.5571 GB, free: 4.555 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 (8): * Single equations (assignments): 8 * 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.0001159/0.167, allocations: 132 kB / 0.5572 GB, free: 4.418 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.138e-05/0.1671, allocations: 19.89 kB / 0.5572 GB, free: 4.398 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003154/0.1674, allocations: 123 kB / 0.5573 GB, free: 4.266 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.1674, allocations: 4 kB / 0.5573 GB, free: 4.262 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.1674, allocations: 3.938 kB / 0.5573 GB, free: 4.258 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.1674, allocations: 0 / 0.5573 GB, free: 4.258 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005837/0.168, allocations: 411.3 kB / 0.5577 GB, free: 3.797 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.168, allocations: 0 / 0.5577 GB, free: 3.797 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.465e-05/0.1681, allocations: 23.92 kB / 0.5578 GB, free: 3.773 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.1681, allocations: 0 / 0.5578 GB, free: 3.773 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/0.1681, allocations: 4 kB / 0.5578 GB, free: 3.77 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1681, allocations: 0 / 0.5578 GB, free: 3.77 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1681, allocations: 0 / 0.5578 GB, free: 3.77 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002796/0.1683, allocations: 216.2 kB / 0.558 GB, free: 3.539 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.341e-05/0.1684, allocations: 89 kB / 0.558 GB, free: 3.434 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.204e-05/0.1684, allocations: 7.984 kB / 0.5581 GB, free: 3.426 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.867e-05/0.1685, allocations: 8 kB / 0.5581 GB, free: 3.418 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.894e-05/0.1685, allocations: 4.406 kB / 0.5581 GB, free: 3.414 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.284e-06/0.1685, allocations: 4 kB / 0.5581 GB, free: 3.41 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000176/0.1687, allocations: 188.4 kB / 0.5583 GB, free: 3.227 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1687, allocations: 4 kB / 0.5583 GB, free: 3.223 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002636/0.169, allocations: 23.94 kB / 0.5583 GB, free: 3.199 MB / 414.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 (8): * Single equations (assignments): 8 * 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.00222/0.1712, allocations: 1.097 MB / 0.5593 GB, free: 2.262 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002368/0.1714, allocations: 67.88 kB / 0.5594 GB, free: 2.195 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1714, allocations: 0 / 0.5594 GB, free: 2.195 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001044/0.1716, allocations: 31.98 kB / 0.5594 GB, free: 2.164 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003956/0.1719, allocations: 29.05 kB / 0.5595 GB, free: 2.141 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002137/0.1741, allocations: 1.757 MB / 0.5612 GB, free: 296 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003661/0.1745, allocations: 0.7197 MB / 0.5619 GB, free: 15.54 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.842e-05/0.1745, allocations: 16.64 kB / 0.5619 GB, free: 15.53 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.37e-05/0.1746, allocations: 35.42 kB / 0.5619 GB, free: 15.49 MB / 430.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1746, allocations: 0 / 0.5619 GB, free: 15.49 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02549/0.2001, allocations: 3.293 MB / 0.5652 GB, free: 12.24 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.089/8.289, allocations: 5 kB / 0.5652 GB, free: 12.24 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32_res.csv --start-time 7.99 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00240104 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test32.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test32/Test32.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.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.Test32_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32_res.csv failed! Error: Could not read variable d2_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32_res.csv. Warning: Get data of variable d2_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.67297918908298]