Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test11.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.001319/0.001319, 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.001436/0.001436, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.582/1.582, allocations: 230.6 MB / 254.1 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2653/0.2653, allocations: 46.92 MB / 357.1 MB, free: 10.34 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test11,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test11,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test11",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001946/0.001946, allocations: 67.89 kB / 0.4909 GB, free: 7.98 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.1461, allocations: 66 MB / 0.5554 GB, free: 5.855 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test11): time 0.003436/0.1495, allocations: 1.661 MB / 0.557 GB, free: 4.184 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002101/0.1516, allocations: 1.183 MB / 0.5582 GB, free: 2.992 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.271e-05/0.1517, allocations: 4 kB / 0.5582 GB, free: 2.988 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001992/0.1519, allocations: 27.84 kB / 0.5582 GB, free: 2.961 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003022/0.1522, allocations: 87.56 kB / 0.5583 GB, free: 2.875 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004012/0.1526, allocations: 131.5 kB / 0.5584 GB, free: 2.75 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001703/0.1528, allocations: 71.83 kB / 0.5585 GB, free: 2.68 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001304/0.1529, allocations: 8 kB / 0.5585 GB, free: 2.672 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.269e-05/0.153, allocations: 39.78 kB / 0.5585 GB, free: 2.633 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001708/0.1532, allocations: 39.83 kB / 0.5586 GB, free: 2.594 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.699e-05/0.1532, allocations: 4 kB / 0.5586 GB, free: 2.59 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001932/0.1534, allocations: 95.94 kB / 0.5587 GB, free: 2.496 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001336/0.1535, allocations: 27.84 kB / 0.5587 GB, free: 2.469 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.723e-05/0.1535, allocations: 27.81 kB / 0.5587 GB, free: 2.441 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003014/0.1538, allocations: 155.4 kB / 0.5589 GB, free: 2.289 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1539, allocations: 0 / 0.5589 GB, free: 2.289 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1539, allocations: 0 / 0.5589 GB, free: 2.289 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.143e-05/0.1539, allocations: 3.938 kB / 0.5589 GB, free: 2.285 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.000764/0.1546, allocations: 422.7 kB / 0.5593 GB, free: 1.824 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.936e-05/0.1547, allocations: 8.031 kB / 0.5593 GB, free: 1.816 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.503e-05/0.1547, allocations: 46.67 kB / 0.5593 GB, free: 1.762 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.295e-05/0.1548, allocations: 8.891 kB / 0.5593 GB, free: 1.754 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002714/0.155, allocations: 190.1 kB / 0.5595 GB, free: 1.531 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.1551, allocations: 384 / 0.5595 GB, free: 1.531 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.139e-05/0.1551, allocations: 12.33 kB / 0.5595 GB, free: 1.52 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000214/0.1553, allocations: 83.31 kB / 0.5596 GB, free: 1.426 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.1553, allocations: 3.938 kB / 0.5596 GB, free: 1.422 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.1553, allocations: 0 / 0.5596 GB, free: 1.422 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.889e-06/0.1553, allocations: 0 / 0.5596 GB, free: 1.422 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001548/0.1555, allocations: 39.89 kB / 0.5596 GB, free: 1.383 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004698/0.156, allocations: 288.8 kB / 0.5599 GB, free: 1.051 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001446/0.1561, allocations: 46.55 kB / 0.56 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.734e-05/0.1562, allocations: 24.94 kB / 0.56 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.413e-05/0.1562, allocations: 0 / 0.56 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.533e-05/0.1563, allocations: 38.5 kB / 0.56 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 8.81e-07/0.1563, allocations: 0 / 0.56 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0009082/0.1572, allocations: 217.3 kB / 0.5602 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.415e-05/0.1572, allocations: 81.09 kB / 0.5603 GB, free: 0.6055 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000259/0.1575, allocations: 155.5 kB / 0.5605 GB, free: 452 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.101e-05/0.1575, allocations: 25.7 kB / 0.5605 GB, free: 420 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.418e-05/0.1576, allocations: 96.12 kB / 0.5606 GB, free: 320 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.917e-05/0.1576, allocations: 31.75 kB / 0.5606 GB, free: 288 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.458e-05/0.1576, allocations: 21.7 kB / 0.5606 GB, free: 260 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000157/0.1578, allocations: 318.8 kB / 0.5609 GB, free: 15.93 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001161/0.1579, allocations: 27.97 kB / 0.561 GB, free: 15.91 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001245/0.158, allocations: 53.75 kB / 0.561 GB, free: 15.85 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002455/0.1583, allocations: 76.83 kB / 0.5611 GB, free: 15.77 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.1583, allocations: 0 / 0.5611 GB, free: 15.77 MB / 430.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003011/0.1586, allocations: 113.5 kB / 0.5612 GB, free: 15.65 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.1586, allocations: 4 kB / 0.5612 GB, free: 15.65 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.1586, allocations: 0 / 0.5612 GB, free: 15.65 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.1586, allocations: 4 kB / 0.5612 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001259/0.1588, allocations: 19.98 kB / 0.5612 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.1588, allocations: 4 kB / 0.5612 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.394e-05/0.1588, allocations: 11.92 kB / 0.5612 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.548e-06/0.1588, allocations: 4 kB / 0.5612 GB, free: 15.61 MB / 430.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 (7): * Single equations (assignments): 7 * 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.0001088/0.159, allocations: 124 kB / 0.5614 GB, free: 15.48 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.074e-05/0.159, allocations: 8.234 kB / 0.5614 GB, free: 15.47 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003884/0.1594, allocations: 130.3 kB / 0.5615 GB, free: 15.33 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.234e-06/0.1594, allocations: 11.92 kB / 0.5615 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.1594, allocations: 0 / 0.5615 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.1594, allocations: 3.938 kB / 0.5615 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006382/0.1601, allocations: 394.4 kB / 0.5619 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.1601, allocations: 12 kB / 0.5619 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.715e-05/0.1601, allocations: 19.92 kB / 0.5619 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.215e-06/0.1602, allocations: 0 / 0.5619 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.322e-05/0.1602, allocations: 7.938 kB / 0.5619 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1602, allocations: 0 / 0.5619 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1602, allocations: 0 / 0.5619 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003758/0.1605, allocations: 215.8 kB / 0.5621 GB, free: 14.61 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.27e-05/0.1606, allocations: 85.05 kB / 0.5622 GB, free: 14.51 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.432e-05/0.1606, allocations: 7.938 kB / 0.5622 GB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001017/0.1607, allocations: 11.98 kB / 0.5622 GB, free: 14.49 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.781e-05/0.1608, allocations: 7.984 kB / 0.5622 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.949e-06/0.1608, allocations: 0 / 0.5622 GB, free: 14.48 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001746/0.161, allocations: 124.8 kB / 0.5623 GB, free: 14.36 MB / 430.1 MB Notification: Performance of sort global known variables: time 6e-08/0.161, allocations: 0 / 0.5623 GB, free: 14.36 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003079/0.1613, allocations: 39.88 kB / 0.5624 GB, free: 14.32 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 (7): * Single equations (assignments): 7 * 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.00249/0.1638, allocations: 1.134 MB / 0.5635 GB, free: 13.35 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003464/0.1641, allocations: 79.88 kB / 0.5636 GB, free: 13.27 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.1641, allocations: 0 / 0.5636 GB, free: 13.27 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001249/0.1642, allocations: 35.97 kB / 0.5636 GB, free: 13.24 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003579/0.1646, allocations: 19.98 kB / 0.5636 GB, free: 13.22 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00237/0.167, allocations: 1.597 MB / 0.5652 GB, free: 11.54 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003687/0.1673, allocations: 0.7002 MB / 0.5659 GB, free: 10.81 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.246e-05/0.1674, allocations: 16.66 kB / 0.5659 GB, free: 10.79 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.719e-05/0.1675, allocations: 31.42 kB / 0.5659 GB, free: 10.76 MB / 430.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1675, allocations: 4 kB / 0.5659 GB, free: 10.76 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0303/0.1978, allocations: 3.542 MB / 0.5694 GB, free: 7.23 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.111/8.309, allocations: 7.969 kB / 0.5694 GB, free: 7.223 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test11.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test11_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0119952 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test11.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test11_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test11_res.csv. Warning: Get data of variable t_new.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test11_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test11_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test11_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.73121376799827]