Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.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.0008792/0.0008792, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.0009762/0.0009762, allocations: 169.1 kB / 24.91 MB, free: 9.191 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.9719/0.9719, allocations: 177.1 MB / 205.3 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] 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: translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.[0-9,]+.|volume.medium.p",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.[0-9,]+.|volume.medium.p",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.062e-06/1.062e-06, allocations: 0 / 273.5 MB, free: 1.254 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.05e-05/1.156e-05, allocations: 2.312 kB / 273.5 MB, free: 1.25 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.1308/0.1308, allocations: 25.08 MB / 298.6 MB, free: 14.58 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002997/0.1338, allocations: 2.443 MB / 301 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001792/0.1339, allocations: 5.844 kB / 301 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004477/0.1344, allocations: 122.8 kB / 301.1 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005698/0.135, allocations: 388.8 kB / 301.5 MB, free: 14 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01307/0.148, allocations: 6.255 MB / 307.8 MB, free: 10.78 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001072/0.1491, allocations: 1.138 MB / 308.9 MB, free: 10.13 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001877/0.1493, allocations: 97.61 kB / 309 MB, free: 10.07 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004019/0.1533, allocations: 3.529 MB / 312.5 MB, free: 8.203 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004754/0.1538, allocations: 361.5 kB / 312.9 MB, free: 8.012 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.566e-05/0.1539, allocations: 57.59 kB / 312.9 MB, free: 8.012 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01254/0.1664, allocations: 9.463 MB / 322.4 MB, free: 15.99 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002279/0.1666, allocations: 239.4 kB / 322.6 MB, free: 15.76 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002447/0.1669, allocations: 239.6 kB / 322.9 MB, free: 15.53 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007541/0.1744, allocations: 6.158 MB / 329 MB, free: 9.355 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1744, allocations: 0 / 329 MB, free: 9.355 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1744, allocations: 0 / 329 MB, free: 9.355 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.011e-06/0.1744, allocations: 3.938 kB / 329 MB, free: 9.352 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.002117/0.1765, allocations: 1.244 MB / 330.3 MB, free: 8.074 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.1766, allocations: 12.03 kB / 330.3 MB, free: 8.062 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003134/0.1769, allocations: 112.8 kB / 330.4 MB, free: 7.953 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003544/0.1772, allocations: 249.1 kB / 330.7 MB, free: 7.684 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.891e-05/0.1773, allocations: 32.98 kB / 330.7 MB, free: 7.652 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.158e-05/0.1773, allocations: 55.95 kB / 330.7 MB, free: 7.598 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008119/0.1782, allocations: 0.6226 MB / 331.4 MB, free: 6.895 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.783e-05/0.1782, allocations: 7.938 kB / 331.4 MB, free: 6.887 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.041e-05/0.1782, allocations: 16 kB / 331.4 MB, free: 6.871 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.137e-05/0.1782, allocations: 12 kB / 331.4 MB, free: 6.859 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006217/0.1789, allocations: 262.7 kB / 331.7 MB, free: 6.605 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006934/0.1858, allocations: 3.095 MB / 334.7 MB, free: 3.484 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006713/0.1865, allocations: 311.7 kB / 335.1 MB, free: 3.172 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001513/0.1866, allocations: 99.06 kB / 335.1 MB, free: 3.074 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006207/0.1928, allocations: 2.391 MB / 337.5 MB, free: 0.6875 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.134e-05/0.1929, allocations: 51.05 kB / 337.6 MB, free: 0.6289 MB / 282.7 MB Notification: Performance of pre-optimization done (n=50): time 3.928e-06/0.1929, allocations: 2.625 kB / 337.6 MB, free: 0.6289 MB / 282.7 MB Notification: Performance of matching and sorting (n=55): time 0.003767/0.1966, allocations: 1.237 MB / 338.8 MB, free: 15.36 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.365e-05/0.1967, allocations: 55.91 kB / 338.9 MB, free: 15.29 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001955/0.1969, allocations: 228.9 kB / 339.1 MB, free: 15.05 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.173e-05/0.1969, allocations: 33.7 kB / 339.1 MB, free: 15.02 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001094/0.197, allocations: 197.3 kB / 339.3 MB, free: 14.82 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001359/0.1971, allocations: 202.2 kB / 339.5 MB, free: 14.62 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000156/0.1973, allocations: 110.2 kB / 339.6 MB, free: 14.5 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001178/0.1974, allocations: 346.7 kB / 340 MB, free: 14.15 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001436/0.1976, allocations: 68.11 kB / 340 MB, free: 14.09 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003443/0.1979, allocations: 172.4 kB / 340.2 MB, free: 13.88 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006412/0.1985, allocations: 313.7 kB / 340.5 MB, free: 13.54 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.1986, allocations: 0 / 340.5 MB, free: 13.54 MB / 298.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001088/0.1996, allocations: 421.8 kB / 340.9 MB, free: 13.1 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.503e-05/0.1997, allocations: 11.92 kB / 340.9 MB, free: 13.09 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.898e-06/0.1997, allocations: 4 kB / 340.9 MB, free: 13.08 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003185/0.2, allocations: 84.19 kB / 341 MB, free: 12.99 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004517/0.2004, allocations: 140.1 kB / 341.2 MB, free: 12.85 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001809/0.2023, allocations: 2.956 MB / 344.1 MB, free: 9.688 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001746/0.2024, allocations: 12 kB / 344.1 MB, free: 9.676 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.213e-05/0.2025, allocations: 27.92 kB / 344.2 MB, free: 9.648 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (67): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001465/0.2026, allocations: 140.6 kB / 344.3 MB, free: 9.5 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002694/0.2029, allocations: 87.42 kB / 344.4 MB, free: 9.414 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008593/0.2038, allocations: 0.5056 MB / 344.9 MB, free: 8.871 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.2038, allocations: 8 kB / 344.9 MB, free: 8.863 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-06/0.2038, allocations: 0 / 344.9 MB, free: 8.863 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005446/0.2043, allocations: 475.2 kB / 345.4 MB, free: 8.324 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001096/0.2054, allocations: 0.7423 MB / 346.1 MB, free: 7.551 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.2054, allocations: 0 / 346.1 MB, free: 7.551 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003639/0.2058, allocations: 111.8 kB / 346.2 MB, free: 7.441 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006927/0.2065, allocations: 143.5 kB / 346.4 MB, free: 7.297 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.361e-05/0.2065, allocations: 15.98 kB / 346.4 MB, free: 7.281 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002592/0.2068, allocations: 0.6032 MB / 347 MB, free: 6.652 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.2068, allocations: 8 kB / 347 MB, free: 6.645 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009512/0.2077, allocations: 0.5585 MB / 347.5 MB, free: 6.055 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.27e-05/0.2077, allocations: 35.8 kB / 347.6 MB, free: 6.02 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.797e-05/0.2078, allocations: 15.98 kB / 347.6 MB, free: 6.004 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002336/0.208, allocations: 19.98 kB / 347.6 MB, free: 5.984 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.716e-05/0.2081, allocations: 36.38 kB / 347.6 MB, free: 5.949 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.694e-05/0.2081, allocations: 19.98 kB / 347.7 MB, free: 5.93 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.389e-05/0.2082, allocations: 86.77 kB / 347.7 MB, free: 5.844 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2082, allocations: 0 / 347.7 MB, free: 5.844 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.002775/0.211, allocations: 1.298 MB / 349 MB, free: 4.543 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],volume.medium.T) * 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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004178/0.2152, allocations: 1.869 MB / 350.9 MB, free: 2.66 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008862/0.2161, allocations: 0.5066 MB / 351.4 MB, free: 2.121 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.103e-05/0.2161, allocations: 4.125 kB / 351.4 MB, free: 2.117 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000236/0.2163, allocations: 157.4 kB / 351.6 MB, free: 1.961 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006629/0.217, allocations: 236 kB / 351.8 MB, free: 1.734 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001637/0.2186, allocations: 0.8802 MB / 352.7 MB, free: 0.8203 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.32e-05/0.2187, allocations: 130.9 kB / 352.8 MB, free: 0.6719 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0003038/0.219, allocations: 99.53 kB / 352.9 MB, free: 0.5742 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005452/0.2195, allocations: 253 kB / 353.2 MB, free: 332 kB / 298.7 MB Notification: Performance of SimCode: time 1.924e-06/0.2195, allocations: 0 / 353.2 MB, free: 332 kB / 298.7 MB Notification: Performance of Templates: time 0.04917/0.2687, allocations: 49.82 MB / 403 MB, free: 14.66 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & ./Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/MoistAir1/MoistAir1.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.226191158406436]