Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.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.001712/0.001712, 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.002085/0.002085, 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.499/1.499, allocations: 230.4 MB / 254 MB, free: 15.02 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.2315/0.2315, allocations: 46.92 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.Test27,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test27,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test27",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002246/0.002246, allocations: 83.88 kB / 0.491 GB, free: 7.672 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1428/0.145, allocations: 66.05 MB / 0.5555 GB, free: 5.492 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test27): time 0.003501/0.1485, allocations: 1.685 MB / 0.5571 GB, free: 3.793 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00113/0.1496, allocations: 0.5878 MB / 0.5577 GB, free: 3.203 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.574e-05/0.1497, allocations: 0 / 0.5577 GB, free: 3.203 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003013/0.15, allocations: 63.72 kB / 0.5578 GB, free: 3.141 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003049/0.1503, allocations: 103.6 kB / 0.5579 GB, free: 3.039 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004522/0.1508, allocations: 176.8 kB / 0.558 GB, free: 2.871 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001881/0.151, allocations: 91.8 kB / 0.5581 GB, free: 2.781 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001194/0.1511, allocations: 20.16 kB / 0.5581 GB, free: 2.758 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.94e-05/0.1511, allocations: 31.92 kB / 0.5582 GB, free: 2.727 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000107/0.1512, allocations: 59.75 kB / 0.5582 GB, free: 2.668 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.786e-05/0.1513, allocations: 4 kB / 0.5582 GB, free: 2.664 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000109/0.1514, allocations: 55.91 kB / 0.5583 GB, free: 2.609 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.989e-05/0.1514, allocations: 31.91 kB / 0.5583 GB, free: 2.578 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.219e-05/0.1515, allocations: 31.75 kB / 0.5584 GB, free: 2.547 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002248/0.1517, allocations: 123.4 kB / 0.5585 GB, free: 2.426 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.1517, allocations: 0 / 0.5585 GB, free: 2.426 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1517, allocations: 0 / 0.5585 GB, free: 2.426 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.649e-06/0.1517, allocations: 0 / 0.5585 GB, free: 2.426 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.0006651/0.1524, allocations: 426.7 kB / 0.5589 GB, free: 1.957 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.1524, allocations: 11.97 kB / 0.5589 GB, free: 1.945 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.191e-05/0.1525, allocations: 38.73 kB / 0.5589 GB, free: 1.898 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.151e-05/0.1525, allocations: 16.84 kB / 0.5589 GB, free: 1.883 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002111/0.1527, allocations: 200.9 kB / 0.5591 GB, free: 1.648 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.032e-05/0.1527, allocations: 384 / 0.5591 GB, free: 1.648 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.503e-05/0.1528, allocations: 8.375 kB / 0.5591 GB, free: 1.641 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001925/0.153, allocations: 74.16 kB / 0.5592 GB, free: 1.562 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.153, allocations: 11.83 kB / 0.5592 GB, free: 1.551 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.153, allocations: 4 kB / 0.5592 GB, free: 1.547 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.153, allocations: 4 kB / 0.5592 GB, free: 1.543 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001547/0.1531, allocations: 39.97 kB / 0.5593 GB, free: 1.504 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005097/0.1537, allocations: 320.8 kB / 0.5596 GB, free: 1.141 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003059/0.154, allocations: 66.52 kB / 0.5596 GB, free: 1.066 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.67e-05/0.154, allocations: 24.97 kB / 0.5597 GB, free: 1.039 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.357e-05/0.1541, allocations: 0 / 0.5597 GB, free: 1.039 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.653e-05/0.1541, allocations: 34.56 kB / 0.5597 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.222e-06/0.1541, allocations: 0 / 0.5597 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.001595/0.1557, allocations: 437.2 kB / 0.5601 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.318e-05/0.1557, allocations: 55.34 kB / 0.5602 GB, free: 0.4961 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002177/0.156, allocations: 203.3 kB / 0.5604 GB, free: 296 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.899e-05/0.156, allocations: 25.7 kB / 0.5604 GB, free: 264 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.861e-05/0.1561, allocations: 104.1 kB / 0.5605 GB, free: 156 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.36e-05/0.1561, allocations: 39.64 kB / 0.5605 GB, free: 116 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.118e-05/0.1562, allocations: 21.72 kB / 0.5605 GB, free: 88 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001638/0.1563, allocations: 334.8 kB / 0.5609 GB, free: 15.75 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001472/0.1565, allocations: 51.97 kB / 0.5609 GB, free: 15.7 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001418/0.1566, allocations: 51.97 kB / 0.561 GB, free: 15.65 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002955/0.1569, allocations: 128.7 kB / 0.5611 GB, free: 15.52 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.1569, allocations: 4 kB / 0.5611 GB, free: 15.52 MB / 430.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003578/0.1573, allocations: 165.5 kB / 0.5612 GB, free: 15.35 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.1573, allocations: 6.344 kB / 0.5613 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.1573, allocations: 0 / 0.5613 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.1573, allocations: 0 / 0.5613 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001218/0.1574, allocations: 23.98 kB / 0.5613 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.205e-05/0.1574, allocations: 7.938 kB / 0.5613 GB, free: 15.31 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.863e-05/0.1575, allocations: 15.98 kB / 0.5613 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.278e-05/0.1575, allocations: 4 kB / 0.5613 GB, free: 15.29 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.0001139/0.1576, allocations: 133.8 kB / 0.5614 GB, free: 15.15 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.936e-05/0.1577, allocations: 11.91 kB / 0.5614 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004439/0.1581, allocations: 186.9 kB / 0.5616 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.1581, allocations: 4 kB / 0.5616 GB, free: 14.94 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.1581, allocations: 7.938 kB / 0.5616 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.1581, allocations: 0 / 0.5616 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007501/0.1589, allocations: 0.4999 MB / 0.5621 GB, free: 14.37 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.1589, allocations: 3.938 kB / 0.5621 GB, free: 14.37 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001096/0.159, allocations: 36.05 kB / 0.5622 GB, free: 14.33 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.159, allocations: 0 / 0.5622 GB, free: 14.33 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.878e-06/0.159, allocations: 0 / 0.5622 GB, free: 14.33 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.641e-06/0.159, allocations: 8.172 kB / 0.5622 GB, free: 14.32 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/0.159, allocations: 3.984 kB / 0.5622 GB, free: 14.32 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004276/0.1594, allocations: 289.5 kB / 0.5624 GB, free: 14.02 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.673e-05/0.1595, allocations: 93 kB / 0.5625 GB, free: 13.91 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.959e-05/0.1595, allocations: 0 / 0.5625 GB, free: 13.91 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.1596, allocations: 11.98 kB / 0.5625 GB, free: 13.89 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.571e-05/0.1597, allocations: 11.98 kB / 0.5626 GB, free: 13.88 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.568e-06/0.1597, allocations: 4 kB / 0.5626 GB, free: 13.88 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001486/0.1598, allocations: 156.9 kB / 0.5627 GB, free: 13.73 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1598, allocations: 0 / 0.5627 GB, free: 13.73 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002658/0.1601, allocations: 27.94 kB / 0.5627 GB, free: 13.7 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.002355/0.1625, allocations: 1.147 MB / 0.5639 GB, free: 12.68 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003578/0.1628, allocations: 131.8 kB / 0.564 GB, free: 12.55 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.1628, allocations: 0 / 0.564 GB, free: 12.55 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001702/0.163, allocations: 67.89 kB / 0.564 GB, free: 12.49 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003637/0.1634, allocations: 19.98 kB / 0.5641 GB, free: 12.47 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002549/0.1659, allocations: 1.92 MB / 0.5659 GB, free: 10.46 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003561/0.1663, allocations: 0.7197 MB / 0.5666 GB, free: 9.715 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.569e-05/0.1664, allocations: 28.53 kB / 0.5667 GB, free: 9.688 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.347e-05/0.1664, allocations: 43.41 kB / 0.5667 GB, free: 9.645 MB / 430.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1664, allocations: 4 kB / 0.5667 GB, free: 9.641 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02495/0.1914, allocations: 3.528 MB / 0.5702 GB, free: 6.16 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.937/8.128, allocations: 14.72 kB / 0.5702 GB, free: 6.148 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27_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_Test27.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Time in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27_res.csv. Warning: Get data of variable Time from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27_res.csv failed! Error: Could not read variable t_new.y[1] in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27_res.csv failed! Error: Could not read variable d2_t_new.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27_res.csv. Warning: Get data of variable d2_t_new.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27_res.csv failed! Error: Could not read variable clock1.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27_res.csv. Warning: Get data of variable clock1.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27_res.csv failed! Error: Could not read variable clock2.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27_res.csv. Warning: Get data of variable clock2.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.331973618012853]