Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test23.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.0009119/0.0009119, 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.001074/0.001074, allocations: 170 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.8661/0.8661, allocations: 177.1 MB / 204.3 MB, free: 5.715 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.2543/0.2543, allocations: 34.24 MB / 294.9 MB, free: 0.7227 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.Test23,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test23,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test23",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.452e-06/1.452e-06, allocations: 0 / 442.2 MB, free: 1.66 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.248e-05/2.394e-05, allocations: 2.281 kB / 442.2 MB, free: 1.656 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test23): time 0.1583/0.1583, allocations: 2.022 MB / 444.2 MB, free: 43.24 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00122/0.1595, allocations: 1.251 MB / 445.5 MB, free: 42.87 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.353e-05/0.1596, allocations: 6.812 kB / 445.5 MB, free: 42.87 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001771/0.1598, allocations: 47 kB / 445.5 MB, free: 42.84 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003446/0.1601, allocations: 230.6 kB / 445.7 MB, free: 42.77 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004907/0.1606, allocations: 452.9 kB / 446.2 MB, free: 42.65 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002492/0.1609, allocations: 337.7 kB / 446.5 MB, free: 42.59 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001328/0.161, allocations: 48.14 kB / 446.6 MB, free: 42.58 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002113/0.1612, allocations: 183 kB / 446.7 MB, free: 42.53 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001587/0.1614, allocations: 180.8 kB / 446.9 MB, free: 42.5 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.582e-05/0.1614, allocations: 14.62 kB / 446.9 MB, free: 42.5 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.481e-05/0.1615, allocations: 69.81 kB / 447 MB, free: 42.48 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.583e-05/0.1616, allocations: 158.4 kB / 447.2 MB, free: 42.41 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.765e-05/0.1617, allocations: 96.58 kB / 447.2 MB, free: 42.36 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002918/0.162, allocations: 410.7 kB / 447.6 MB, free: 42.21 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.162, allocations: 1.969 kB / 447.6 MB, free: 42.21 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.162, allocations: 0 / 447.6 MB, free: 42.21 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.162, allocations: 0 / 447.6 MB, free: 42.21 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0006042/0.1626, allocations: 0.7751 MB / 448.4 MB, free: 41.63 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.1626, allocations: 12.5 kB / 448.4 MB, free: 41.62 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.682e-05/0.1626, allocations: 41.53 kB / 448.5 MB, free: 41.58 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002203/0.1629, allocations: 104.6 kB / 448.6 MB, free: 41.54 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000394/0.1632, allocations: 424 kB / 449 MB, free: 41.28 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/0.1633, allocations: 7.25 kB / 449 MB, free: 41.27 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.225e-05/0.1633, allocations: 16.83 kB / 449 MB, free: 41.27 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001807/0.1635, allocations: 156.2 kB / 449.2 MB, free: 41.18 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.1635, allocations: 2.906 kB / 449.2 MB, free: 41.18 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.1635, allocations: 6.844 kB / 449.2 MB, free: 41.18 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.1635, allocations: 3 kB / 449.2 MB, free: 41.18 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001516/0.1636, allocations: 97.66 kB / 449.3 MB, free: 41.16 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005487/0.1642, allocations: 0.6372 MB / 449.9 MB, free: 40.73 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001617/0.1643, allocations: 120.9 kB / 450 MB, free: 40.66 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.569e-05/0.1644, allocations: 57.56 kB / 450.1 MB, free: 40.63 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.487e-05/0.1644, allocations: 2.906 kB / 450.1 MB, free: 40.63 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.553e-05/0.1645, allocations: 30.56 kB / 450.1 MB, free: 40.59 MB / 410.7 MB Notification: Performance of pre-optimization done (n=12): time 1.232e-06/0.1645, allocations: 2.781 kB / 450.1 MB, free: 40.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=20): time 0.001054/0.1655, allocations: 0.7078 MB / 450.8 MB, free: 40.27 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.679e-05/0.1655, allocations: 83.95 kB / 450.9 MB, free: 40.17 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005657/0.1661, allocations: 0.9235 MB / 451.8 MB, free: 39.86 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.464e-05/0.1661, allocations: 29.7 kB / 451.9 MB, free: 39.82 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001061/0.1662, allocations: 278.1 kB / 452.1 MB, free: 39.6 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.498e-05/0.1663, allocations: 63.38 kB / 452.2 MB, free: 39.55 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.441e-05/0.1663, allocations: 42.48 kB / 452.2 MB, free: 39.52 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.779e-05/0.1663, allocations: 312.3 kB / 452.5 MB, free: 39.22 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000126/0.1665, allocations: 86.44 kB / 452.6 MB, free: 39.2 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001303/0.1666, allocations: 121.3 kB / 452.7 MB, free: 39.15 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002603/0.1669, allocations: 207 kB / 452.9 MB, free: 39.08 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.123e-06/0.1669, allocations: 4 kB / 453 MB, free: 39.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003412/0.1672, allocations: 308.7 kB / 453.3 MB, free: 38.95 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.1672, allocations: 5.625 kB / 453.3 MB, free: 38.95 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.1672, allocations: 0 / 453.3 MB, free: 38.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.1672, allocations: 3 kB / 453.3 MB, free: 38.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001387/0.1674, allocations: 63.44 kB / 453.3 MB, free: 38.94 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.1674, allocations: 0 / 453.3 MB, free: 38.94 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.077e-05/0.1675, allocations: 28.16 kB / 453.4 MB, free: 38.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.17e-05/0.1675, allocations: 9.031 kB / 453.4 MB, free: 38.93 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * 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.0001173/0.1676, allocations: 210 kB / 453.6 MB, free: 38.79 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.195e-05/0.1676, allocations: 64.62 kB / 453.6 MB, free: 38.76 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003982/0.168, allocations: 359.5 kB / 454 MB, free: 38.62 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.168, allocations: 2.719 kB / 454 MB, free: 38.62 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.168, allocations: 3.141 kB / 454 MB, free: 38.62 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.1681, allocations: 2.875 kB / 454 MB, free: 38.62 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006966/0.1687, allocations: 0.8374 MB / 454.8 MB, free: 38.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1688, allocations: 0 / 454.8 MB, free: 38.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001084/0.1689, allocations: 55.84 kB / 454.9 MB, free: 38.11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.1689, allocations: 0 / 454.9 MB, free: 38.11 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.176e-05/0.1689, allocations: 6.906 kB / 454.9 MB, free: 38.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.235e-06/0.1689, allocations: 0 / 454.9 MB, free: 38.11 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1689, allocations: 2.531 kB / 454.9 MB, free: 38.11 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000342/0.1692, allocations: 493.9 kB / 455.4 MB, free: 37.8 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.99e-05/0.1693, allocations: 87.64 kB / 455.5 MB, free: 37.75 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.81e-05/0.1693, allocations: 4 kB / 455.5 MB, free: 37.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001198/0.1694, allocations: 24.83 kB / 455.5 MB, free: 37.75 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.688e-05/0.1695, allocations: 30.2 kB / 455.5 MB, free: 37.74 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.786e-06/0.1695, allocations: 6.094 kB / 455.5 MB, free: 37.74 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003762/0.1699, allocations: 0.6781 MB / 456.2 MB, free: 37.51 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1699, allocations: 0 / 456.2 MB, free: 37.51 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002376/0.1701, allocations: 60.19 kB / 456.3 MB, free: 37.5 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * 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.001037/0.1711, allocations: 1.349 MB / 457.6 MB, free: 36.6 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003218/0.1715, allocations: 211.2 kB / 457.8 MB, free: 36.55 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.1715, allocations: 0 / 457.8 MB, free: 36.55 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001441/0.1716, allocations: 119.3 kB / 457.9 MB, free: 36.52 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003676/0.172, allocations: 87.3 kB / 458 MB, free: 36.48 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003699/0.1757, allocations: 5.362 MB / 463.4 MB, free: 34.06 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001426/0.1758, allocations: 272 kB / 463.6 MB, free: 33.96 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001271/0.1759, allocations: 93.3 kB / 463.7 MB, free: 33.94 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000152/0.1761, allocations: 194 kB / 463.9 MB, free: 33.8 MB / 410.7 MB Notification: Performance of SimCode: time 4.01e-07/0.1761, allocations: 0 / 463.9 MB, free: 33.8 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01822/0.1943, allocations: 11.37 MB / 475.3 MB, free: 31.71 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.713/6.907, allocations: 11.33 kB / 475.3 MB, free: 31.7 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test23_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test23_fmu --startTime=0 --stopTime=4 --stepSize=0.00079952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test23.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test23/Test23.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test23.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.901434384286404]