Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.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.000855/0.000855, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.0008053/0.0008053, allocations: 170.3 kB / 23.95 MB, free: 0.6094 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.8773/0.8773, allocations: 177.1 MB / 204.3 MB, free: 5.738 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.2309/0.2309, allocations: 34.24 MB / 294.9 MB, free: 0.7305 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.CombiTable2Dv.Test21,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test21,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 442.2 MB, free: 1.68 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.365e-05/2.552e-05, allocations: 4.25 kB / 442.2 MB, free: 1.676 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test21): time 0.1747/0.1747, allocations: 1.982 MB / 444.2 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001262/0.176, allocations: 1.092 MB / 445.3 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001034/0.1761, allocations: 6.562 kB / 445.3 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003545/0.1765, allocations: 271.3 kB / 445.5 MB, free: 42.92 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003448/0.1768, allocations: 268.5 kB / 445.8 MB, free: 42.86 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007361/0.1775, allocations: 0.6552 MB / 446.4 MB, free: 42.68 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002677/0.1778, allocations: 370.5 kB / 446.8 MB, free: 42.61 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001423/0.178, allocations: 46.03 kB / 446.9 MB, free: 42.59 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001219/0.1781, allocations: 182.5 kB / 447 MB, free: 42.53 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001474/0.1782, allocations: 205.9 kB / 447.2 MB, free: 42.49 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.227e-05/0.1782, allocations: 11.53 kB / 447.2 MB, free: 42.49 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001179/0.1784, allocations: 103.4 kB / 447.3 MB, free: 42.46 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.676e-05/0.1784, allocations: 109.6 kB / 447.5 MB, free: 42.41 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.458e-05/0.1785, allocations: 68.64 kB / 447.5 MB, free: 42.37 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002506/0.1787, allocations: 348 kB / 447.9 MB, free: 42.24 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.1787, allocations: 0 / 447.9 MB, free: 42.24 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1788, allocations: 3.312 kB / 447.9 MB, free: 42.24 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.202e-06/0.1788, allocations: 0 / 447.9 MB, free: 42.24 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.0004966/0.1793, allocations: 0.6433 MB / 448.5 MB, free: 41.73 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.1793, allocations: 8.688 kB / 448.5 MB, free: 41.73 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.76e-05/0.1793, allocations: 44.89 kB / 448.6 MB, free: 41.68 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.599e-05/0.1794, allocations: 48.78 kB / 448.6 MB, free: 41.66 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002159/0.1796, allocations: 296.6 kB / 448.9 MB, free: 41.43 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.1796, allocations: 9.812 kB / 448.9 MB, free: 41.42 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.282e-05/0.1796, allocations: 14.38 kB / 448.9 MB, free: 41.42 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001671/0.1798, allocations: 121.8 kB / 449 MB, free: 41.36 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.1798, allocations: 4.141 kB / 449 MB, free: 41.36 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.1798, allocations: 7.938 kB / 449.1 MB, free: 41.35 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.1798, allocations: 5.219 kB / 449.1 MB, free: 41.35 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001182/0.1799, allocations: 96.5 kB / 449.2 MB, free: 41.32 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004195/0.1803, allocations: 479.7 kB / 449.6 MB, free: 41 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001162/0.1805, allocations: 107 kB / 449.7 MB, free: 40.95 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.137e-05/0.1805, allocations: 36.55 kB / 449.8 MB, free: 40.93 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.582e-05/0.1805, allocations: 2.844 kB / 449.8 MB, free: 40.93 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.465e-05/0.1805, allocations: 34.56 kB / 449.8 MB, free: 40.89 MB / 410.7 MB Notification: Performance of pre-optimization done (n=11): time 1.042e-06/0.1805, allocations: 0 / 449.8 MB, free: 40.89 MB / 410.7 MB Notification: Performance of matching and sorting (n=17): time 0.0006077/0.1812, allocations: 461.4 kB / 450.2 MB, free: 40.68 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.386e-05/0.1812, allocations: 58.38 kB / 450.3 MB, free: 40.62 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003526/0.1815, allocations: 0.6033 MB / 450.9 MB, free: 40.38 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.658e-06/0.1815, allocations: 28.45 kB / 450.9 MB, free: 40.34 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.479e-05/0.1816, allocations: 220.5 kB / 451.1 MB, free: 40.16 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.712e-05/0.1816, allocations: 56.55 kB / 451.2 MB, free: 40.11 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.682e-05/0.1817, allocations: 34.94 kB / 451.2 MB, free: 40.09 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.812e-05/0.1817, allocations: 357 kB / 451.6 MB, free: 39.76 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.825e-05/0.1818, allocations: 63.48 kB / 451.6 MB, free: 39.74 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.655e-05/0.1819, allocations: 78.25 kB / 451.7 MB, free: 39.72 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001376/0.182, allocations: 152.9 kB / 451.9 MB, free: 39.66 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.182, allocations: 0 / 451.9 MB, free: 39.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002008/0.1822, allocations: 241.8 kB / 452.1 MB, free: 39.55 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.1822, allocations: 6.75 kB / 452.1 MB, free: 39.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.1822, allocations: 3.938 kB / 452.1 MB, free: 39.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.1822, allocations: 0 / 452.1 MB, free: 39.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.831e-05/0.1823, allocations: 38.95 kB / 452.2 MB, free: 39.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-06/0.1824, allocations: 4 kB / 452.2 MB, free: 39.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.436e-05/0.1824, allocations: 5.562 kB / 452.2 MB, free: 39.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.737e-06/0.1824, allocations: 9.719 kB / 452.2 MB, free: 39.54 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 9.15e-05/0.1825, allocations: 182.5 kB / 452.4 MB, free: 39.4 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.479e-05/0.1825, allocations: 47.72 kB / 452.4 MB, free: 39.37 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002864/0.1828, allocations: 277.9 kB / 452.7 MB, free: 39.25 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.1828, allocations: 2.938 kB / 452.7 MB, free: 39.25 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.1828, allocations: 5.188 kB / 452.7 MB, free: 39.25 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.1828, allocations: 11.36 kB / 452.7 MB, free: 39.24 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004462/0.1833, allocations: 0.6379 MB / 453.3 MB, free: 38.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.1833, allocations: 0 / 453.3 MB, free: 38.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.802e-05/0.1833, allocations: 40.61 kB / 453.4 MB, free: 38.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.1833, allocations: 0 / 453.4 MB, free: 38.84 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.336e-06/0.1833, allocations: 3 kB / 453.4 MB, free: 38.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.1833, allocations: 0 / 453.4 MB, free: 38.84 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1833, allocations: 0 / 453.4 MB, free: 38.84 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001977/0.1835, allocations: 345 kB / 453.7 MB, free: 38.62 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.771e-05/0.1836, allocations: 45.38 kB / 453.8 MB, free: 38.59 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.034e-05/0.1836, allocations: 4 kB / 453.8 MB, free: 38.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.378e-05/0.1836, allocations: 8.719 kB / 453.8 MB, free: 38.59 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.061e-05/0.1837, allocations: 11.8 kB / 453.8 MB, free: 38.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-06/0.1837, allocations: 6.625 kB / 453.8 MB, free: 38.59 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002435/0.1839, allocations: 453.9 kB / 454.2 MB, free: 38.41 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1839, allocations: 0 / 454.2 MB, free: 38.41 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001977/0.1841, allocations: 53.23 kB / 454.3 MB, free: 38.4 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.001345/0.1855, allocations: 1.548 MB / 455.8 MB, free: 37.46 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001976/0.1857, allocations: 164.9 kB / 456 MB, free: 37.41 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.391e-06/0.1857, allocations: 0 / 456 MB, free: 37.41 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.35e-05/0.1857, allocations: 86.25 kB / 456.1 MB, free: 37.39 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003558/0.1861, allocations: 92.05 kB / 456.2 MB, free: 37.36 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002118/0.1882, allocations: 3.361 MB / 459.5 MB, free: 35.48 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001131/0.1883, allocations: 229.7 kB / 459.7 MB, free: 35.38 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.617e-05/0.1884, allocations: 58.69 kB / 459.8 MB, free: 35.37 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.935e-05/0.1885, allocations: 135.8 kB / 459.9 MB, free: 35.28 MB / 410.7 MB Notification: Performance of SimCode: time 5.71e-07/0.1885, allocations: 3.156 kB / 459.9 MB, free: 35.28 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01964/0.2082, allocations: 8.693 MB / 468.6 MB, free: 33.34 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.787/6.996, allocations: 20.98 kB / 468.7 MB, free: 33.32 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test21_fmu --startTime=0 --stopTime=6 --stepSize=0.00119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test21.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.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.948244865983725]