Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.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.001814/0.001814, allocations: 120.1 kB / 18.49 MB, free: 4.586 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.002196/0.002196, allocations: 215 kB / 21.45 MB, free: 1.641 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.536/1.536, allocations: 230.6 MB / 254.8 MB, free: 15.24 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.2218/0.2218, allocations: 44.9 MB / 355.8 MB, free: 12.36 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.CombiTable2Dv.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test20",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test20",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.00217/0.00217, allocations: 67.91 kB / 0.4886 GB, free: 11.7 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1523/0.1545, allocations: 65.42 MB / 0.5524 GB, free: 10.14 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test20): time 0.005825/0.1603, allocations: 2.052 MB / 0.5545 GB, free: 8.078 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002605/0.1629, allocations: 1.134 MB / 0.5556 GB, free: 6.938 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003056/0.1633, allocations: 3.938 kB / 0.5556 GB, free: 6.934 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007899/0.164, allocations: 267.1 kB / 0.5558 GB, free: 6.672 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007319/0.1648, allocations: 259.1 kB / 0.5561 GB, free: 6.418 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001688/0.1665, allocations: 0.6456 MB / 0.5567 GB, free: 5.785 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006612/0.1671, allocations: 366.8 kB / 0.557 GB, free: 5.426 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002321/0.1674, allocations: 60.66 kB / 0.5571 GB, free: 5.367 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002644/0.1676, allocations: 155.3 kB / 0.5573 GB, free: 5.215 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003429/0.168, allocations: 227.2 kB / 0.5575 GB, free: 4.992 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.066e-05/0.168, allocations: 12 kB / 0.5575 GB, free: 4.98 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002225/0.1682, allocations: 79.91 kB / 0.5576 GB, free: 4.902 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001597/0.1684, allocations: 99.61 kB / 0.5577 GB, free: 4.805 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000158/0.1685, allocations: 138.9 kB / 0.5578 GB, free: 4.668 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005501/0.1691, allocations: 358.2 kB / 0.5581 GB, free: 4.316 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.1691, allocations: 0 / 0.5581 GB, free: 4.316 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.1691, allocations: 0 / 0.5581 GB, free: 4.316 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.296e-05/0.1691, allocations: 0 / 0.5581 GB, free: 4.316 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0009861/0.1701, allocations: 0.6996 MB / 0.5588 GB, free: 3.566 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.97e-05/0.1701, allocations: 15.97 kB / 0.5588 GB, free: 3.551 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.509e-05/0.1702, allocations: 192 / 0.5588 GB, free: 3.551 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.744e-05/0.1702, allocations: 46.69 kB / 0.5589 GB, free: 3.496 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.41e-05/0.1703, allocations: 44.66 kB / 0.5589 GB, free: 3.453 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004995/0.1708, allocations: 354.4 kB / 0.5592 GB, free: 3.066 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.736e-05/0.1708, allocations: 12.31 kB / 0.5593 GB, free: 3.055 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.85e-05/0.1709, allocations: 16.12 kB / 0.5593 GB, free: 3.039 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003196/0.1712, allocations: 135.7 kB / 0.5594 GB, free: 2.902 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.745e-05/0.1712, allocations: 3.953 kB / 0.5594 GB, free: 2.898 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.448e-05/0.1712, allocations: 0 / 0.5594 GB, free: 2.898 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.1712, allocations: 4 kB / 0.5594 GB, free: 2.895 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002106/0.1714, allocations: 87.94 kB / 0.5595 GB, free: 2.809 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007977/0.1722, allocations: 0.5199 MB / 0.56 GB, free: 2.238 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002381/0.1725, allocations: 110.5 kB / 0.5601 GB, free: 2.121 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.609e-05/0.1725, allocations: 36.84 kB / 0.5601 GB, free: 2.082 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.616e-05/0.1726, allocations: 7.984 kB / 0.5602 GB, free: 2.074 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.516e-05/0.1726, allocations: 38.5 kB / 0.5602 GB, free: 2.027 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.433e-06/0.1726, allocations: 4 kB / 0.5602 GB, free: 2.023 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.001154/0.1738, allocations: 458.6 kB / 0.5606 GB, free: 1.57 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.789e-05/0.1738, allocations: 55.31 kB / 0.5607 GB, free: 1.504 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007472/0.1746, allocations: 0.6034 MB / 0.5613 GB, free: 0.8906 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.196e-05/0.1746, allocations: 25.7 kB / 0.5613 GB, free: 0.8594 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001963/0.1748, allocations: 216.4 kB / 0.5615 GB, free: 0.6406 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.44e-05/0.1749, allocations: 67.44 kB / 0.5616 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.638e-05/0.1749, allocations: 33.7 kB / 0.5616 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002038/0.1751, allocations: 358.7 kB / 0.5619 GB, free: 180 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001556/0.1753, allocations: 63.95 kB / 0.562 GB, free: 116 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001395/0.1754, allocations: 71.89 kB / 0.5621 GB, free: 44 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003247/0.1758, allocations: 151 kB / 0.5622 GB, free: 15.89 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.1758, allocations: 4 kB / 0.5622 GB, free: 15.89 MB / 430.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004369/0.1762, allocations: 233.2 kB / 0.5624 GB, free: 15.66 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.1762, allocations: 8 kB / 0.5624 GB, free: 15.65 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.1762, allocations: 0 / 0.5624 GB, free: 15.65 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.1762, allocations: 0 / 0.5624 GB, free: 15.65 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001661/0.1764, allocations: 39.91 kB / 0.5625 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.1764, allocations: 3.938 kB / 0.5625 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.16e-05/0.1765, allocations: 4 kB / 0.5625 GB, free: 15.6 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.855e-05/0.1765, allocations: 16 kB / 0.5625 GB, free: 15.59 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 (17): * Single equations (assignments): 17 * 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.0001981/0.1767, allocations: 181.7 kB / 0.5627 GB, free: 15.4 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.517e-05/0.1768, allocations: 51.66 kB / 0.5627 GB, free: 15.35 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005793/0.1774, allocations: 279.9 kB / 0.563 GB, free: 15.06 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.76e-06/0.1774, allocations: 4 kB / 0.563 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.1774, allocations: 0 / 0.563 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.039e-05/0.1774, allocations: 7.922 kB / 0.563 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001017/0.1784, allocations: 0.6934 MB / 0.5637 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.1784, allocations: 4 kB / 0.5637 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001219/0.1785, allocations: 27.98 kB / 0.5637 GB, free: 14.27 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.1785, allocations: 0 / 0.5637 GB, free: 14.27 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.558e-05/0.1786, allocations: 8 kB / 0.5637 GB, free: 14.26 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.1786, allocations: 3.938 kB / 0.5637 GB, free: 14.25 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.1786, allocations: 3.984 kB / 0.5637 GB, free: 14.25 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005251/0.1791, allocations: 340.9 kB / 0.5641 GB, free: 13.9 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001063/0.1792, allocations: 120.8 kB / 0.5642 GB, free: 13.77 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.656e-05/0.1792, allocations: 0 / 0.5642 GB, free: 13.77 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000121/0.1793, allocations: 19.92 kB / 0.5642 GB, free: 13.75 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.903e-05/0.1794, allocations: 7.984 kB / 0.5642 GB, free: 13.74 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.533e-05/0.1794, allocations: 8 kB / 0.5642 GB, free: 13.73 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005418/0.18, allocations: 450.8 kB / 0.5646 GB, free: 13.29 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.18, allocations: 0 / 0.5646 GB, free: 13.29 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003339/0.1803, allocations: 51.94 kB / 0.5647 GB, free: 13.24 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 (17): * Single equations (assignments): 17 * 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.003657/0.1839, allocations: 1.475 MB / 0.5661 GB, free: 12.06 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004778/0.1844, allocations: 167.7 kB / 0.5663 GB, free: 11.89 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1844, allocations: 0 / 0.5663 GB, free: 11.89 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001731/0.1846, allocations: 83.89 kB / 0.5664 GB, free: 11.81 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006143/0.1852, allocations: 85.75 kB / 0.5665 GB, free: 11.74 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004739/0.19, allocations: 3.352 MB / 0.5697 GB, free: 8.305 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005949/0.1905, allocations: 0.826 MB / 0.5705 GB, free: 7.449 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001943/0.1907, allocations: 58.23 kB / 0.5706 GB, free: 7.391 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002137/0.191, allocations: 139.4 kB / 0.5707 GB, free: 7.254 MB / 430.1 MB Notification: Performance of SimCode: time 7.42e-07/0.191, allocations: 0 / 0.5707 GB, free: 7.254 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0265/0.2175, allocations: 7.963 MB / 0.5785 GB, free: 15.32 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.834/9.051, allocations: 15.69 kB / 0.5785 GB, free: 15.3 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test20_fmu --startTime=0 --stopTime=6 --stepSize=0.00119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test20.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.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.46736377000343]