Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test21.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.0008421/0.0008421, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0009018/0.0009018, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.9008/0.9008, allocations: 177.1 MB / 204.3 MB, free: 5.711 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2307/0.2307, allocations: 34.25 MB / 294.9 MB, free: 0.707 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test21,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test21,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test21",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 442.2 MB, free: 1.641 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.727e-05/1.897e-05, allocations: 2.281 kB / 442.2 MB, free: 1.637 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test21): time 0.1709/0.1709, allocations: 1.982 MB / 444.2 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001231/0.1722, allocations: 0.9971 MB / 445.2 MB, free: 43 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000122/0.1723, allocations: 3.609 kB / 445.2 MB, free: 43 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004254/0.1727, allocations: 259 kB / 445.4 MB, free: 42.95 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003929/0.1731, allocations: 265.7 kB / 445.7 MB, free: 42.89 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000655/0.1737, allocations: 495.5 kB / 446.2 MB, free: 42.75 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002928/0.174, allocations: 336.1 kB / 446.5 MB, free: 42.7 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001693/0.1742, allocations: 45.83 kB / 446.5 MB, free: 42.69 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000161/0.1744, allocations: 183.8 kB / 446.7 MB, free: 42.66 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001987/0.1746, allocations: 192.2 kB / 446.9 MB, free: 42.63 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.795e-05/0.1746, allocations: 13.34 kB / 446.9 MB, free: 42.63 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001447/0.1747, allocations: 103.3 kB / 447 MB, free: 42.61 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.858e-05/0.1748, allocations: 97.84 kB / 447.1 MB, free: 42.57 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.425e-05/0.1749, allocations: 63.7 kB / 447.2 MB, free: 42.54 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003233/0.1752, allocations: 347.2 kB / 447.5 MB, free: 42.39 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.1752, allocations: 0 / 447.5 MB, free: 42.39 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1752, allocations: 6.156 kB / 447.5 MB, free: 42.39 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.297e-05/0.1752, allocations: 0 / 447.5 MB, free: 42.39 MB / 410.7 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.0005783/0.1758, allocations: 0.6227 MB / 448.1 MB, free: 41.89 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.1759, allocations: 8.312 kB / 448.1 MB, free: 41.89 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.98e-05/0.1759, allocations: 48.75 kB / 448.2 MB, free: 41.84 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.985e-05/0.1759, allocations: 44.81 kB / 448.2 MB, free: 41.82 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002333/0.1762, allocations: 276.9 kB / 448.5 MB, free: 41.6 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.1762, allocations: 7.188 kB / 448.5 MB, free: 41.6 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.091e-05/0.1762, allocations: 19.41 kB / 448.5 MB, free: 41.59 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001805/0.1764, allocations: 104.5 kB / 448.6 MB, free: 41.54 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.1764, allocations: 192 / 448.6 MB, free: 41.54 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.1764, allocations: 10.69 kB / 448.6 MB, free: 41.53 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.1764, allocations: 5.219 kB / 448.7 MB, free: 41.53 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000107/0.1765, allocations: 76 kB / 448.7 MB, free: 41.5 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004682/0.177, allocations: 459 kB / 449.2 MB, free: 41.18 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001289/0.1771, allocations: 87.2 kB / 449.3 MB, free: 41.13 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.809e-05/0.1772, allocations: 34.2 kB / 449.3 MB, free: 41.11 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.325e-05/0.1772, allocations: 3.531 kB / 449.3 MB, free: 41.11 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.677e-05/0.1772, allocations: 30.56 kB / 449.3 MB, free: 41.07 MB / 410.7 MB Notification: Performance of pre-optimization done (n=11): time 1.282e-06/0.1772, allocations: 0.5625 kB / 449.3 MB, free: 41.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=17): time 0.0006407/0.1779, allocations: 403.8 kB / 449.7 MB, free: 40.89 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.275e-05/0.1779, allocations: 51.41 kB / 449.8 MB, free: 40.82 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004297/0.1783, allocations: 0.59 MB / 450.4 MB, free: 40.59 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.129e-05/0.1783, allocations: 32.3 kB / 450.4 MB, free: 40.56 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.723e-05/0.1784, allocations: 216.8 kB / 450.6 MB, free: 40.38 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.777e-05/0.1784, allocations: 60.64 kB / 450.7 MB, free: 40.33 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.739e-05/0.1785, allocations: 32.16 kB / 450.7 MB, free: 40.31 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.286e-05/0.1785, allocations: 358.5 kB / 451 MB, free: 39.98 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.162e-05/0.1786, allocations: 47.95 kB / 451.1 MB, free: 39.96 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.261e-05/0.1787, allocations: 56.47 kB / 451.1 MB, free: 39.95 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000139/0.1788, allocations: 126.2 kB / 451.3 MB, free: 39.89 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.1788, allocations: 0 / 451.3 MB, free: 39.89 MB / 410.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001957/0.179, allocations: 206.4 kB / 451.5 MB, free: 39.79 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.179, allocations: 6.875 kB / 451.5 MB, free: 39.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.942e-06/0.179, allocations: 0.5625 kB / 451.5 MB, free: 39.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.179, allocations: 0 / 451.5 MB, free: 39.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001072/0.1791, allocations: 33.69 kB / 451.5 MB, free: 39.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.1792, allocations: 6.344 kB / 451.5 MB, free: 39.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.507e-05/0.1792, allocations: 9.812 kB / 451.5 MB, free: 39.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.606e-06/0.1792, allocations: 5.781 kB / 451.5 MB, free: 39.79 MB / 410.7 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.0001048/0.1793, allocations: 172.1 kB / 451.7 MB, free: 39.65 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.578e-05/0.1793, allocations: 46.75 kB / 451.7 MB, free: 39.62 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002875/0.1796, allocations: 251.9 kB / 452 MB, free: 39.5 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.1796, allocations: 7.172 kB / 452 MB, free: 39.5 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.1796, allocations: 2.062 kB / 452 MB, free: 39.5 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.1796, allocations: 0 / 452 MB, free: 39.5 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004835/0.1801, allocations: 0.5848 MB / 452.6 MB, free: 39.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.1801, allocations: 0 / 452.6 MB, free: 39.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.767e-05/0.1802, allocations: 27.62 kB / 452.6 MB, free: 39.11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.796e-06/0.1802, allocations: 6.969 kB / 452.6 MB, free: 39.11 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.1802, allocations: 6.875 kB / 452.6 MB, free: 39.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.1802, allocations: 3.375 kB / 452.6 MB, free: 39.11 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.1802, allocations: 0 / 452.6 MB, free: 39.11 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001999/0.1804, allocations: 304.2 kB / 452.9 MB, free: 38.9 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.322e-05/0.1804, allocations: 46.62 kB / 453 MB, free: 38.87 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.067e-05/0.1805, allocations: 2.938 kB / 453 MB, free: 38.87 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.464e-05/0.1805, allocations: 13.06 kB / 453 MB, free: 38.87 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.281e-05/0.1805, allocations: 14.66 kB / 453 MB, free: 38.87 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.322e-06/0.1806, allocations: 6.812 kB / 453 MB, free: 38.86 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002607/0.1808, allocations: 448.9 kB / 453.5 MB, free: 38.68 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1808, allocations: 0 / 453.5 MB, free: 38.68 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001934/0.181, allocations: 50.06 kB / 453.5 MB, free: 38.67 MB / 410.7 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.001461/0.1825, allocations: 1.501 MB / 455 MB, free: 37.76 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002127/0.1827, allocations: 131.3 kB / 455.1 MB, free: 37.72 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1827, allocations: 0 / 455.1 MB, free: 37.72 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.958e-05/0.1828, allocations: 66.97 kB / 455.2 MB, free: 37.7 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000431/0.1832, allocations: 94.45 kB / 455.3 MB, free: 37.67 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002293/0.1855, allocations: 3.193 MB / 458.5 MB, free: 35.83 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001285/0.1856, allocations: 209.9 kB / 458.7 MB, free: 35.74 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001023/0.1857, allocations: 52.86 kB / 458.7 MB, free: 35.72 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000102/0.1858, allocations: 139.2 kB / 458.9 MB, free: 35.63 MB / 410.7 MB Notification: Performance of SimCode: time 8.21e-07/0.1858, allocations: 0 / 458.9 MB, free: 35.63 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01994/0.2058, allocations: 8.457 MB / 467.3 MB, free: 33.71 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.612/6.818, allocations: 3.375 kB / 467.3 MB, free: 33.71 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test21_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test21_fmu --startTime=0 --stopTime=6 --stepSize=0.00119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test21.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test21.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: 8.784001670777798]