Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.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.001637/0.001637, 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.001946/0.001946, 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.467/1.467, 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.2212/0.2212, allocations: 44.91 MB / 355.1 MB, free: 12.43 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.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test8",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.001964/0.001964, allocations: 68.17 kB / 499.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1341, allocations: 65.43 MB / 0.5518 GB, free: 10.15 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test8): time 0.003991/0.1381, allocations: 1.601 MB / 0.5533 GB, free: 8.535 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001321/0.1394, allocations: 0.5415 MB / 0.5539 GB, free: 7.988 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.34e-05/0.1395, allocations: 0 / 0.5539 GB, free: 7.988 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002731/0.1398, allocations: 31.84 kB / 0.5539 GB, free: 7.957 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003344/0.1401, allocations: 79.62 kB / 0.554 GB, free: 7.879 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003494/0.1405, allocations: 87.77 kB / 0.5541 GB, free: 7.793 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000193/0.1406, allocations: 63.77 kB / 0.5541 GB, free: 7.73 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001328/0.1408, allocations: 11.94 kB / 0.5541 GB, free: 7.719 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.008e-05/0.1408, allocations: 31.84 kB / 0.5542 GB, free: 7.688 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.078e-05/0.1409, allocations: 19.86 kB / 0.5542 GB, free: 7.668 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.746e-05/0.1409, allocations: 4 kB / 0.5542 GB, free: 7.664 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001032/0.1411, allocations: 31.98 kB / 0.5542 GB, free: 7.633 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.933e-05/0.1411, allocations: 11.92 kB / 0.5542 GB, free: 7.621 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.005e-05/0.1412, allocations: 31.81 kB / 0.5542 GB, free: 7.59 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002228/0.1414, allocations: 75.72 kB / 0.5543 GB, free: 7.516 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.1414, allocations: 0 / 0.5543 GB, free: 7.516 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.1414, allocations: 0 / 0.5543 GB, free: 7.516 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.1414, allocations: 0 / 0.5543 GB, free: 7.516 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.0006585/0.1421, allocations: 398.8 kB / 0.5547 GB, free: 7.078 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.147e-05/0.1421, allocations: 8.031 kB / 0.5547 GB, free: 7.07 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.344e-05/0.1422, allocations: 34.75 kB / 0.5547 GB, free: 7.027 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.913e-05/0.1422, allocations: 8.891 kB / 0.5547 GB, free: 7.02 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000315/0.1425, allocations: 198.4 kB / 0.5549 GB, free: 6.789 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.729e-05/0.1426, allocations: 8.375 kB / 0.5549 GB, free: 6.781 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.629e-05/0.1426, allocations: 384 / 0.5549 GB, free: 6.781 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001938/0.1428, allocations: 53.56 kB / 0.555 GB, free: 6.723 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.601e-05/0.1428, allocations: 0 / 0.555 GB, free: 6.723 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.031e-05/0.1428, allocations: 7.984 kB / 0.555 GB, free: 6.715 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.922e-06/0.1428, allocations: 0 / 0.555 GB, free: 6.715 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001124/0.1429, allocations: 23.92 kB / 0.555 GB, free: 6.691 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005065/0.1434, allocations: 280.9 kB / 0.5553 GB, free: 6.367 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002435/0.1437, allocations: 38.56 kB / 0.5553 GB, free: 6.32 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.889e-05/0.1437, allocations: 20.94 kB / 0.5554 GB, free: 6.297 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.301e-05/0.1438, allocations: 0 / 0.5554 GB, free: 6.297 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.857e-05/0.1438, allocations: 34.5 kB / 0.5554 GB, free: 6.254 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.1438, allocations: 0 / 0.5554 GB, free: 6.254 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006387/0.1444, allocations: 137.5 kB / 0.5555 GB, free: 6.113 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.759e-05/0.1445, allocations: 59.34 kB / 0.5556 GB, free: 6.043 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002117/0.1447, allocations: 164.6 kB / 0.5557 GB, free: 5.875 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.488e-05/0.1447, allocations: 29.7 kB / 0.5558 GB, free: 5.84 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.643e-05/0.1448, allocations: 100.1 kB / 0.5559 GB, free: 5.738 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.034e-05/0.1448, allocations: 15.86 kB / 0.5559 GB, free: 5.723 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.302e-05/0.1449, allocations: 25.7 kB / 0.5559 GB, free: 5.691 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001719/0.1451, allocations: 314.8 kB / 0.5562 GB, free: 5.375 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.845e-05/0.1451, allocations: 19.98 kB / 0.5562 GB, free: 5.355 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.157e-05/0.1452, allocations: 27.98 kB / 0.5562 GB, free: 5.328 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001443/0.1453, allocations: 40.83 kB / 0.5563 GB, free: 5.285 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.1453, allocations: 0 / 0.5563 GB, free: 5.285 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002194/0.1456, allocations: 89.56 kB / 0.5564 GB, free: 5.191 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.671e-05/0.1456, allocations: 11.98 kB / 0.5564 GB, free: 5.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.1456, allocations: 0 / 0.5564 GB, free: 5.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.165e-05/0.1456, allocations: 0 / 0.5564 GB, free: 5.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.691e-05/0.1457, allocations: 8 kB / 0.5564 GB, free: 5.172 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/0.1457, allocations: 3.938 kB / 0.5564 GB, free: 5.168 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.664e-05/0.1458, allocations: 7.984 kB / 0.5564 GB, free: 5.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.2e-05/0.1458, allocations: 4 kB / 0.5564 GB, free: 5.156 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.0001239/0.1459, allocations: 120 kB / 0.5565 GB, free: 5.031 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.555e-05/0.1459, allocations: 7.953 kB / 0.5565 GB, free: 5.023 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003019/0.1462, allocations: 97.89 kB / 0.5566 GB, free: 4.918 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.1462, allocations: 0 / 0.5566 GB, free: 4.918 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/0.1462, allocations: 3.938 kB / 0.5566 GB, free: 4.914 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.758e-06/0.1462, allocations: 0 / 0.5566 GB, free: 4.914 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005381/0.1468, allocations: 346.6 kB / 0.5569 GB, free: 4.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1468, allocations: 320 / 0.5569 GB, free: 4.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.968e-05/0.1468, allocations: 11.98 kB / 0.557 GB, free: 4.508 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.471e-06/0.1469, allocations: 4.219 kB / 0.557 GB, free: 4.504 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.324e-05/0.1469, allocations: 8 kB / 0.557 GB, free: 4.496 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.1469, allocations: 7.938 kB / 0.557 GB, free: 4.488 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.1469, allocations: 3.938 kB / 0.557 GB, free: 4.484 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002608/0.1471, allocations: 183.5 kB / 0.5572 GB, free: 4.289 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.113e-05/0.1472, allocations: 81.06 kB / 0.5572 GB, free: 4.191 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.149e-05/0.1472, allocations: 7.938 kB / 0.5572 GB, free: 4.184 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.037e-05/0.1473, allocations: 3.984 kB / 0.5572 GB, free: 4.18 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.339e-05/0.1473, allocations: 4 kB / 0.5573 GB, free: 4.176 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.1473, allocations: 0 / 0.5573 GB, free: 4.176 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001111/0.1474, allocations: 126.6 kB / 0.5574 GB, free: 4.055 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1474, allocations: 0 / 0.5574 GB, free: 4.055 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002714/0.1477, allocations: 23.89 kB / 0.5574 GB, free: 4.031 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.001963/0.1497, allocations: 1.03 MB / 0.5584 GB, free: 3.141 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002258/0.1499, allocations: 43.97 kB / 0.5584 GB, free: 3.098 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1499, allocations: 0 / 0.5584 GB, free: 3.098 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.662e-05/0.15, allocations: 23.92 kB / 0.5585 GB, free: 3.074 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000373/0.1503, allocations: 23.98 kB / 0.5585 GB, free: 3.051 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0018/0.1521, allocations: 1.456 MB / 0.5599 GB, free: 1.508 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003395/0.1525, allocations: 0.7002 MB / 0.5606 GB, free: 0.7812 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.749e-05/0.1525, allocations: 11.84 kB / 0.5606 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.577e-05/0.1526, allocations: 23.42 kB / 0.5606 GB, free: 0.7461 MB / 414.1 MB Notification: Performance of SimCode: time 9.82e-07/0.1526, allocations: 0 / 0.5606 GB, free: 0.7461 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02363/0.1762, allocations: 2.618 MB / 0.5632 GB, free: 14.16 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.422/8.598, allocations: 12.05 kB / 0.5632 GB, free: 14.15 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8_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_Test8.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.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.Test8_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.717386585194618]