Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.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.001777/0.001777, allocations: 122.2 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.002163/0.002163, allocations: 215.1 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.538/1.538, 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.242/0.242, allocations: 44.91 MB / 355.8 MB, free: 12.33 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.Test19,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test19",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test19,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test19",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.001892/0.001892, allocations: 75.89 kB / 0.4886 GB, free: 11.69 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1553/0.1572, allocations: 65.41 MB / 0.5524 GB, free: 10.14 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test19): time 0.004034/0.1613, allocations: 1.953 MB / 0.5543 GB, free: 8.176 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002073/0.1633, allocations: 0.9896 MB / 0.5553 GB, free: 7.18 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.948e-05/0.1634, allocations: 0 / 0.5553 GB, free: 7.18 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005746/0.164, allocations: 255.2 kB / 0.5556 GB, free: 6.93 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005605/0.1646, allocations: 259.1 kB / 0.5558 GB, free: 6.676 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001092/0.1657, allocations: 478.2 kB / 0.5563 GB, free: 6.219 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004536/0.1661, allocations: 307.1 kB / 0.5566 GB, free: 5.918 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001888/0.1663, allocations: 36.95 kB / 0.5566 GB, free: 5.883 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001798/0.1665, allocations: 135.4 kB / 0.5567 GB, free: 5.75 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003048/0.1668, allocations: 223.2 kB / 0.5569 GB, free: 5.531 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.875e-05/0.1668, allocations: 8 kB / 0.5569 GB, free: 5.523 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001405/0.167, allocations: 51.98 kB / 0.557 GB, free: 5.473 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001371/0.1671, allocations: 91.61 kB / 0.5571 GB, free: 5.383 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001315/0.1672, allocations: 115 kB / 0.5572 GB, free: 5.27 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004372/0.1677, allocations: 302.5 kB / 0.5575 GB, free: 4.973 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.1677, allocations: 0 / 0.5575 GB, free: 4.973 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1677, allocations: 3.938 kB / 0.5575 GB, free: 4.969 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.1677, allocations: 4 kB / 0.5575 GB, free: 4.965 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0009281/0.1686, allocations: 0.6608 MB / 0.5581 GB, free: 4.254 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.1686, allocations: 12.03 kB / 0.5581 GB, free: 4.242 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.705e-05/0.1687, allocations: 192 / 0.5581 GB, free: 4.242 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.813e-05/0.1687, allocations: 38.75 kB / 0.5582 GB, free: 4.195 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.195e-05/0.1688, allocations: 40.66 kB / 0.5582 GB, free: 4.156 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003992/0.1692, allocations: 330.5 kB / 0.5585 GB, free: 3.793 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.616e-05/0.1692, allocations: 8.375 kB / 0.5585 GB, free: 3.785 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.705e-05/0.1692, allocations: 8.125 kB / 0.5585 GB, free: 3.777 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002004/0.1694, allocations: 85.59 kB / 0.5586 GB, free: 3.688 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.1694, allocations: 0 / 0.5586 GB, free: 3.688 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.1694, allocations: 4 kB / 0.5586 GB, free: 3.684 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.1694, allocations: 4 kB / 0.5586 GB, free: 3.68 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001594/0.1696, allocations: 47.97 kB / 0.5587 GB, free: 3.633 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006893/0.1703, allocations: 452.4 kB / 0.5591 GB, free: 3.141 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001424/0.1704, allocations: 62.48 kB / 0.5592 GB, free: 3.07 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.21e-05/0.1705, allocations: 28.97 kB / 0.5592 GB, free: 3.039 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.732e-05/0.1705, allocations: 0 / 0.5592 GB, free: 3.039 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.346e-05/0.1706, allocations: 34.56 kB / 0.5592 GB, free: 2.996 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 9.22e-07/0.1706, allocations: 0 / 0.5592 GB, free: 2.996 MB / 414.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003816/0.1709, allocations: 137.3 kB / 0.5594 GB, free: 2.855 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.147e-05/0.171, allocations: 59.41 kB / 0.5594 GB, free: 2.785 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007378/0.1717, allocations: 0.5838 MB / 0.56 GB, free: 2.191 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.791e-05/0.1718, allocations: 25.7 kB / 0.56 GB, free: 2.16 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001797/0.1719, allocations: 216 kB / 0.5602 GB, free: 1.945 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.169e-05/0.172, allocations: 23.78 kB / 0.5602 GB, free: 1.922 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.538e-05/0.172, allocations: 25.7 kB / 0.5603 GB, free: 1.891 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002096/0.1722, allocations: 350.8 kB / 0.5606 GB, free: 1.539 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.249e-05/0.1723, allocations: 15.98 kB / 0.5606 GB, free: 1.523 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.959e-05/0.1723, allocations: 24 kB / 0.5606 GB, free: 1.5 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001317/0.1725, allocations: 48.83 kB / 0.5607 GB, free: 1.449 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.1725, allocations: 0 / 0.5607 GB, free: 1.449 MB / 414.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002336/0.1727, allocations: 113.4 kB / 0.5608 GB, free: 1.332 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.666e-05/0.1727, allocations: 4 kB / 0.5608 GB, free: 1.328 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.1727, allocations: 4 kB / 0.5608 GB, free: 1.324 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.37e-05/0.1728, allocations: 3.938 kB / 0.5608 GB, free: 1.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001037/0.1729, allocations: 12 kB / 0.5608 GB, free: 1.309 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.1729, allocations: 4 kB / 0.5608 GB, free: 1.305 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.109e-05/0.1729, allocations: 11.94 kB / 0.5608 GB, free: 1.293 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.371e-05/0.173, allocations: 7.984 kB / 0.5608 GB, free: 1.285 MB / 414.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 (6): * Single equations (assignments): 6 * 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.000181/0.1731, allocations: 168 kB / 0.561 GB, free: 1.113 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.421e-05/0.1732, allocations: 39.72 kB / 0.561 GB, free: 1.074 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003221/0.1735, allocations: 137 kB / 0.5612 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.1736, allocations: 0.5 kB / 0.5612 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.1736, allocations: 0 / 0.5612 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.1736, allocations: 8 kB / 0.5612 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000416/0.174, allocations: 285.5 kB / 0.5614 GB, free: 0.5938 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.612e-06/0.174, allocations: 8 kB / 0.5615 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.153e-05/0.174, allocations: 11.98 kB / 0.5615 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.174, allocations: 0 / 0.5615 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/0.1741, allocations: 7.875 kB / 0.5615 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.1741, allocations: 4 kB / 0.5615 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.1741, allocations: 0 / 0.5615 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003134/0.1744, allocations: 219.2 kB / 0.5617 GB, free: 340 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001093/0.1745, allocations: 124.8 kB / 0.5618 GB, free: 196 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.365e-05/0.1745, allocations: 3.938 kB / 0.5618 GB, free: 192 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.07e-05/0.1746, allocations: 4 kB / 0.5618 GB, free: 188 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.122e-05/0.1746, allocations: 7.984 kB / 0.5618 GB, free: 180 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.639e-06/0.1746, allocations: 0 / 0.5618 GB, free: 180 kB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005554/0.1752, allocations: 443.1 kB / 0.5622 GB, free: 15.75 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1752, allocations: 0 / 0.5622 GB, free: 15.75 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003076/0.1755, allocations: 39.88 kB / 0.5623 GB, free: 15.71 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 (6): * Single equations (assignments): 6 * 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.002988/0.1785, allocations: 1.245 MB / 0.5635 GB, free: 14.7 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002039/0.1787, allocations: 47.91 kB / 0.5635 GB, free: 14.66 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1787, allocations: 8 kB / 0.5636 GB, free: 14.65 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 6.421e-05/0.1788, allocations: 19.98 kB / 0.5636 GB, free: 14.63 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005664/0.1793, allocations: 98.72 kB / 0.5637 GB, free: 14.55 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003834/0.1832, allocations: 2.843 MB / 0.5664 GB, free: 11.62 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000463/0.1836, allocations: 0.7983 MB / 0.5672 GB, free: 10.79 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001245/0.1837, allocations: 37.5 kB / 0.5673 GB, free: 10.76 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001565/0.1839, allocations: 111.4 kB / 0.5674 GB, free: 10.65 MB / 430.1 MB Notification: Performance of SimCode: time 4.6e-07/0.1839, allocations: 0 / 0.5674 GB, free: 10.65 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02409/0.208, allocations: 6.851 MB / 0.5741 GB, free: 3.824 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.788/8.995, allocations: 4.875 kB / 0.5741 GB, free: 3.82 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test19_fmu --startTime=0 --stopTime=6 --stepSize=0.00119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test19.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test19/Test19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.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: 12.447590833995491]