Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.CombiTable2Ds.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test4",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.001318/0.001318, allocations: 107.7 kB / 17.21 MB, free: 6.289 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.001608/0.001609, allocations: 194 kB / 18.12 MB, free: 5.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.44/1.44, allocations: 222.9 MB / 241.8 MB, free: 13.8 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.226/0.226, allocations: 44.18 MB / 336.1 MB, free: 2.793 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002151/0.002151, allocations: 66.8 kB / 407.8 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1658/0.168, allocations: 60.83 MB / 468.6 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test4): time 0.004127/0.1722, allocations: 1.672 MB / 470.3 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009593/0.1732, allocations: 423.1 kB / 470.7 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.486e-05/0.1733, allocations: 4 kB / 470.7 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007345/0.1741, allocations: 443.3 kB / 471.2 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004173/0.1746, allocations: 243.5 kB / 471.4 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005146/0.1751, allocations: 126.7 kB / 471.5 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003888/0.1755, allocations: 147.7 kB / 471.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001767/0.1757, allocations: 24.14 kB / 471.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002239/0.1759, allocations: 99.73 kB / 471.8 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003381/0.1763, allocations: 203.6 kB / 472 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.666e-05/0.1763, allocations: 4 kB / 472 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001341/0.1764, allocations: 31.92 kB / 472 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00018/0.1766, allocations: 83.67 kB / 472.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001099/0.1767, allocations: 99 kB / 472.2 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000415/0.1772, allocations: 255.2 kB / 472.4 MB, free: 10.9 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.665e-06/0.1772, allocations: 0 / 472.4 MB, free: 10.9 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1772, allocations: 0 / 472.4 MB, free: 10.9 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.304e-05/0.1772, allocations: 4 kB / 472.4 MB, free: 10.89 MB / 350.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.001169/0.1784, allocations: 0.6336 MB / 473.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.405e-05/0.1785, allocations: 12.03 kB / 473.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.673e-05/0.1785, allocations: 34.75 kB / 473.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001136/0.1786, allocations: 36.47 kB / 473.2 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003995/0.1791, allocations: 296.2 kB / 473.5 MB, free: 9.793 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.1791, allocations: 384 / 473.5 MB, free: 9.793 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.434e-05/0.1791, allocations: 8.125 kB / 473.5 MB, free: 9.785 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001826/0.1793, allocations: 61.66 kB / 473.5 MB, free: 9.719 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.1793, allocations: 0 / 473.5 MB, free: 9.719 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.1793, allocations: 4 kB / 473.5 MB, free: 9.715 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.1793, allocations: 0 / 473.5 MB, free: 9.715 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001089/0.1795, allocations: 27.92 kB / 473.6 MB, free: 9.688 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005946/0.1801, allocations: 388.6 kB / 473.9 MB, free: 9.258 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002261/0.1803, allocations: 46.56 kB / 474 MB, free: 9.203 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.228e-05/0.1804, allocations: 12.94 kB / 474 MB, free: 9.188 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.543e-05/0.1804, allocations: 11.94 kB / 474 MB, free: 9.176 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.411e-05/0.1804, allocations: 30.56 kB / 474 MB, free: 9.137 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.703e-06/0.1804, allocations: 0 / 474 MB, free: 9.137 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006702/0.1811, allocations: 220 kB / 474.2 MB, free: 8.914 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.374e-05/0.1812, allocations: 55.34 kB / 474.3 MB, free: 8.848 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008534/0.182, allocations: 0.8691 MB / 475.2 MB, free: 7.969 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.014e-05/0.182, allocations: 25.7 kB / 475.2 MB, free: 7.938 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001822/0.1822, allocations: 228 kB / 475.4 MB, free: 7.711 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.509e-05/0.1823, allocations: 15.75 kB / 475.4 MB, free: 7.695 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.934e-05/0.1823, allocations: 17.72 kB / 475.5 MB, free: 7.672 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002093/0.1826, allocations: 362.8 kB / 475.8 MB, free: 7.309 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.76e-05/0.1826, allocations: 19.98 kB / 475.8 MB, free: 7.289 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.645e-05/0.1827, allocations: 19.98 kB / 475.8 MB, free: 7.27 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001259/0.1829, allocations: 40.84 kB / 475.9 MB, free: 7.227 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.1829, allocations: 0 / 475.9 MB, free: 7.227 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002644/0.1831, allocations: 121 kB / 476 MB, free: 7.102 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.917e-05/0.1832, allocations: 12 kB / 476 MB, free: 7.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.1832, allocations: 0 / 476 MB, free: 7.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.996e-05/0.1832, allocations: 0 / 476 MB, free: 7.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.341e-05/0.1833, allocations: 8 kB / 476 MB, free: 7.082 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.273e-05/0.1833, allocations: 3.938 kB / 476 MB, free: 7.078 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.673e-05/0.1834, allocations: 7.984 kB / 476 MB, free: 7.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.077e-05/0.1834, allocations: 4 kB / 476 MB, free: 7.066 MB / 350.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.0002432/0.1837, allocations: 213.8 kB / 476.2 MB, free: 6.848 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.436e-05/0.1837, allocations: 39.44 kB / 476.3 MB, free: 6.809 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003329/0.1841, allocations: 141.3 kB / 476.4 MB, free: 6.66 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.1841, allocations: 0 / 476.4 MB, free: 6.66 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.247e-06/0.1841, allocations: 3.938 kB / 476.4 MB, free: 6.656 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.653e-06/0.1841, allocations: 4 kB / 476.4 MB, free: 6.652 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006735/0.1848, allocations: 458.5 kB / 476.9 MB, free: 6.148 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.1848, allocations: 4 kB / 476.9 MB, free: 6.145 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.766e-05/0.1849, allocations: 12 kB / 476.9 MB, free: 6.133 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.115e-06/0.1849, allocations: 3.938 kB / 476.9 MB, free: 6.129 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.878e-06/0.1849, allocations: 3.938 kB / 476.9 MB, free: 6.125 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.1849, allocations: 0 / 476.9 MB, free: 6.125 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.1849, allocations: 0 / 476.9 MB, free: 6.125 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002913/0.1852, allocations: 211.2 kB / 477.1 MB, free: 5.902 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.94e-05/0.1853, allocations: 112.6 kB / 477.2 MB, free: 5.773 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.535e-05/0.1854, allocations: 11.92 kB / 477.2 MB, free: 5.762 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.646e-05/0.1855, allocations: 3.984 kB / 477.2 MB, free: 5.758 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.498e-05/0.1855, allocations: 4 kB / 477.2 MB, free: 5.754 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.566e-06/0.1855, allocations: 3.984 kB / 477.2 MB, free: 5.75 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006673/0.1862, allocations: 0.655 MB / 477.9 MB, free: 5.098 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.1862, allocations: 0 / 477.9 MB, free: 5.098 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002727/0.1865, allocations: 23.91 kB / 477.9 MB, free: 5.074 MB / 350.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.001464/0.188, allocations: 1.043 MB / 479 MB, free: 4.16 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001923/0.1882, allocations: 47.97 kB / 479 MB, free: 4.113 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/0.1882, allocations: 4 kB / 479 MB, free: 4.109 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.159e-05/0.1883, allocations: 27.92 kB / 479 MB, free: 4.082 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004407/0.1887, allocations: 29.94 kB / 479.1 MB, free: 4.055 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00381/0.1925, allocations: 3.291 MB / 482.4 MB, free: 0.668 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000444/0.193, allocations: 0.8224 MB / 483.2 MB, free: 15.82 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.511e-05/0.1931, allocations: 11.92 kB / 483.2 MB, free: 15.81 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001234/0.1932, allocations: 107.3 kB / 483.3 MB, free: 15.7 MB / 366.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1932, allocations: 0 / 483.3 MB, free: 15.7 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01805/0.2113, allocations: 5.684 MB / 489 MB, free: 10.12 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002096/0.2115, allocations: 228.4 kB / 489.2 MB, free: 9.863 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.882/2.093, allocations: 4 kB / 489.2 MB, free: 9.859 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test4_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test4.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches