Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.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.002085/0.002085, allocations: 123.4 kB / 17.79 MB, free: 5.246 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.002468/0.002468, allocations: 209.6 kB / 20.75 MB, free: 2.293 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.555/1.555, 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.2277/0.2277, allocations: 44.9 MB / 355.1 MB, free: 12.3 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.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test2",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.001957/0.001957, allocations: 72.17 kB / 499.6 MB, free: 11.76 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1496/0.1516, allocations: 65.43 MB / 0.5518 GB, free: 10.21 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.003188/0.1548, allocations: 1.605 MB / 0.5533 GB, free: 8.59 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001023/0.1558, allocations: 0.53 MB / 0.5539 GB, free: 8.055 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.739e-05/0.1559, allocations: 0 / 0.5539 GB, free: 8.055 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002025/0.1561, allocations: 31.8 kB / 0.5539 GB, free: 8.023 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002883/0.1564, allocations: 71.69 kB / 0.554 GB, free: 7.953 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002439/0.1566, allocations: 91.64 kB / 0.554 GB, free: 7.863 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001527/0.1568, allocations: 71.75 kB / 0.5541 GB, free: 7.793 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.963e-05/0.1569, allocations: 12.28 kB / 0.5541 GB, free: 7.781 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.865e-05/0.1569, allocations: 19.92 kB / 0.5541 GB, free: 7.762 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.676e-05/0.157, allocations: 23.86 kB / 0.5542 GB, free: 7.738 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.474e-05/0.157, allocations: 4 kB / 0.5542 GB, free: 7.734 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.927e-05/0.1571, allocations: 35.92 kB / 0.5542 GB, free: 7.699 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.771e-05/0.1571, allocations: 11.92 kB / 0.5542 GB, free: 7.688 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.098e-05/0.1572, allocations: 23.81 kB / 0.5542 GB, free: 7.664 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000177/0.1573, allocations: 83.64 kB / 0.5543 GB, free: 7.582 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.1573, allocations: 0 / 0.5543 GB, free: 7.582 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1573, allocations: 0 / 0.5543 GB, free: 7.582 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.728e-06/0.1573, allocations: 0 / 0.5543 GB, free: 7.582 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.000571/0.1579, allocations: 386.9 kB / 0.5547 GB, free: 7.156 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.158, allocations: 12.03 kB / 0.5547 GB, free: 7.145 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.999e-05/0.158, allocations: 38.73 kB / 0.5547 GB, free: 7.098 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.097e-05/0.158, allocations: 8.891 kB / 0.5547 GB, free: 7.09 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002071/0.1582, allocations: 182.5 kB / 0.5549 GB, free: 6.875 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.1582, allocations: 4.375 kB / 0.5549 GB, free: 6.871 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.791e-05/0.1583, allocations: 8.359 kB / 0.5549 GB, free: 6.863 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001526/0.1584, allocations: 45.62 kB / 0.555 GB, free: 6.812 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.1584, allocations: 11.92 kB / 0.555 GB, free: 6.801 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.846e-06/0.1585, allocations: 0 / 0.555 GB, free: 6.801 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.1585, allocations: 4 kB / 0.555 GB, free: 6.797 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.14e-05/0.1586, allocations: 19.98 kB / 0.555 GB, free: 6.777 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003645/0.1589, allocations: 276.8 kB / 0.5553 GB, free: 6.457 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002229/0.1591, allocations: 46.56 kB / 0.5553 GB, free: 6.402 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.1e-05/0.1592, allocations: 16.94 kB / 0.5553 GB, free: 6.383 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.557e-05/0.1592, allocations: 0 / 0.5553 GB, free: 6.383 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.451e-05/0.1592, allocations: 34.56 kB / 0.5554 GB, free: 6.34 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 6.91e-07/0.1592, allocations: 0 / 0.5554 GB, free: 6.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005874/0.1598, allocations: 153.3 kB / 0.5555 GB, free: 6.184 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.249e-05/0.1599, allocations: 55.41 kB / 0.5556 GB, free: 6.117 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001747/0.16, allocations: 144.2 kB / 0.5557 GB, free: 5.965 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.526e-05/0.1601, allocations: 29.7 kB / 0.5557 GB, free: 5.93 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.104e-05/0.1601, allocations: 96.12 kB / 0.5558 GB, free: 5.832 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.08e-05/0.1602, allocations: 19.8 kB / 0.5558 GB, free: 5.812 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.757e-05/0.1602, allocations: 17.72 kB / 0.5559 GB, free: 5.789 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.1604, allocations: 326.7 kB / 0.5562 GB, free: 5.461 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.523e-05/0.1604, allocations: 23.98 kB / 0.5562 GB, free: 5.438 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.003e-05/0.1605, allocations: 15.98 kB / 0.5562 GB, free: 5.422 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001423/0.1606, allocations: 48.83 kB / 0.5563 GB, free: 5.371 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.1606, allocations: 3.938 kB / 0.5563 GB, free: 5.367 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001832/0.1608, allocations: 77.81 kB / 0.5563 GB, free: 5.285 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.1608, allocations: 8 kB / 0.5563 GB, free: 5.277 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.1608, allocations: 0 / 0.5563 GB, free: 5.277 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.857e-05/0.1609, allocations: 7.984 kB / 0.5563 GB, free: 5.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.479e-05/0.1609, allocations: 11.94 kB / 0.5564 GB, free: 5.258 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.1609, allocations: 0 / 0.5564 GB, free: 5.258 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.264e-05/0.161, allocations: 11.98 kB / 0.5564 GB, free: 5.246 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.073e-05/0.161, allocations: 7.938 kB / 0.5564 GB, free: 5.238 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.0001035/0.1611, allocations: 116 kB / 0.5565 GB, free: 5.117 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.561e-05/0.1611, allocations: 7.953 kB / 0.5565 GB, free: 5.109 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002638/0.1614, allocations: 89.97 kB / 0.5566 GB, free: 5.012 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.1614, allocations: 0 / 0.5566 GB, free: 5.012 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.1614, allocations: 3.984 kB / 0.5566 GB, free: 5.008 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.1614, allocations: 3.938 kB / 0.5566 GB, free: 5.004 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004942/0.1619, allocations: 346.5 kB / 0.5569 GB, free: 4.609 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1619, allocations: 0 / 0.5569 GB, free: 4.609 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.145e-05/0.162, allocations: 15.98 kB / 0.5569 GB, free: 4.594 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.162, allocations: 4 kB / 0.5569 GB, free: 4.59 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.642e-06/0.162, allocations: 0 / 0.5569 GB, free: 4.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.646e-06/0.162, allocations: 3.938 kB / 0.5569 GB, free: 4.586 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.162, allocations: 0 / 0.5569 GB, free: 4.586 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002421/0.1622, allocations: 179.4 kB / 0.5571 GB, free: 4.395 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.935e-05/0.1623, allocations: 85.06 kB / 0.5572 GB, free: 4.293 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.441e-05/0.1623, allocations: 256 / 0.5572 GB, free: 4.293 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.43e-05/0.1623, allocations: 19.94 kB / 0.5572 GB, free: 4.273 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.764e-05/0.1624, allocations: 3.984 kB / 0.5572 GB, free: 4.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-06/0.1624, allocations: 4 kB / 0.5572 GB, free: 4.266 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001045/0.1625, allocations: 116.6 kB / 0.5573 GB, free: 4.152 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1625, allocations: 0 / 0.5573 GB, free: 4.152 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002346/0.1627, allocations: 12 kB / 0.5573 GB, free: 4.141 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.001975/0.1647, allocations: 1.02 MB / 0.5583 GB, free: 3.258 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002172/0.1649, allocations: 51.89 kB / 0.5584 GB, free: 3.207 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1649, allocations: 0 / 0.5584 GB, free: 3.207 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.079e-05/0.165, allocations: 28.11 kB / 0.5584 GB, free: 3.18 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004083/0.1654, allocations: 23.92 kB / 0.5584 GB, free: 3.156 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001785/0.1672, allocations: 1.433 MB / 0.5598 GB, free: 1.641 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000342/0.1675, allocations: 0.6924 MB / 0.5605 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.671e-05/0.1676, allocations: 11.84 kB / 0.5605 GB, free: 0.9102 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.388e-05/0.1676, allocations: 27.42 kB / 0.5606 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1676, allocations: 4 kB / 0.5606 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0235/0.1911, allocations: 2.554 MB / 0.5631 GB, free: 14.36 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.924/8.115, allocations: 7.875 kB / 0.5631 GB, free: 14.36 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2_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_Test2.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.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.Test2_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.523113045841455]