Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5.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.0008639/0.0008639, allocations: 79.69 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.00111/0.00111, 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.8735/0.8735, allocations: 177.1 MB / 204.3 MB, free: 5.719 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.245/0.245, allocations: 34.25 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.CombiTable2Dv.Test5,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test5,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 442.2 MB, free: 1.633 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.031e-05/2.171e-05, allocations: 4.531 kB / 442.2 MB, free: 1.629 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.1638/0.1639, allocations: 1.646 MB / 443.8 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008035/0.1647, allocations: 0.5535 MB / 444.4 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.106e-05/0.1647, allocations: 3.453 kB / 444.4 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003846/0.1651, allocations: 460 kB / 444.8 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002896/0.1654, allocations: 293.5 kB / 445.1 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002592/0.1657, allocations: 181.2 kB / 445.3 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001521/0.1658, allocations: 177.4 kB / 445.5 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.241e-05/0.1659, allocations: 11.03 kB / 445.5 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.213e-05/0.166, allocations: 122.7 kB / 445.6 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001462/0.1661, allocations: 241.6 kB / 445.9 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.494e-05/0.1661, allocations: 2.656 kB / 445.9 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.178e-05/0.1662, allocations: 34.16 kB / 445.9 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.664e-05/0.1663, allocations: 83.45 kB / 446 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.203e-05/0.1663, allocations: 43.78 kB / 446 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001815/0.1665, allocations: 248.7 kB / 446.3 MB, free: 43.05 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.115e-06/0.1665, allocations: 3.125 kB / 446.3 MB, free: 43.05 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1665, allocations: 0 / 446.3 MB, free: 43.05 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.628e-06/0.1665, allocations: 2.938 kB / 446.3 MB, free: 43.05 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004015/0.1669, allocations: 0.5818 MB / 446.8 MB, free: 42.6 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.1669, allocations: 8.688 kB / 446.9 MB, free: 42.6 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.217e-05/0.167, allocations: 36.95 kB / 446.9 MB, free: 42.56 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.499e-05/0.167, allocations: 46.77 kB / 446.9 MB, free: 42.53 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001451/0.1671, allocations: 249.8 kB / 447.2 MB, free: 42.33 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.066e-06/0.1671, allocations: 3.938 kB / 447.2 MB, free: 42.33 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.747e-05/0.1672, allocations: 11.94 kB / 447.2 MB, free: 42.32 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001065/0.1673, allocations: 60.41 kB / 447.3 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.1673, allocations: 3.562 kB / 447.3 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.814e-06/0.1673, allocations: 3.938 kB / 447.3 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.1673, allocations: 0 / 447.3 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.473e-05/0.1673, allocations: 33.8 kB / 447.3 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002969/0.1676, allocations: 360.9 kB / 447.6 MB, free: 42.05 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001556/0.1678, allocations: 49.12 kB / 447.7 MB, free: 42.03 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.499e-05/0.1678, allocations: 20.55 kB / 447.7 MB, free: 42.02 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.731e-05/0.1678, allocations: 0 / 447.7 MB, free: 42.02 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.038e-05/0.1678, allocations: 33.41 kB / 447.7 MB, free: 41.98 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 8.62e-07/0.1678, allocations: 0 / 447.7 MB, free: 41.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.000361/0.1682, allocations: 251.8 kB / 448 MB, free: 41.86 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.003e-05/0.1682, allocations: 54.28 kB / 448 MB, free: 41.8 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004133/0.1686, allocations: 0.8728 MB / 448.9 MB, free: 41.68 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.602e-06/0.1687, allocations: 32.61 kB / 448.9 MB, free: 41.64 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.542e-05/0.1687, allocations: 221.8 kB / 449.2 MB, free: 41.46 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.505e-05/0.1687, allocations: 20.75 kB / 449.2 MB, free: 41.45 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.378e-05/0.1688, allocations: 19.22 kB / 449.2 MB, free: 41.43 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.22e-05/0.1688, allocations: 364.6 kB / 449.6 MB, free: 41.09 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.751e-05/0.1688, allocations: 19.23 kB / 449.6 MB, free: 41.09 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.05e-05/0.1689, allocations: 24.89 kB / 449.6 MB, free: 41.09 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.671e-05/0.1689, allocations: 54.05 kB / 449.7 MB, free: 41.06 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.1689, allocations: 4 kB / 449.7 MB, free: 41.06 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001017/0.169, allocations: 122.4 kB / 449.8 MB, free: 40.99 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.017e-05/0.1691, allocations: 2.75 kB / 449.8 MB, free: 40.99 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.1691, allocations: 2.531 kB / 449.8 MB, free: 40.99 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.1691, allocations: 0 / 449.8 MB, free: 40.99 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.621e-05/0.1691, allocations: 13.5 kB / 449.8 MB, free: 40.99 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.757e-06/0.1691, allocations: 0 / 449.8 MB, free: 40.99 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.274e-05/0.1691, allocations: 17.98 kB / 449.8 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.381e-06/0.1691, allocations: 6.75 kB / 449.8 MB, free: 40.98 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 (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 9.902e-05/0.1692, allocations: 227.1 kB / 450 MB, free: 40.84 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.579e-05/0.1693, allocations: 43.59 kB / 450.1 MB, free: 40.81 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001655/0.1694, allocations: 140 kB / 450.2 MB, free: 40.75 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.1694, allocations: 0 / 450.2 MB, free: 40.75 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.1694, allocations: 0 / 450.2 MB, free: 40.75 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.195e-06/0.1694, allocations: 0 / 450.2 MB, free: 40.75 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000266/0.1697, allocations: 448 kB / 450.7 MB, free: 40.42 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1697, allocations: 0 / 450.7 MB, free: 40.42 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.668e-05/0.1697, allocations: 12.12 kB / 450.7 MB, free: 40.42 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.1697, allocations: 0 / 450.7 MB, free: 40.42 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.782e-06/0.1697, allocations: 6.938 kB / 450.7 MB, free: 40.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.1698, allocations: 3.188 kB / 450.7 MB, free: 40.41 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.1698, allocations: 3.938 kB / 450.7 MB, free: 40.41 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000103/0.1699, allocations: 215.6 kB / 450.9 MB, free: 40.25 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.071e-05/0.1699, allocations: 38.38 kB / 450.9 MB, free: 40.22 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.475e-05/0.1699, allocations: 8 kB / 450.9 MB, free: 40.21 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.256e-05/0.1699, allocations: 6.094 kB / 450.9 MB, free: 40.21 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.246e-05/0.17, allocations: 11.06 kB / 451 MB, free: 40.21 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.557e-06/0.17, allocations: 3.031 kB / 451 MB, free: 40.21 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002927/0.1703, allocations: 0.6593 MB / 451.6 MB, free: 39.96 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1703, allocations: 0 / 451.6 MB, free: 39.96 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001671/0.1704, allocations: 24.22 kB / 451.6 MB, free: 39.96 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 (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.0007999/0.1712, allocations: 1.082 MB / 452.7 MB, free: 39.2 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001195/0.1713, allocations: 54.72 kB / 452.8 MB, free: 39.18 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.1713, allocations: 0 / 452.8 MB, free: 39.18 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.491e-05/0.1714, allocations: 29.72 kB / 452.8 MB, free: 39.18 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002961/0.1717, allocations: 29.33 kB / 452.8 MB, free: 39.16 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001811/0.1735, allocations: 3.296 MB / 456.1 MB, free: 37.37 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001073/0.1736, allocations: 221.4 kB / 456.4 MB, free: 37.27 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.572e-05/0.1736, allocations: 21.53 kB / 456.4 MB, free: 37.27 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.972e-05/0.1737, allocations: 115.4 kB / 456.5 MB, free: 37.18 MB / 410.7 MB Notification: Performance of SimCode: time 4.71e-07/0.1737, allocations: 0 / 456.5 MB, free: 37.18 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01664/0.1903, allocations: 6.783 MB / 463.3 MB, free: 35.52 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.713/6.903, allocations: 11.5 kB / 463.3 MB, free: 35.52 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test5_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test5.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5.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.841375783085823]