Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25.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.001372/0.001372, 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 trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001413/0.001413, allocations: 206.6 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.517/1.517, allocations: 230.4 MB / 254 MB, free: 15.03 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.2272/0.2272, allocations: 46.93 MB / 357 MB, free: 10.2 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.CombiTable2Ds.Test25,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test25",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test25,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test25",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00233/0.00233, allocations: 75.88 kB / 0.491 GB, free: 7.727 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1492/0.1515, allocations: 66.05 MB / 0.5555 GB, free: 5.547 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test25): time 0.003395/0.1549, allocations: 1.683 MB / 0.5571 GB, free: 3.848 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001094/0.156, allocations: 0.5605 MB / 0.5577 GB, free: 3.285 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.565e-05/0.1561, allocations: 3.938 kB / 0.5577 GB, free: 3.281 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002465/0.1563, allocations: 43.81 kB / 0.5577 GB, free: 3.238 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003286/0.1567, allocations: 99.59 kB / 0.5578 GB, free: 3.141 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003715/0.157, allocations: 131.6 kB / 0.558 GB, free: 3.016 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001669/0.1572, allocations: 75.83 kB / 0.558 GB, free: 2.941 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001563/0.1573, allocations: 24.16 kB / 0.5581 GB, free: 2.914 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.033e-05/0.1574, allocations: 27.91 kB / 0.5581 GB, free: 2.887 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001199/0.1575, allocations: 55.75 kB / 0.5581 GB, free: 2.832 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.55e-05/0.1575, allocations: 8 kB / 0.5581 GB, free: 2.824 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001117/0.1577, allocations: 51.92 kB / 0.5582 GB, free: 2.773 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.395e-05/0.1577, allocations: 19.92 kB / 0.5582 GB, free: 2.754 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.762e-05/0.1578, allocations: 39.78 kB / 0.5582 GB, free: 2.715 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002141/0.158, allocations: 115.4 kB / 0.5584 GB, free: 2.602 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.158, allocations: 4 kB / 0.5584 GB, free: 2.598 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.158, allocations: 0 / 0.5584 GB, free: 2.598 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.457e-06/0.158, allocations: 0 / 0.5584 GB, free: 2.598 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.0005703/0.1586, allocations: 414.8 kB / 0.5588 GB, free: 2.141 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.1586, allocations: 12.03 kB / 0.5588 GB, free: 2.129 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.517e-05/0.1586, allocations: 46.67 kB / 0.5588 GB, free: 2.074 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.465e-05/0.1587, allocations: 12.89 kB / 0.5588 GB, free: 2.062 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000207/0.1589, allocations: 192.2 kB / 0.559 GB, free: 1.836 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.066e-05/0.1589, allocations: 4.375 kB / 0.559 GB, free: 1.832 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.539e-05/0.1589, allocations: 12.33 kB / 0.559 GB, free: 1.82 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001688/0.1591, allocations: 62.17 kB / 0.5591 GB, free: 1.754 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.1591, allocations: 3.938 kB / 0.5591 GB, free: 1.75 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.896e-06/0.1591, allocations: 0 / 0.5591 GB, free: 1.75 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.1591, allocations: 11.94 kB / 0.5591 GB, free: 1.738 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001509/0.1593, allocations: 39.95 kB / 0.5591 GB, free: 1.699 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004078/0.1597, allocations: 304.8 kB / 0.5594 GB, free: 1.352 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002514/0.1599, allocations: 54.58 kB / 0.5595 GB, free: 1.289 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.185e-05/0.16, allocations: 28.97 kB / 0.5595 GB, free: 1.258 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.582e-05/0.16, allocations: 7.922 kB / 0.5595 GB, free: 1.25 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.536e-05/0.1601, allocations: 34.56 kB / 0.5595 GB, free: 1.207 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.272e-06/0.1601, allocations: 0 / 0.5595 GB, free: 1.207 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.001528/0.1616, allocations: 389 kB / 0.5599 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.693e-05/0.1617, allocations: 51.41 kB / 0.56 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002023/0.1619, allocations: 186.1 kB / 0.5601 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.457e-05/0.1619, allocations: 33.69 kB / 0.5602 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.6e-05/0.162, allocations: 100.1 kB / 0.5603 GB, free: 432 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.871e-05/0.162, allocations: 35.69 kB / 0.5603 GB, free: 396 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.838e-05/0.1621, allocations: 29.7 kB / 0.5603 GB, free: 360 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.1622, allocations: 318.8 kB / 0.5606 GB, free: 32 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001462/0.1623, allocations: 43.97 kB / 0.5607 GB, free: 15.99 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001304/0.1625, allocations: 43.98 kB / 0.5607 GB, free: 15.95 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002727/0.1627, allocations: 105 kB / 0.5608 GB, free: 15.84 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.1627, allocations: 0.5625 kB / 0.5608 GB, free: 15.84 MB / 430.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003316/0.1631, allocations: 145.5 kB / 0.561 GB, free: 15.69 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/0.1631, allocations: 8 kB / 0.561 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.1631, allocations: 0 / 0.561 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.1631, allocations: 3.938 kB / 0.561 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001277/0.1632, allocations: 27.98 kB / 0.561 GB, free: 15.65 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.1633, allocations: 3.938 kB / 0.561 GB, free: 15.65 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.982e-05/0.1633, allocations: 11.98 kB / 0.561 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.411e-05/0.1633, allocations: 12 kB / 0.561 GB, free: 15.62 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.000102/0.1634, allocations: 122.7 kB / 0.5611 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.905e-05/0.1635, allocations: 11.91 kB / 0.5612 GB, free: 15.48 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004312/0.1639, allocations: 170.1 kB / 0.5613 GB, free: 15.31 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.1639, allocations: 0 / 0.5613 GB, free: 15.31 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.054e-06/0.1639, allocations: 7.938 kB / 0.5613 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.1639, allocations: 3.938 kB / 0.5613 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007128/0.1646, allocations: 472 kB / 0.5618 GB, free: 14.78 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/0.1646, allocations: 7.938 kB / 0.5618 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001094/0.1648, allocations: 27.97 kB / 0.5618 GB, free: 14.74 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.1648, allocations: 8.047 kB / 0.5618 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.1648, allocations: 4 kB / 0.5618 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.1648, allocations: 0 / 0.5618 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.1648, allocations: 0 / 0.5618 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004024/0.1652, allocations: 269 kB / 0.5621 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.691e-05/0.1652, allocations: 89 kB / 0.5622 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.848e-05/0.1652, allocations: 0 / 0.5622 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001055/0.1654, allocations: 15.98 kB / 0.5622 GB, free: 14.32 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.515e-05/0.1654, allocations: 7.984 kB / 0.5622 GB, free: 14.32 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.017e-06/0.1654, allocations: 4 kB / 0.5622 GB, free: 14.31 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001318/0.1656, allocations: 144 kB / 0.5623 GB, free: 14.17 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1656, allocations: 0 / 0.5623 GB, free: 14.17 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002693/0.1658, allocations: 24 kB / 0.5624 GB, free: 14.15 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.002456/0.1683, allocations: 1.143 MB / 0.5635 GB, free: 13.14 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003617/0.1686, allocations: 111.8 kB / 0.5636 GB, free: 13.03 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1686, allocations: 0 / 0.5636 GB, free: 13.03 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001446/0.1688, allocations: 51.91 kB / 0.5636 GB, free: 12.98 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004191/0.1692, allocations: 19.98 kB / 0.5636 GB, free: 12.96 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002507/0.1717, allocations: 1.789 MB / 0.5654 GB, free: 11.08 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003676/0.1721, allocations: 0.7041 MB / 0.5661 GB, free: 10.35 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.183e-05/0.1722, allocations: 24.41 kB / 0.5661 GB, free: 10.33 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.333e-05/0.1722, allocations: 35.7 kB / 0.5661 GB, free: 10.29 MB / 430.1 MB Notification: Performance of SimCode: time 6.91e-07/0.1722, allocations: 3.938 kB / 0.5661 GB, free: 10.29 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02592/0.1982, allocations: 3.343 MB / 0.5694 GB, free: 6.988 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.145/8.343, allocations: 17.69 kB / 0.5694 GB, free: 6.977 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25_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_CombiTable2Ds_Test25.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test25/Test25.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25_res.csv. Warning: Get data of variable t_new.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25_res.csv failed! Error: Could not read variable clock1.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25_res.csv. Warning: Get data of variable clock1.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25_res.csv failed! Error: Could not read variable clock2.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25_res.csv. Warning: Get data of variable clock2.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25_res.csv failed! Error: Could not read variable d2_t_new.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25_res.csv. Warning: Get data of variable d2_t_new.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.636151005979627]