Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.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.001833/0.001833, allocations: 121 kB / 18.5 MB, free: 4.562 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.002587/0.002587, allocations: 213.5 kB / 21.45 MB, free: 1.617 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.522/1.522, allocations: 230.6 MB / 254.8 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2477/0.2477, allocations: 44.9 MB / 355.8 MB, free: 12.34 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test17,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test17",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test17,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test17",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00195/0.00195, allocations: 67.91 kB / 0.4886 GB, free: 11.82 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1504/0.1523, allocations: 65.42 MB / 0.5524 GB, free: 10.27 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test17): time 0.003759/0.1561, allocations: 1.663 MB / 0.5541 GB, free: 8.598 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001024/0.1571, allocations: 0.688 MB / 0.5547 GB, free: 7.906 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.915e-05/0.1572, allocations: 8 kB / 0.5547 GB, free: 7.898 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002747/0.1574, allocations: 27.84 kB / 0.5548 GB, free: 7.871 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002311/0.1577, allocations: 43.81 kB / 0.5548 GB, free: 7.828 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.859e-06/0.1577, allocations: 0 / 0.5548 GB, free: 7.828 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001636/0.1578, allocations: 27.91 kB / 0.5548 GB, free: 7.801 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.99e-05/0.1579, allocations: 8.266 kB / 0.5548 GB, free: 7.793 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.573e-05/0.1579, allocations: 11.94 kB / 0.5549 GB, free: 7.781 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.582e-05/0.158, allocations: 15.92 kB / 0.5549 GB, free: 7.766 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.038e-05/0.158, allocations: 0 / 0.5549 GB, free: 7.766 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.464e-05/0.1581, allocations: 15.98 kB / 0.5549 GB, free: 7.75 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.049e-05/0.1581, allocations: 15.94 kB / 0.5549 GB, free: 7.734 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 3.237e-05/0.1581, allocations: 19.81 kB / 0.5549 GB, free: 7.715 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001746/0.1583, allocations: 75.55 kB / 0.555 GB, free: 7.641 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.1583, allocations: 0 / 0.555 GB, free: 7.641 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.1583, allocations: 0 / 0.555 GB, free: 7.641 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.1583, allocations: 0 / 0.555 GB, free: 7.641 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004844/0.1588, allocations: 371.1 kB / 0.5553 GB, free: 7.227 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.1588, allocations: 8.031 kB / 0.5554 GB, free: 7.219 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.521e-05/0.1589, allocations: 4.188 kB / 0.5554 GB, free: 7.215 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.888e-05/0.1589, allocations: 38.75 kB / 0.5554 GB, free: 7.168 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.985e-05/0.159, allocations: 8.891 kB / 0.5554 GB, free: 7.16 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001925/0.1591, allocations: 180.2 kB / 0.5556 GB, free: 6.945 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.207e-06/0.1592, allocations: 8.297 kB / 0.5556 GB, free: 6.938 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.394e-05/0.1592, allocations: 384 / 0.5556 GB, free: 6.938 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002181/0.1594, allocations: 127.1 kB / 0.5557 GB, free: 6.789 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.1594, allocations: 4 kB / 0.5557 GB, free: 6.785 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-06/0.1594, allocations: 0 / 0.5557 GB, free: 6.785 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.952e-05/0.1595, allocations: 23.98 kB / 0.5557 GB, free: 6.762 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.361e-05/0.1595, allocations: 47.84 kB / 0.5558 GB, free: 6.715 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007863/0.1603, allocations: 0.8868 MB / 0.5566 GB, free: 5.758 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001075/0.1604, allocations: 177.1 kB / 0.5568 GB, free: 5.574 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.036e-05/0.1605, allocations: 80.14 kB / 0.5569 GB, free: 5.492 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.725e-05/0.1605, allocations: 83.28 kB / 0.557 GB, free: 5.41 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.829e-05/0.1606, allocations: 105.8 kB / 0.5571 GB, free: 5.297 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 1.182e-06/0.1606, allocations: 0 / 0.5571 GB, free: 5.297 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 9.674e-05/0.1607, allocations: 37.61 kB / 0.5571 GB, free: 5.254 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.457e-05/0.1608, allocations: 130.6 kB / 0.5572 GB, free: 5.113 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002171/0.161, allocations: 184.4 kB / 0.5574 GB, free: 4.926 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.449e-05/0.161, allocations: 25.7 kB / 0.5574 GB, free: 4.895 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001218/0.1611, allocations: 155.5 kB / 0.5576 GB, free: 4.738 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.928e-06/0.1611, allocations: 4 kB / 0.5576 GB, free: 4.734 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.229e-05/0.1612, allocations: 45.66 kB / 0.5576 GB, free: 4.684 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001691/0.1613, allocations: 318.8 kB / 0.5579 GB, free: 4.363 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.227e-05/0.1614, allocations: 31.98 kB / 0.558 GB, free: 4.332 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001485/0.1616, allocations: 150.7 kB / 0.5581 GB, free: 4.125 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002557/0.1618, allocations: 216.8 kB / 0.5583 GB, free: 3.852 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.1618, allocations: 0 / 0.5583 GB, free: 3.852 MB / 414.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003386/0.1622, allocations: 205.4 kB / 0.5585 GB, free: 3.645 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.1622, allocations: 10.19 kB / 0.5585 GB, free: 3.637 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.517e-06/0.1622, allocations: 4 kB / 0.5585 GB, free: 3.633 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.325e-05/0.1622, allocations: 7.984 kB / 0.5585 GB, free: 3.625 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001364/0.1623, allocations: 39.92 kB / 0.5586 GB, free: 3.586 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.247e-05/0.1624, allocations: 7.938 kB / 0.5586 GB, free: 3.578 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.22e-05/0.1624, allocations: 19.89 kB / 0.5586 GB, free: 3.559 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.188e-05/0.1625, allocations: 16 kB / 0.5586 GB, free: 3.543 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001524/0.1626, allocations: 222.1 kB / 0.5588 GB, free: 3.316 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.125e-05/0.1627, allocations: 113 kB / 0.5589 GB, free: 3.199 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.098e-05/0.1628, allocations: 124.6 kB / 0.559 GB, free: 3.07 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.194e-05/0.1629, allocations: 176.3 kB / 0.5592 GB, free: 2.891 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.31e-05/0.1629, allocations: 184.2 kB / 0.5594 GB, free: 2.703 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.613e-05/0.163, allocations: 180.3 kB / 0.5596 GB, free: 2.52 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003127/0.1633, allocations: 425.1 kB / 0.56 GB, free: 2.047 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-05/0.1634, allocations: 104.9 kB / 0.5601 GB, free: 1.938 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.933e-05/0.1634, allocations: 112.9 kB / 0.5602 GB, free: 1.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.065e-05/0.1635, allocations: 184.2 kB / 0.5604 GB, free: 1.633 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.779e-05/0.1636, allocations: 176.3 kB / 0.5605 GB, free: 1.453 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.466e-05/0.1637, allocations: 180.3 kB / 0.5607 GB, free: 1.27 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.361e-05/0.1638, allocations: 180.2 kB / 0.5609 GB, free: 1.086 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002861/0.1641, allocations: 327.6 kB / 0.5612 GB, free: 0.7422 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001024/0.1642, allocations: 186 kB / 0.5614 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001436/0.1643, allocations: 180.3 kB / 0.5615 GB, free: 360 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001099/0.1644, allocations: 108.9 kB / 0.5616 GB, free: 244 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.203e-05/0.1645, allocations: 180.3 kB / 0.5618 GB, free: 56 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.942e-05/0.1646, allocations: 108.9 kB / 0.5619 GB, free: 15.94 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001149/0.1647, allocations: 127.2 kB / 0.562 GB, free: 15.82 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1647, allocations: 0 / 0.562 GB, free: 15.82 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000349/0.1651, allocations: 16 kB / 0.562 GB, free: 15.8 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 (0): * Single equations (assignments): 0 * 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.001121/0.1662, allocations: 0.9138 MB / 0.5629 GB, free: 14.91 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001677/0.1664, allocations: 76.78 kB / 0.563 GB, free: 14.84 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.1664, allocations: 0 / 0.563 GB, free: 14.84 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 4.568e-06/0.1664, allocations: 4 kB / 0.563 GB, free: 14.83 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004352/0.1668, allocations: 465.8 kB / 0.5635 GB, free: 14.38 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001938/0.1687, allocations: 1.869 MB / 0.5653 GB, free: 12.3 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003822/0.1691, allocations: 0.7045 MB / 0.566 GB, free: 11.57 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000209/0.1693, allocations: 45.03 kB / 0.566 GB, free: 11.53 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.837e-05/0.1694, allocations: 27.42 kB / 0.566 GB, free: 11.5 MB / 430.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1694, allocations: 0 / 0.566 GB, free: 11.5 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02029/0.1897, allocations: 2.18 MB / 0.5682 GB, free: 9.391 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.371/8.561, allocations: 11.38 kB / 0.5682 GB, free: 9.383 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test17_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test17.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test17/Test17.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.83856039098464]