Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.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.001673/0.001673, 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.001953/0.001953, 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.505/1.505, 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.2293/0.2293, allocations: 44.91 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.CombiTable2Dv.Test28,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test28,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test28",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.003399/0.003399, allocations: 71.89 kB / 499.6 MB, free: 11.67 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1487/0.1521, allocations: 65.42 MB / 0.5518 GB, free: 10.11 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test28): time 0.002936/0.155, allocations: 1.684 MB / 0.5534 GB, free: 8.418 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001062/0.1561, allocations: 0.5805 MB / 0.554 GB, free: 7.832 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.513e-05/0.1562, allocations: 4 kB / 0.554 GB, free: 7.828 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002267/0.1564, allocations: 67.72 kB / 0.5541 GB, free: 7.762 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002686/0.1567, allocations: 91.59 kB / 0.5541 GB, free: 7.672 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004203/0.1571, allocations: 174.6 kB / 0.5543 GB, free: 7.504 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001798/0.1573, allocations: 91.69 kB / 0.5544 GB, free: 7.414 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.999e-05/0.1574, allocations: 24.42 kB / 0.5544 GB, free: 7.387 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.59e-05/0.1574, allocations: 39.86 kB / 0.5545 GB, free: 7.348 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001064/0.1575, allocations: 59.73 kB / 0.5545 GB, free: 7.289 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.42e-05/0.1575, allocations: 4 kB / 0.5545 GB, free: 7.285 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001056/0.1577, allocations: 55.98 kB / 0.5546 GB, free: 7.23 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.208e-05/0.1577, allocations: 23.91 kB / 0.5546 GB, free: 7.207 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.079e-05/0.1578, allocations: 39.69 kB / 0.5546 GB, free: 7.168 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001992/0.158, allocations: 115.5 kB / 0.5548 GB, free: 7.055 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.158, allocations: 0 / 0.5548 GB, free: 7.055 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.158, allocations: 0 / 0.5548 GB, free: 7.055 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.388e-06/0.158, allocations: 0 / 0.5548 GB, free: 7.055 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005514/0.1585, allocations: 434.6 kB / 0.5552 GB, free: 6.582 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.1586, allocations: 16.02 kB / 0.5552 GB, free: 6.566 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.749e-05/0.1586, allocations: 34.75 kB / 0.5552 GB, free: 6.523 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.446e-05/0.1586, allocations: 8.891 kB / 0.5552 GB, free: 6.516 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002161/0.1589, allocations: 215.1 kB / 0.5554 GB, free: 6.27 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.1589, allocations: 4.375 kB / 0.5554 GB, free: 6.266 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.472e-05/0.1589, allocations: 4.375 kB / 0.5554 GB, free: 6.262 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001862/0.1591, allocations: 69.59 kB / 0.5555 GB, free: 6.188 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.1591, allocations: 0 / 0.5555 GB, free: 6.188 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.1591, allocations: 7.938 kB / 0.5555 GB, free: 6.18 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.1591, allocations: 4 kB / 0.5555 GB, free: 6.176 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000155/0.1593, allocations: 43.89 kB / 0.5556 GB, free: 6.133 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004745/0.1597, allocations: 328.7 kB / 0.5559 GB, free: 5.762 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002585/0.16, allocations: 62.58 kB / 0.5559 GB, free: 5.691 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.272e-05/0.1601, allocations: 24.97 kB / 0.556 GB, free: 5.664 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.532e-05/0.1601, allocations: 0 / 0.556 GB, free: 5.664 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.783e-05/0.1601, allocations: 38.55 kB / 0.556 GB, free: 5.617 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 8.92e-07/0.1601, allocations: 4 kB / 0.556 GB, free: 5.613 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.001578/0.1617, allocations: 429.3 kB / 0.5564 GB, free: 5.188 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.693e-05/0.1617, allocations: 51.41 kB / 0.5565 GB, free: 5.125 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002114/0.1619, allocations: 206.3 kB / 0.5566 GB, free: 4.914 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.267e-05/0.162, allocations: 29.7 kB / 0.5567 GB, free: 4.879 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.208e-05/0.162, allocations: 112 kB / 0.5568 GB, free: 4.766 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.083e-05/0.1621, allocations: 39.69 kB / 0.5568 GB, free: 4.727 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.207e-05/0.1621, allocations: 25.7 kB / 0.5568 GB, free: 4.695 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.1623, allocations: 330.8 kB / 0.5572 GB, free: 4.363 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000153/0.1624, allocations: 55.89 kB / 0.5572 GB, free: 4.309 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001428/0.1626, allocations: 55.95 kB / 0.5573 GB, free: 4.254 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002995/0.1629, allocations: 124.7 kB / 0.5574 GB, free: 4.129 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.1629, allocations: 8 kB / 0.5574 GB, free: 4.121 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003725/0.1632, allocations: 157.9 kB / 0.5575 GB, free: 3.961 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.1633, allocations: 8 kB / 0.5576 GB, free: 3.953 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.1633, allocations: 0 / 0.5576 GB, free: 3.953 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.1633, allocations: 7.922 kB / 0.5576 GB, free: 3.945 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001296/0.1634, allocations: 31.91 kB / 0.5576 GB, free: 3.914 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.1634, allocations: 0 / 0.5576 GB, free: 3.914 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.341e-05/0.1635, allocations: 15.98 kB / 0.5576 GB, free: 3.898 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.27e-05/0.1635, allocations: 11.94 kB / 0.5576 GB, free: 3.887 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 (11): * Single equations (assignments): 11 * 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.0001169/0.1636, allocations: 128 kB / 0.5577 GB, free: 3.754 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.502e-05/0.1637, allocations: 15.91 kB / 0.5578 GB, free: 3.738 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004593/0.1641, allocations: 187 kB / 0.5579 GB, free: 3.543 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.1641, allocations: 7.938 kB / 0.5579 GB, free: 3.535 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.1641, allocations: 0 / 0.5579 GB, free: 3.535 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.708e-06/0.1641, allocations: 7.984 kB / 0.5579 GB, free: 3.527 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007653/0.1649, allocations: 500 kB / 0.5584 GB, free: 2.977 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.1649, allocations: 4 kB / 0.5584 GB, free: 2.973 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001213/0.165, allocations: 39.97 kB / 0.5585 GB, free: 2.934 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.165, allocations: 0 / 0.5585 GB, free: 2.934 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.165, allocations: 4.188 kB / 0.5585 GB, free: 2.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.165, allocations: 4 kB / 0.5585 GB, free: 2.926 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.165, allocations: 0 / 0.5585 GB, free: 2.926 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004255/0.1655, allocations: 280.9 kB / 0.5587 GB, free: 2.629 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.289e-05/0.1655, allocations: 93 kB / 0.5588 GB, free: 2.52 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.387e-05/0.1656, allocations: 8 kB / 0.5588 GB, free: 2.512 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001068/0.1657, allocations: 7.984 kB / 0.5588 GB, free: 2.504 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.594e-05/0.1657, allocations: 8 kB / 0.5589 GB, free: 2.496 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.986e-06/0.1657, allocations: 4 kB / 0.5589 GB, free: 2.492 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001378/0.1659, allocations: 160.2 kB / 0.559 GB, free: 2.336 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1659, allocations: 4 kB / 0.559 GB, free: 2.332 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002694/0.1661, allocations: 27.92 kB / 0.559 GB, free: 2.305 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.002372/0.1685, allocations: 1.163 MB / 0.5602 GB, free: 1.301 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003847/0.1689, allocations: 131.8 kB / 0.5603 GB, free: 1.172 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1689, allocations: 0 / 0.5603 GB, free: 1.172 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001753/0.1691, allocations: 71.83 kB / 0.5604 GB, free: 1.102 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000375/0.1694, allocations: 16 kB / 0.5604 GB, free: 1.086 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002608/0.172, allocations: 1.928 MB / 0.5623 GB, free: 15.07 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003463/0.1724, allocations: 0.7197 MB / 0.563 GB, free: 14.32 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.876e-05/0.1725, allocations: 32.52 kB / 0.563 GB, free: 14.29 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.095e-05/0.1726, allocations: 43.42 kB / 0.563 GB, free: 14.25 MB / 430.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1726, allocations: 4 kB / 0.563 GB, free: 14.24 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02406/0.1966, allocations: 3.571 MB / 0.5665 GB, free: 10.72 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.058/8.255, allocations: 10.2 kB / 0.5665 GB, free: 10.71 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test28.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.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.CombiTable2Dv.Test28_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28_res.csv failed! Error: Could not read variable clock1.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28_res.csv. Warning: Get data of variable clock1.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28_res.csv failed! Error: Could not read variable clock2.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28_res.csv. Warning: Get data of variable clock2.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28_res.csv failed! Error: Could not read variable d2_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28_res.csv. Warning: Get data of variable d2_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.46694586891681]