Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.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.001745/0.001745, 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.002511/0.002511, 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.687/1.687, 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.2307/0.2307, 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.CombiTable1Dv.Test15,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test15,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test15",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.00212/0.00212, allocations: 67.89 kB / 499.6 MB, free: 11.67 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1448/0.1469, allocations: 65.43 MB / 0.5518 GB, free: 10.12 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test15): time 0.003107/0.15, allocations: 1.621 MB / 0.5534 GB, free: 8.484 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001038/0.1511, allocations: 0.5494 MB / 0.5539 GB, free: 7.93 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.502e-05/0.1511, allocations: 0 / 0.5539 GB, free: 7.93 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002799/0.1514, allocations: 83.7 kB / 0.554 GB, free: 7.848 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003057/0.1517, allocations: 103.6 kB / 0.5541 GB, free: 7.746 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003104/0.152, allocations: 111.7 kB / 0.5542 GB, free: 7.637 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001831/0.1522, allocations: 83.75 kB / 0.5543 GB, free: 7.555 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001104/0.1523, allocations: 23.92 kB / 0.5543 GB, free: 7.531 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.155e-05/0.1524, allocations: 31.91 kB / 0.5543 GB, free: 7.5 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001199/0.1525, allocations: 71.69 kB / 0.5544 GB, free: 7.43 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.502e-05/0.1525, allocations: 4 kB / 0.5544 GB, free: 7.426 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.899e-05/0.1526, allocations: 43.98 kB / 0.5544 GB, free: 7.383 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.185e-05/0.1527, allocations: 23.91 kB / 0.5545 GB, free: 7.359 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.638e-05/0.1527, allocations: 31.73 kB / 0.5545 GB, free: 7.328 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002116/0.153, allocations: 103.6 kB / 0.5546 GB, free: 7.227 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.153, allocations: 0 / 0.5546 GB, free: 7.227 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.153, allocations: 4 kB / 0.5546 GB, free: 7.223 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.653e-06/0.153, allocations: 0 / 0.5546 GB, free: 7.223 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.0005787/0.1535, allocations: 422.6 kB / 0.555 GB, free: 6.762 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.1536, allocations: 12.03 kB / 0.555 GB, free: 6.75 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.664e-05/0.1536, allocations: 30.75 kB / 0.555 GB, free: 6.711 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.491e-05/0.1537, allocations: 12.84 kB / 0.555 GB, free: 6.699 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002246/0.1539, allocations: 207.2 kB / 0.5552 GB, free: 6.457 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.148e-05/0.1539, allocations: 8.375 kB / 0.5552 GB, free: 6.449 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.723e-05/0.1539, allocations: 4.375 kB / 0.5553 GB, free: 6.445 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001611/0.1541, allocations: 61.61 kB / 0.5553 GB, free: 6.379 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.1541, allocations: 0 / 0.5553 GB, free: 6.379 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-06/0.1541, allocations: 3.938 kB / 0.5553 GB, free: 6.375 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.1541, allocations: 0 / 0.5553 GB, free: 6.375 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001065/0.1542, allocations: 35.91 kB / 0.5554 GB, free: 6.34 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004633/0.1547, allocations: 292.8 kB / 0.5556 GB, free: 6.004 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001227/0.1548, allocations: 50.55 kB / 0.5557 GB, free: 5.945 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.921e-05/0.1549, allocations: 12.86 kB / 0.5557 GB, free: 5.93 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.628e-05/0.1549, allocations: 3.938 kB / 0.5557 GB, free: 5.926 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.79e-05/0.1549, allocations: 34.66 kB / 0.5557 GB, free: 5.883 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.773e-06/0.1549, allocations: 0 / 0.5557 GB, free: 5.883 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009823/0.1559, allocations: 257.5 kB / 0.556 GB, free: 5.625 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.014e-05/0.1559, allocations: 55.41 kB / 0.556 GB, free: 5.559 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002325/0.1562, allocations: 214.3 kB / 0.5562 GB, free: 5.34 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.87e-05/0.1562, allocations: 25.7 kB / 0.5563 GB, free: 5.309 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.943e-05/0.1563, allocations: 112.1 kB / 0.5564 GB, free: 5.195 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.657e-05/0.1563, allocations: 31.73 kB / 0.5564 GB, free: 5.164 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.213e-05/0.1564, allocations: 21.72 kB / 0.5564 GB, free: 5.137 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000169/0.1565, allocations: 322.8 kB / 0.5567 GB, free: 4.812 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.546e-05/0.1566, allocations: 27.98 kB / 0.5567 GB, free: 4.785 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.238e-05/0.1567, allocations: 31.91 kB / 0.5568 GB, free: 4.754 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001774/0.1569, allocations: 80.75 kB / 0.5569 GB, free: 4.672 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.1569, allocations: 4 kB / 0.5569 GB, free: 4.668 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002472/0.1571, allocations: 109.6 kB / 0.557 GB, free: 4.555 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.1571, allocations: 10.19 kB / 0.557 GB, free: 4.547 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.1571, allocations: 0 / 0.557 GB, free: 4.547 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.1572, allocations: 0 / 0.557 GB, free: 4.547 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001096/0.1573, allocations: 19.98 kB / 0.557 GB, free: 4.527 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.1573, allocations: 3.938 kB / 0.557 GB, free: 4.523 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.548e-05/0.1573, allocations: 4 kB / 0.557 GB, free: 4.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/0.1573, allocations: 0 / 0.557 GB, free: 4.52 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.0001074/0.1574, allocations: 140 kB / 0.5571 GB, free: 4.375 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.687e-05/0.1575, allocations: 11.91 kB / 0.5571 GB, free: 4.363 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003166/0.1578, allocations: 131.3 kB / 0.5573 GB, free: 4.223 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.1578, allocations: 0 / 0.5573 GB, free: 4.223 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.892e-06/0.1578, allocations: 3.938 kB / 0.5573 GB, free: 4.219 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.1578, allocations: 0 / 0.5573 GB, free: 4.219 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006104/0.1584, allocations: 431.3 kB / 0.5577 GB, free: 3.738 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.1584, allocations: 0 / 0.5577 GB, free: 3.738 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.725e-05/0.1585, allocations: 23.92 kB / 0.5577 GB, free: 3.715 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.756e-06/0.1585, allocations: 0 / 0.5577 GB, free: 3.715 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.1585, allocations: 7.938 kB / 0.5577 GB, free: 3.707 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.552e-06/0.1585, allocations: 0 / 0.5577 GB, free: 3.707 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1585, allocations: 0 / 0.5577 GB, free: 3.707 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002944/0.1588, allocations: 216.3 kB / 0.5579 GB, free: 3.477 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.907e-05/0.1589, allocations: 92.95 kB / 0.558 GB, free: 3.367 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.884e-05/0.1589, allocations: 4 kB / 0.558 GB, free: 3.363 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.374e-05/0.159, allocations: 7.984 kB / 0.558 GB, free: 3.355 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.738e-05/0.159, allocations: 4 kB / 0.558 GB, free: 3.352 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.326e-06/0.159, allocations: 4 kB / 0.558 GB, free: 3.348 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001473/0.1591, allocations: 172.2 kB / 0.5582 GB, free: 3.18 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1591, allocations: 0 / 0.5582 GB, free: 3.18 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002674/0.1594, allocations: 23.92 kB / 0.5582 GB, free: 3.156 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.002238/0.1617, allocations: 1.092 MB / 0.5593 GB, free: 2.223 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002762/0.1619, allocations: 79.88 kB / 0.5594 GB, free: 2.145 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1619, allocations: 4 kB / 0.5594 GB, free: 2.141 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000103/0.162, allocations: 35.97 kB / 0.5594 GB, free: 2.105 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004178/0.1625, allocations: 31.11 kB / 0.5594 GB, free: 2.078 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002173/0.1646, allocations: 1.714 MB / 0.5611 GB, free: 288 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003507/0.165, allocations: 0.708 MB / 0.5618 GB, free: 15.55 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.499e-05/0.1651, allocations: 28.66 kB / 0.5618 GB, free: 15.52 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.37e-05/0.1651, allocations: 43.36 kB / 0.5619 GB, free: 15.48 MB / 430.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1651, allocations: 0 / 0.5619 GB, free: 15.48 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02469/0.1898, allocations: 3.165 MB / 0.565 GB, free: 12.35 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.998/8.188, allocations: 15.11 kB / 0.565 GB, free: 12.34 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00059976 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test15.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test15/Test15.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.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.CombiTable1Dv.Test15_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15_res.csv failed! Error: Could not read variable clock.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15_res.csv failed! Error: Could not read variable d2_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15_res.csv. Warning: Get data of variable d2_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.642607428133488]