Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test14.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.001315/0.001315, allocations: 132.4 kB / 17.8 MB, free: 5.219 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.001341/0.001341, allocations: 210.5 kB / 20.75 MB, free: 2.27 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.627/1.627, allocations: 230.4 MB / 254 MB, free: 15.17 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.2636/0.2636, allocations: 46.92 MB / 357 MB, free: 10.29 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.Test14,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test14",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test14,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test14",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002261/0.002261, allocations: 84.06 kB / 0.491 GB, free: 7.766 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1432/0.1454, allocations: 66.04 MB / 0.5555 GB, free: 5.598 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test14): time 0.003262/0.1487, allocations: 1.676 MB / 0.5571 GB, free: 3.91 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001896/0.1506, allocations: 1.206 MB / 0.5583 GB, free: 2.699 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.773e-05/0.1506, allocations: 7.938 kB / 0.5583 GB, free: 2.691 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002594/0.1509, allocations: 27.84 kB / 0.5583 GB, free: 2.664 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003259/0.1512, allocations: 83.56 kB / 0.5584 GB, free: 2.582 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004479/0.1517, allocations: 186.5 kB / 0.5586 GB, free: 2.402 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001754/0.1519, allocations: 71.83 kB / 0.5587 GB, free: 2.332 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001198/0.152, allocations: 8 kB / 0.5587 GB, free: 2.324 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.647e-05/0.152, allocations: 43.78 kB / 0.5587 GB, free: 2.281 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001563/0.1522, allocations: 39.84 kB / 0.5587 GB, free: 2.242 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.716e-05/0.1522, allocations: 4 kB / 0.5587 GB, free: 2.238 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001986/0.1524, allocations: 103.9 kB / 0.5588 GB, free: 2.137 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.455e-05/0.1525, allocations: 27.84 kB / 0.5589 GB, free: 2.109 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.183e-05/0.1525, allocations: 27.8 kB / 0.5589 GB, free: 2.082 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003131/0.1529, allocations: 151.5 kB / 0.559 GB, free: 1.934 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.1529, allocations: 0 / 0.559 GB, free: 1.934 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1529, allocations: 3.938 kB / 0.559 GB, free: 1.93 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.084e-05/0.1529, allocations: 4 kB / 0.559 GB, free: 1.926 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.0007023/0.1536, allocations: 430.6 kB / 0.5595 GB, free: 1.453 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.006e-05/0.1536, allocations: 8.031 kB / 0.5595 GB, free: 1.445 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.604e-05/0.1537, allocations: 34.69 kB / 0.5595 GB, free: 1.402 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.805e-05/0.1537, allocations: 12.89 kB / 0.5595 GB, free: 1.391 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002721/0.154, allocations: 199 kB / 0.5597 GB, free: 1.16 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.154, allocations: 4.375 kB / 0.5597 GB, free: 1.156 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.299e-05/0.154, allocations: 4.375 kB / 0.5597 GB, free: 1.152 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002193/0.1542, allocations: 79.94 kB / 0.5598 GB, free: 1.062 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.1543, allocations: 3.938 kB / 0.5598 GB, free: 1.059 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.1543, allocations: 0 / 0.5598 GB, free: 1.059 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.378e-05/0.1543, allocations: 4 kB / 0.5598 GB, free: 1.055 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001556/0.1544, allocations: 51.86 kB / 0.5598 GB, free: 1.004 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005208/0.155, allocations: 312.8 kB / 0.5601 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001418/0.1551, allocations: 42.56 kB / 0.5602 GB, free: 0.5977 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.603e-05/0.1552, allocations: 24.94 kB / 0.5602 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.24e-05/0.1552, allocations: 0 / 0.5602 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.636e-05/0.1552, allocations: 42.48 kB / 0.5602 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.1552, allocations: 0 / 0.5602 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008766/0.1561, allocations: 229.3 kB / 0.5605 GB, free: 296 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.398e-05/0.1562, allocations: 77.11 kB / 0.5605 GB, free: 200 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001932/0.1564, allocations: 157.6 kB / 0.5607 GB, free: 32 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.847e-05/0.1564, allocations: 29.75 kB / 0.5607 GB, free: 15.99 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001126/0.1565, allocations: 104 kB / 0.5608 GB, free: 15.89 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.222e-05/0.1566, allocations: 27.86 kB / 0.5608 GB, free: 15.86 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.16e-05/0.1566, allocations: 25.7 kB / 0.5609 GB, free: 15.83 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001774/0.1568, allocations: 322.8 kB / 0.5612 GB, free: 15.51 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001371/0.1569, allocations: 39.95 kB / 0.5612 GB, free: 15.47 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001338/0.1571, allocations: 49.69 kB / 0.5613 GB, free: 15.41 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002445/0.1573, allocations: 92.83 kB / 0.5614 GB, free: 15.32 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.71e-07/0.1573, allocations: 0 / 0.5614 GB, free: 15.32 MB / 430.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000305/0.1576, allocations: 121.5 kB / 0.5615 GB, free: 15.2 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.483e-05/0.1576, allocations: 8 kB / 0.5615 GB, free: 15.19 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.1577, allocations: 0 / 0.5615 GB, free: 15.19 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.1577, allocations: 4 kB / 0.5615 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001277/0.1578, allocations: 19.98 kB / 0.5615 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.111e-05/0.1578, allocations: 7.984 kB / 0.5615 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.89e-05/0.1579, allocations: 4 kB / 0.5615 GB, free: 15.15 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.212e-05/0.1579, allocations: 8 kB / 0.5615 GB, free: 15.14 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.0001078/0.158, allocations: 121.8 kB / 0.5616 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.259e-05/0.158, allocations: 15.91 kB / 0.5616 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003729/0.1584, allocations: 154.5 kB / 0.5618 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.1584, allocations: 0 / 0.5618 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.1584, allocations: 0 / 0.5618 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.1584, allocations: 0 / 0.5618 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006023/0.159, allocations: 414.4 kB / 0.5622 GB, free: 14.38 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.159, allocations: 4 kB / 0.5622 GB, free: 14.38 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.908e-05/0.1591, allocations: 23.92 kB / 0.5622 GB, free: 14.35 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.1591, allocations: 0 / 0.5622 GB, free: 14.35 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.092e-05/0.1591, allocations: 4 kB / 0.5622 GB, free: 14.35 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.1591, allocations: 3.938 kB / 0.5622 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.1591, allocations: 0 / 0.5622 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003761/0.1595, allocations: 223.4 kB / 0.5624 GB, free: 14.11 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.842e-05/0.1596, allocations: 89.05 kB / 0.5625 GB, free: 14 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.255e-05/0.1596, allocations: 4 kB / 0.5625 GB, free: 14 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/0.1597, allocations: 19.86 kB / 0.5625 GB, free: 13.98 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.118e-05/0.1597, allocations: 3.984 kB / 0.5625 GB, free: 13.98 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.634e-06/0.1597, allocations: 4 kB / 0.5626 GB, free: 13.97 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001168/0.1599, allocations: 121.7 kB / 0.5627 GB, free: 13.86 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1599, allocations: 4 kB / 0.5627 GB, free: 13.85 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002876/0.1602, allocations: 39.88 kB / 0.5627 GB, free: 13.81 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.002418/0.1626, allocations: 1.142 MB / 0.5638 GB, free: 12.81 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003413/0.1629, allocations: 95.86 kB / 0.5639 GB, free: 12.72 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1629, allocations: 0 / 0.5639 GB, free: 12.72 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001358/0.1631, allocations: 43.97 kB / 0.564 GB, free: 12.68 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003488/0.1634, allocations: 15.92 kB / 0.564 GB, free: 12.66 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002247/0.1656, allocations: 1.655 MB / 0.5656 GB, free: 10.92 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003544/0.166, allocations: 0.7039 MB / 0.5663 GB, free: 10.19 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.417e-05/0.1661, allocations: 32.72 kB / 0.5663 GB, free: 10.16 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.673e-05/0.1662, allocations: 35.41 kB / 0.5663 GB, free: 10.12 MB / 430.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1662, allocations: 0 / 0.5663 GB, free: 10.12 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02717/0.1933, allocations: 3.613 MB / 0.5699 GB, free: 6.523 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.952/8.145, allocations: 11.98 kB / 0.5699 GB, free: 6.512 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test14.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test14_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0119952 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test14.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test14_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test14/Test14.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test14.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.Test14_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test14_res.csv failed! Error: Could not read variable clock1.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test14_res.csv. Warning: Get data of variable clock1.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test14_res.csv failed! Error: Could not read variable clock2.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test14_res.csv. Warning: Get data of variable clock2.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test14_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.598490447970107]