Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001288/0.001288, 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 trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001382/0.001382, allocations: 207.5 kB / 20.75 MB, free: 2.312 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.497/1.497, allocations: 230.4 MB / 254 MB, free: 15 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.25/0.25, allocations: 46.93 MB / 357 MB, free: 10.18 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test30,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test30,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test30",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002065/0.002065, allocations: 75.88 kB / 0.491 GB, free: 7.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.1415, allocations: 66.05 MB / 0.5555 GB, free: 5.496 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test30): time 0.003389/0.1449, allocations: 1.677 MB / 0.5571 GB, free: 3.805 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00133/0.1462, allocations: 0.5878 MB / 0.5577 GB, free: 3.215 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.805e-05/0.1463, allocations: 4 kB / 0.5577 GB, free: 3.211 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004125/0.1467, allocations: 79.7 kB / 0.5578 GB, free: 3.133 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004231/0.1471, allocations: 103.6 kB / 0.5579 GB, free: 3.031 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005545/0.1477, allocations: 179.9 kB / 0.5581 GB, free: 2.859 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000215/0.1479, allocations: 91.8 kB / 0.5581 GB, free: 2.77 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001304/0.148, allocations: 28.14 kB / 0.5582 GB, free: 2.738 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.02e-05/0.1481, allocations: 35.91 kB / 0.5582 GB, free: 2.703 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001356/0.1482, allocations: 67.73 kB / 0.5583 GB, free: 2.637 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.773e-05/0.1482, allocations: 4 kB / 0.5583 GB, free: 2.633 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001306/0.1484, allocations: 55.91 kB / 0.5583 GB, free: 2.578 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.458e-05/0.1485, allocations: 23.92 kB / 0.5584 GB, free: 2.555 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.629e-05/0.1485, allocations: 43.67 kB / 0.5584 GB, free: 2.512 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002451/0.1488, allocations: 123.4 kB / 0.5585 GB, free: 2.391 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.1488, allocations: 0 / 0.5585 GB, free: 2.391 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1488, allocations: 0 / 0.5585 GB, free: 2.391 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.1488, allocations: 4 kB / 0.5585 GB, free: 2.387 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.0006314/0.1494, allocations: 438.5 kB / 0.5589 GB, free: 1.906 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.1494, allocations: 11.97 kB / 0.5589 GB, free: 1.895 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.917e-05/0.1495, allocations: 34.75 kB / 0.559 GB, free: 1.852 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.914e-05/0.1495, allocations: 16.84 kB / 0.559 GB, free: 1.836 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002232/0.1497, allocations: 216.1 kB / 0.5592 GB, free: 1.586 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.139e-05/0.1498, allocations: 4.375 kB / 0.5592 GB, free: 1.582 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.386e-05/0.1498, allocations: 8.375 kB / 0.5592 GB, free: 1.574 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001823/0.15, allocations: 62.23 kB / 0.5593 GB, free: 1.508 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.58e-05/0.15, allocations: 11.88 kB / 0.5593 GB, free: 1.496 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.15, allocations: 0 / 0.5593 GB, free: 1.496 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.15, allocations: 0 / 0.5593 GB, free: 1.496 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001563/0.1501, allocations: 43.95 kB / 0.5593 GB, free: 1.453 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005124/0.1507, allocations: 332.7 kB / 0.5596 GB, free: 1.078 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002569/0.1509, allocations: 58.58 kB / 0.5597 GB, free: 1.012 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.612e-05/0.151, allocations: 24.97 kB / 0.5597 GB, free: 0.9844 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.652e-05/0.151, allocations: 3.984 kB / 0.5597 GB, free: 0.9805 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.728e-05/0.1511, allocations: 46.5 kB / 0.5598 GB, free: 0.9258 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.653e-06/0.1511, allocations: 0 / 0.5598 GB, free: 0.9258 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.001636/0.1527, allocations: 420.9 kB / 0.5602 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.55e-05/0.1528, allocations: 55.34 kB / 0.5602 GB, free: 452 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002599/0.153, allocations: 226.6 kB / 0.5604 GB, free: 212 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.97e-05/0.153, allocations: 33.7 kB / 0.5605 GB, free: 172 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.785e-05/0.1531, allocations: 104.1 kB / 0.5606 GB, free: 64 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.878e-05/0.1532, allocations: 35.69 kB / 0.5606 GB, free: 28 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.466e-05/0.1532, allocations: 25.8 kB / 0.5606 GB, free: 15.99 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001556/0.1534, allocations: 326.8 kB / 0.5609 GB, free: 15.66 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001502/0.1536, allocations: 52.52 kB / 0.561 GB, free: 15.61 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001496/0.1537, allocations: 59.97 kB / 0.5611 GB, free: 15.55 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000293/0.154, allocations: 124.7 kB / 0.5612 GB, free: 15.43 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.154, allocations: 0 / 0.5612 GB, free: 15.43 MB / 430.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003924/0.1544, allocations: 173.5 kB / 0.5613 GB, free: 15.25 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.1544, allocations: 8 kB / 0.5613 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.1544, allocations: 0 / 0.5613 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.1544, allocations: 0 / 0.5613 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001239/0.1546, allocations: 31.98 kB / 0.5614 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.1546, allocations: 3.938 kB / 0.5614 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.915e-05/0.1546, allocations: 11.92 kB / 0.5614 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.204e-05/0.1546, allocations: 4 kB / 0.5614 GB, free: 15.2 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 (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.0001251/0.1548, allocations: 134.9 kB / 0.5615 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.283e-05/0.1548, allocations: 15.91 kB / 0.5615 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004599/0.1553, allocations: 194.9 kB / 0.5617 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.1553, allocations: 4 kB / 0.5617 GB, free: 14.83 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.1553, allocations: 3.938 kB / 0.5617 GB, free: 14.83 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.1553, allocations: 0 / 0.5617 GB, free: 14.83 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007723/0.1561, allocations: 0.5038 MB / 0.5622 GB, free: 14.27 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.471e-06/0.1561, allocations: 3.938 kB / 0.5622 GB, free: 14.26 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000109/0.1562, allocations: 23.98 kB / 0.5622 GB, free: 14.24 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.678e-06/0.1562, allocations: 4 kB / 0.5623 GB, free: 14.23 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.45e-05/0.1562, allocations: 7.984 kB / 0.5623 GB, free: 14.23 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.1562, allocations: 0 / 0.5623 GB, free: 14.23 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.1562, allocations: 8.062 kB / 0.5623 GB, free: 14.22 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004199/0.1566, allocations: 277.5 kB / 0.5625 GB, free: 13.93 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.14e-05/0.1567, allocations: 92.95 kB / 0.5626 GB, free: 13.82 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.384e-05/0.1567, allocations: 8 kB / 0.5626 GB, free: 13.81 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001061/0.1568, allocations: 11.98 kB / 0.5626 GB, free: 13.8 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.469e-05/0.1569, allocations: 7.984 kB / 0.5626 GB, free: 13.79 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.264e-05/0.1569, allocations: 11.98 kB / 0.5627 GB, free: 13.78 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001511/0.157, allocations: 167.2 kB / 0.5628 GB, free: 13.61 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.157, allocations: 0 / 0.5628 GB, free: 13.61 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002751/0.1573, allocations: 27.94 kB / 0.5628 GB, free: 13.59 MB / 430.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.002353/0.1596, allocations: 1.164 MB / 0.564 GB, free: 12.55 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003785/0.16, allocations: 131.8 kB / 0.5641 GB, free: 12.43 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.16, allocations: 0 / 0.5641 GB, free: 12.43 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001736/0.1602, allocations: 67.89 kB / 0.5642 GB, free: 12.36 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003793/0.1606, allocations: 26.23 kB / 0.5642 GB, free: 12.34 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002687/0.1633, allocations: 1.976 MB / 0.5661 GB, free: 10.27 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003577/0.1636, allocations: 0.7197 MB / 0.5668 GB, free: 9.523 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.816e-05/0.1637, allocations: 32.52 kB / 0.5669 GB, free: 9.492 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.068e-05/0.1638, allocations: 43.42 kB / 0.5669 GB, free: 9.449 MB / 430.1 MB Notification: Performance of SimCode: time 3.7e-07/0.1638, allocations: 0 / 0.5669 GB, free: 9.449 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02644/0.1902, allocations: 3.653 MB / 0.5705 GB, free: 5.844 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.91/8.101, allocations: 3.984 kB / 0.5705 GB, free: 5.84 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test30.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30_res.csv failed! Error: Could not read variable clock1.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30_res.csv. Warning: Get data of variable clock1.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30_res.csv failed! Error: Could not read variable clock2.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30_res.csv. Warning: Get data of variable clock2.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30_res.csv failed! Error: Could not read variable d2_t_new.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30_res.csv. Warning: Get data of variable d2_t_new.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.33549840503838]