Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001367/0.001367, allocations: 102.7 kB / 16.27 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001356/0.001356, allocations: 192.3 kB / 17.2 MB, free: 5.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.408/1.408, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2106/0.2106, allocations: 43.52 MB / 313.9 MB, free: 0.5234 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00144/0.00144, allocations: 67.41 kB / 382.8 MB, free: 56.67 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1551/0.1566, allocations: 57.79 MB / 440.6 MB, free: 6.801 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.006762/0.1634, allocations: 1.593 MB / 442.2 MB, free: 5.188 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00122/0.1647, allocations: 347.5 kB / 442.6 MB, free: 4.844 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001311/0.1648, allocations: 8 kB / 442.6 MB, free: 4.836 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008348/0.1657, allocations: 451.1 kB / 443 MB, free: 4.395 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006031/0.1664, allocations: 251.4 kB / 443.3 MB, free: 4.148 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008074/0.1672, allocations: 154.7 kB / 443.4 MB, free: 4 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005478/0.1678, allocations: 163.7 kB / 443.6 MB, free: 3.84 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001943/0.168, allocations: 20.17 kB / 443.6 MB, free: 3.82 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002957/0.1683, allocations: 107.8 kB / 443.7 MB, free: 3.715 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00043/0.1688, allocations: 211.6 kB / 443.9 MB, free: 3.508 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.04e-05/0.1688, allocations: 0 / 443.9 MB, free: 3.508 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001621/0.169, allocations: 35.98 kB / 443.9 MB, free: 3.473 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001745/0.1692, allocations: 87.67 kB / 444 MB, free: 3.387 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001708/0.1694, allocations: 99 kB / 444.1 MB, free: 3.289 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004882/0.1699, allocations: 251 kB / 444.4 MB, free: 3.043 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.967e-06/0.1699, allocations: 4 kB / 444.4 MB, free: 3.039 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.1699, allocations: 0 / 444.4 MB, free: 3.039 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.6e-05/0.17, allocations: 0 / 444.4 MB, free: 3.039 MB / 318.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.00113/0.1711, allocations: 0.6375 MB / 445 MB, free: 2.352 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.286e-05/0.1712, allocations: 15.89 kB / 445 MB, free: 2.336 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.885e-05/0.1712, allocations: 38.73 kB / 445.1 MB, free: 2.289 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001335/0.1714, allocations: 48.31 kB / 445.1 MB, free: 2.242 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004416/0.1719, allocations: 296.2 kB / 445.4 MB, free: 1.914 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.707e-05/0.1719, allocations: 4.312 kB / 445.4 MB, free: 1.91 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.214e-05/0.1719, allocations: 8.125 kB / 445.4 MB, free: 1.902 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002681/0.1722, allocations: 57.67 kB / 445.5 MB, free: 1.84 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.303e-05/0.1723, allocations: 0 / 445.5 MB, free: 1.84 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.771e-05/0.1723, allocations: 0 / 445.5 MB, free: 1.84 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.433e-05/0.1723, allocations: 0 / 445.5 MB, free: 1.84 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001843/0.1725, allocations: 39.91 kB / 445.5 MB, free: 1.801 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008499/0.1734, allocations: 408.6 kB / 445.9 MB, free: 1.352 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003626/0.1738, allocations: 42.56 kB / 445.9 MB, free: 1.301 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.434e-05/0.1739, allocations: 12.86 kB / 445.9 MB, free: 1.285 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.719e-05/0.1739, allocations: 4.078 kB / 446 MB, free: 1.281 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.287e-05/0.174, allocations: 38.5 kB / 446 MB, free: 1.234 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 2.064e-06/0.174, allocations: 0 / 446 MB, free: 1.234 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0009961/0.175, allocations: 228 kB / 446.2 MB, free: 1.004 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.816e-05/0.175, allocations: 55.34 kB / 446.3 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001122/0.1762, allocations: 0.8691 MB / 447.1 MB, free: 60 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.41e-05/0.1762, allocations: 29.7 kB / 447.2 MB, free: 24 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002886/0.1765, allocations: 224.1 kB / 447.4 MB, free: 15.8 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.18e-05/0.1766, allocations: 19.66 kB / 447.4 MB, free: 15.78 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.317e-05/0.1767, allocations: 25.72 kB / 447.4 MB, free: 15.75 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002445/0.1769, allocations: 362.8 kB / 447.8 MB, free: 15.39 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001379/0.1771, allocations: 19.98 kB / 447.8 MB, free: 15.37 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000134/0.1772, allocations: 19.98 kB / 447.8 MB, free: 15.35 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002744/0.1775, allocations: 52.83 kB / 447.9 MB, free: 15.29 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.1775, allocations: 0 / 447.9 MB, free: 15.29 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0004367/0.178, allocations: 121.2 kB / 448 MB, free: 15.17 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.865e-05/0.178, allocations: 7.938 kB / 448 MB, free: 15.16 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/0.1781, allocations: 4 kB / 448 MB, free: 15.16 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.347e-05/0.1781, allocations: 0 / 448 MB, free: 15.16 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001083/0.1782, allocations: 11.98 kB / 448 MB, free: 15.14 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.517e-05/0.1782, allocations: 7.922 kB / 448 MB, free: 15.14 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001132/0.1784, allocations: 4 kB / 448 MB, free: 15.13 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.603e-05/0.1784, allocations: 4 kB / 448 MB, free: 15.13 MB / 334.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 (5): * Single equations (assignments): 5 * 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.0003592/0.1788, allocations: 221.7 kB / 448.2 MB, free: 14.9 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001153/0.1789, allocations: 39.44 kB / 448.3 MB, free: 14.86 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005245/0.1795, allocations: 145.3 kB / 448.4 MB, free: 14.71 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.1795, allocations: 3.938 kB / 448.4 MB, free: 14.71 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/0.1795, allocations: 3.938 kB / 448.4 MB, free: 14.71 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.183e-06/0.1795, allocations: 4 kB / 448.4 MB, free: 14.7 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009215/0.1804, allocations: 466.5 kB / 448.9 MB, free: 14.19 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/0.1805, allocations: 4 kB / 448.9 MB, free: 14.19 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.835e-05/0.1806, allocations: 11.98 kB / 448.9 MB, free: 14.18 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.766e-06/0.1806, allocations: 3.938 kB / 448.9 MB, free: 14.17 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.467e-05/0.1806, allocations: 0 / 448.9 MB, free: 14.17 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.898e-06/0.1806, allocations: 0 / 448.9 MB, free: 14.17 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.1807, allocations: 4 kB / 448.9 MB, free: 14.17 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004665/0.1811, allocations: 222.9 kB / 449.1 MB, free: 13.93 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001394/0.1813, allocations: 112.5 kB / 449.2 MB, free: 13.8 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.635e-05/0.1814, allocations: 7.875 kB / 449.3 MB, free: 13.8 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001724/0.1816, allocations: 11.98 kB / 449.3 MB, free: 13.79 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.808e-05/0.1816, allocations: 0 / 449.3 MB, free: 13.79 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.208e-05/0.1817, allocations: 4 kB / 449.3 MB, free: 13.78 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001111/0.1828, allocations: 0.6511 MB / 449.9 MB, free: 13.13 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.1828, allocations: 0 / 449.9 MB, free: 13.13 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004722/0.1833, allocations: 28 kB / 449.9 MB, free: 13.11 MB / 334.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 (5): * Single equations (assignments): 5 * 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.002475/0.1858, allocations: 1.054 MB / 451 MB, free: 12.11 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004182/0.1862, allocations: 59.95 kB / 451.1 MB, free: 12.05 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 6.132e-06/0.1862, allocations: 0 / 451.1 MB, free: 12.05 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001616/0.1864, allocations: 31.86 kB / 451.1 MB, free: 12.02 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008336/0.1873, allocations: 28.33 kB / 451.1 MB, free: 11.99 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007266/0.1946, allocations: 3.259 MB / 454.4 MB, free: 8.633 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007811/0.1954, allocations: 0.8347 MB / 455.2 MB, free: 7.773 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001324/0.1955, allocations: 11.98 kB / 455.2 MB, free: 7.762 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002597/0.1958, allocations: 115.4 kB / 455.3 MB, free: 7.648 MB / 334.1 MB Notification: Performance of SimCode: time 7.31e-07/0.1958, allocations: 0 / 455.3 MB, free: 7.648 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03523/0.2311, allocations: 5.902 MB / 461.2 MB, free: 1.719 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.928/8.159, allocations: 15.56 kB / 461.3 MB, free: 1.707 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test2_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test2.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches