Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.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.001462/0.001462, 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.001784/0.001784, 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.532/1.532, allocations: 230.6 MB / 254.1 MB, free: 15.1 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.2156/0.2156, allocations: 44.91 MB / 355.1 MB, free: 12.35 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.CombiTable2Ds.Test19,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test19,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test19",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.001822/0.001822, allocations: 63.89 kB / 499.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.1415, allocations: 65.42 MB / 0.5518 GB, free: 10.15 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test19): time 0.003815/0.1453, allocations: 1.938 MB / 0.5537 GB, free: 8.199 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002153/0.1475, allocations: 0.9974 MB / 0.5546 GB, free: 7.195 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001299/0.1476, allocations: 0 / 0.5546 GB, free: 7.195 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006447/0.1482, allocations: 259.1 kB / 0.5549 GB, free: 6.941 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005898/0.1488, allocations: 263.1 kB / 0.5551 GB, free: 6.684 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001151/0.15, allocations: 470.1 kB / 0.5556 GB, free: 6.234 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004819/0.1505, allocations: 303.1 kB / 0.5559 GB, free: 5.938 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001935/0.1507, allocations: 40.94 kB / 0.5559 GB, free: 5.898 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001969/0.1509, allocations: 139.4 kB / 0.556 GB, free: 5.762 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003009/0.1512, allocations: 215.2 kB / 0.5562 GB, free: 5.551 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.83e-05/0.1512, allocations: 8 kB / 0.5562 GB, free: 5.543 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001408/0.1513, allocations: 55.97 kB / 0.5563 GB, free: 5.488 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001442/0.1515, allocations: 91.61 kB / 0.5564 GB, free: 5.398 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001294/0.1516, allocations: 111 kB / 0.5565 GB, free: 5.289 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004348/0.152, allocations: 306.4 kB / 0.5568 GB, free: 4.988 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.152, allocations: 0 / 0.5568 GB, free: 4.988 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.152, allocations: 0 / 0.5568 GB, free: 4.988 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.802e-06/0.1521, allocations: 0 / 0.5568 GB, free: 4.988 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0009431/0.153, allocations: 0.6686 MB / 0.5574 GB, free: 4.27 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/0.153, allocations: 12.03 kB / 0.5575 GB, free: 4.258 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.763e-05/0.1531, allocations: 38.73 kB / 0.5575 GB, free: 4.211 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001485/0.1532, allocations: 44.66 kB / 0.5575 GB, free: 4.168 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005069/0.1538, allocations: 322.5 kB / 0.5578 GB, free: 3.812 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.932e-05/0.1538, allocations: 8.312 kB / 0.5578 GB, free: 3.805 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.593e-05/0.1538, allocations: 4.375 kB / 0.5578 GB, free: 3.801 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002648/0.1541, allocations: 89.53 kB / 0.5579 GB, free: 3.707 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.1541, allocations: 0 / 0.5579 GB, free: 3.707 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.473e-05/0.1541, allocations: 4 kB / 0.5579 GB, free: 3.703 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/0.1541, allocations: 0 / 0.5579 GB, free: 3.703 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001776/0.1543, allocations: 55.91 kB / 0.558 GB, free: 3.648 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008087/0.1551, allocations: 460.4 kB / 0.5584 GB, free: 3.148 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001419/0.1552, allocations: 50.56 kB / 0.5585 GB, free: 3.09 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.236e-05/0.1553, allocations: 28.97 kB / 0.5585 GB, free: 3.059 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.31e-05/0.1553, allocations: 4 kB / 0.5585 GB, free: 3.055 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000116/0.1554, allocations: 34.56 kB / 0.5585 GB, free: 3.012 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.1554, allocations: 0 / 0.5585 GB, free: 3.012 MB / 414.1 MB Notification: Performance of matching and sorting (n=6): time 0.000384/0.1558, allocations: 133.4 kB / 0.5587 GB, free: 2.875 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001496/0.156, allocations: 55.34 kB / 0.5587 GB, free: 2.809 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007644/0.1567, allocations: 0.5877 MB / 0.5593 GB, free: 2.211 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.947e-05/0.1568, allocations: 33.7 kB / 0.5593 GB, free: 2.172 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001941/0.1569, allocations: 204.1 kB / 0.5595 GB, free: 1.969 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.532e-05/0.157, allocations: 23.8 kB / 0.5595 GB, free: 1.945 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.673e-05/0.157, allocations: 21.7 kB / 0.5596 GB, free: 1.918 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002112/0.1572, allocations: 350.8 kB / 0.5599 GB, free: 1.566 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.554e-05/0.1573, allocations: 19.98 kB / 0.5599 GB, free: 1.547 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.568e-05/0.1574, allocations: 20.23 kB / 0.5599 GB, free: 1.527 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000131/0.1575, allocations: 52.84 kB / 0.56 GB, free: 1.473 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.1575, allocations: 0 / 0.56 GB, free: 1.473 MB / 414.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002369/0.1577, allocations: 117.4 kB / 0.5601 GB, free: 1.352 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.1578, allocations: 4 kB / 0.5601 GB, free: 1.348 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.1578, allocations: 0 / 0.5601 GB, free: 1.348 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.005e-05/0.1578, allocations: 3.938 kB / 0.5601 GB, free: 1.344 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001025/0.1579, allocations: 15.98 kB / 0.5601 GB, free: 1.328 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.1579, allocations: 0 / 0.5601 GB, free: 1.328 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.252e-05/0.158, allocations: 11.95 kB / 0.5601 GB, free: 1.316 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.193e-06/0.158, allocations: 0 / 0.5601 GB, free: 1.316 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 (6): * Single equations (assignments): 6 * 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.0001807/0.1581, allocations: 172 kB / 0.5603 GB, free: 1.141 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.835e-05/0.1582, allocations: 47.7 kB / 0.5603 GB, free: 1.094 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003312/0.1586, allocations: 129.1 kB / 0.5605 GB, free: 0.957 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.801e-05/0.1586, allocations: 7.922 kB / 0.5605 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.147e-06/0.1586, allocations: 0 / 0.5605 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.1586, allocations: 0 / 0.5605 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003666/0.159, allocations: 293.5 kB / 0.5608 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.159, allocations: 0 / 0.5608 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.71e-05/0.159, allocations: 19.94 kB / 0.5608 GB, free: 0.5938 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.159, allocations: 3.938 kB / 0.5608 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.264e-06/0.159, allocations: 0 / 0.5608 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.159, allocations: 4.188 kB / 0.5608 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/0.159, allocations: 3.984 kB / 0.5608 GB, free: 0.582 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002931/0.1593, allocations: 219.2 kB / 0.561 GB, free: 360 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001049/0.1594, allocations: 120.8 kB / 0.5611 GB, free: 220 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.336e-05/0.1595, allocations: 8 kB / 0.5611 GB, free: 212 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9e-05/0.1595, allocations: 7.922 kB / 0.5611 GB, free: 204 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.717e-05/0.1596, allocations: 4 kB / 0.5611 GB, free: 200 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.341e-06/0.1596, allocations: 4 kB / 0.5611 GB, free: 196 kB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005249/0.1601, allocations: 443.1 kB / 0.5616 GB, free: 15.76 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1601, allocations: 0 / 0.5616 GB, free: 15.76 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002858/0.1604, allocations: 35.89 kB / 0.5616 GB, free: 15.73 MB / 430.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 (6): * Single equations (assignments): 6 * 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.00297/0.1634, allocations: 1.245 MB / 0.5628 GB, free: 14.72 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002336/0.1636, allocations: 51.97 kB / 0.5629 GB, free: 14.67 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.1636, allocations: 0 / 0.5629 GB, free: 14.67 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.975e-05/0.1637, allocations: 27.92 kB / 0.5629 GB, free: 14.64 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006886/0.1644, allocations: 88.61 kB / 0.563 GB, free: 14.57 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004202/0.1686, allocations: 2.843 MB / 0.5657 GB, free: 11.64 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005052/0.1691, allocations: 0.7944 MB / 0.5665 GB, free: 10.82 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000121/0.1692, allocations: 45.48 kB / 0.5666 GB, free: 10.78 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000162/0.1693, allocations: 111.4 kB / 0.5667 GB, free: 10.67 MB / 430.1 MB Notification: Performance of SimCode: time 3.9e-07/0.1693, allocations: 0 / 0.5667 GB, free: 10.67 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03222/0.2016, allocations: 6.821 MB / 0.5733 GB, free: 3.871 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.538/8.74, allocations: 8.938 kB / 0.5733 GB, free: 3.863 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19_res.csv --start-time 0 --stop-time 6 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00119952 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test19.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test19/Test19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable clock1.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19_res.csv. Warning: Get data of variable clock1.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19_res.csv failed! Error: Could not read variable combiTable2DT.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19_res.csv. Warning: Get data of variable combiTable2DT.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.995394434779882]