Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.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.0008031/0.0008031, allocations: 85.95 kB / 23 MB, free: 1.504 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.0009083/0.0009083, allocations: 175.6 kB / 26.39 MB, free: 7.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9134/0.9134, allocations: 158.6 MB / 188.3 MB, free: 2.801 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Tests.MediaTestModels.Air.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.[0-9,]+.|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.[0-9,]+.|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 252.3 MB, free: 7.211 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.382e-05/2.545e-05, allocations: 6.25 kB / 252.3 MB, free: 7.203 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir): time 0.2862/0.2862, allocations: 144.6 MB / 396.9 MB, free: 10.51 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001418/0.2876, allocations: 0.8279 MB / 397.7 MB, free: 10.43 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002474/0.2879, allocations: 9.719 kB / 397.8 MB, free: 10.42 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004573/0.2883, allocations: 127.1 kB / 397.9 MB, free: 10.39 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006538/0.289, allocations: 410.4 kB / 398.3 MB, free: 10.34 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002996/0.292, allocations: 1.36 MB / 399.6 MB, free: 10.16 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001153/0.2931, allocations: 1.232 MB / 400.9 MB, free: 9.883 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001877/0.2933, allocations: 89.86 kB / 401 MB, free: 9.859 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001141/0.2944, allocations: 0.8242 MB / 401.8 MB, free: 9.648 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005209/0.295, allocations: 408.5 kB / 402.2 MB, free: 9.516 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 7.904e-05/0.295, allocations: 63.69 kB / 402.2 MB, free: 9.516 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001799/0.2968, allocations: 1.31 MB / 403.6 MB, free: 9.152 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001776/0.297, allocations: 254.3 kB / 403.8 MB, free: 9.074 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001804/0.2972, allocations: 251.3 kB / 404 MB, free: 9.027 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001625/0.2988, allocations: 1.389 MB / 405.4 MB, free: 8.551 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.2988, allocations: 2.781 kB / 405.4 MB, free: 8.551 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.2988, allocations: 0 / 405.4 MB, free: 8.551 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.934e-06/0.2988, allocations: 0 / 405.4 MB, free: 8.551 MB / 330.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.001085/0.2999, allocations: 0.9461 MB / 406.4 MB, free: 7.875 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/0.3, allocations: 12.2 kB / 406.4 MB, free: 7.871 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002405/0.3002, allocations: 116.5 kB / 406.5 MB, free: 7.824 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002809/0.3005, allocations: 310.9 kB / 406.8 MB, free: 7.602 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.291e-05/0.3005, allocations: 35.67 kB / 406.8 MB, free: 7.598 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.059e-05/0.3006, allocations: 46.69 kB / 406.9 MB, free: 7.598 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003617/0.3009, allocations: 0.5908 MB / 407.5 MB, free: 7.102 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.559e-05/0.3009, allocations: 0 / 407.5 MB, free: 7.102 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.569e-05/0.301, allocations: 21.91 kB / 407.5 MB, free: 7.102 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.276e-06/0.301, allocations: 14.94 kB / 407.5 MB, free: 7.098 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002742/0.3013, allocations: 264.7 kB / 407.8 MB, free: 7.008 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001496/0.3028, allocations: 1.113 MB / 408.9 MB, free: 6.488 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004494/0.3032, allocations: 316.4 kB / 409.2 MB, free: 6.406 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001103/0.3033, allocations: 123 kB / 409.3 MB, free: 6.367 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.67e-05/0.3034, allocations: 55.77 kB / 409.4 MB, free: 6.355 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.266e-05/0.3034, allocations: 42.86 kB / 409.4 MB, free: 6.312 MB / 330.7 MB Notification: Performance of pre-optimization done (n=53): time 2.615e-06/0.3034, allocations: 0 / 409.4 MB, free: 6.312 MB / 330.7 MB Notification: Performance of matching and sorting (n=65): time 0.004113/0.3075, allocations: 2.089 MB / 411.5 MB, free: 5.543 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.817e-05/0.3076, allocations: 60.03 kB / 411.6 MB, free: 5.477 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001154/0.3077, allocations: 266.3 kB / 411.8 MB, free: 5.285 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.641e-05/0.3077, allocations: 35.58 kB / 411.9 MB, free: 5.254 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.134e-05/0.3078, allocations: 260.6 kB / 412.1 MB, free: 5.043 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.873e-05/0.3079, allocations: 229.2 kB / 412.3 MB, free: 4.879 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001176/0.308, allocations: 126.8 kB / 412.5 MB, free: 4.836 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.818e-05/0.3081, allocations: 0.5206 MB / 413 MB, free: 4.332 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000127/0.3082, allocations: 109 kB / 413.1 MB, free: 4.305 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000159/0.3083, allocations: 194.4 kB / 413.3 MB, free: 4.199 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003171/0.3087, allocations: 331.4 kB / 413.6 MB, free: 4.09 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3087, allocations: 0 / 413.6 MB, free: 4.09 MB / 330.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0005572/0.3092, allocations: 0.4958 MB / 414.1 MB, free: 3.93 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.3092, allocations: 11.91 kB / 414.1 MB, free: 3.926 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.3092, allocations: 0 / 414.1 MB, free: 3.926 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004738/0.3097, allocations: 190.6 kB / 414.3 MB, free: 3.832 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002703/0.31, allocations: 122.1 kB / 414.4 MB, free: 3.805 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001347/0.3113, allocations: 4.29 MB / 418.7 MB, free: 15.53 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002233/0.3116, allocations: 24.92 kB / 418.7 MB, free: 15.52 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.922e-05/0.3116, allocations: 20.83 kB / 418.7 MB, free: 15.52 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (68): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 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): 3 systems {(2,6), (1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001643/0.3118, allocations: 196.7 kB / 418.9 MB, free: 15.35 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.553e-05/0.3119, allocations: 62.92 kB / 419 MB, free: 15.32 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008343/0.3127, allocations: 0.6026 MB / 419.6 MB, free: 15.11 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.3127, allocations: 5.719 kB / 419.6 MB, free: 15.11 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.904e-06/0.3127, allocations: 0 / 419.6 MB, free: 15.11 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005951/0.3133, allocations: 0.6522 MB / 420.3 MB, free: 14.67 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001374/0.3147, allocations: 1.002 MB / 421.3 MB, free: 14.21 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.3147, allocations: 0 / 421.3 MB, free: 14.21 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000277/0.3149, allocations: 115.4 kB / 421.4 MB, free: 14.18 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006175/0.3156, allocations: 247.2 kB / 421.6 MB, free: 14.08 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.125e-05/0.3156, allocations: 22.64 kB / 421.6 MB, free: 14.08 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004361/0.316, allocations: 0.8665 MB / 422.5 MB, free: 13.26 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.316, allocations: 0 / 422.5 MB, free: 13.26 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007883/0.3168, allocations: 0.757 MB / 423.3 MB, free: 12.92 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.469e-05/0.3169, allocations: 26.94 kB / 423.3 MB, free: 12.9 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.243e-05/0.3169, allocations: 26.47 kB / 423.3 MB, free: 12.89 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002419/0.3172, allocations: 27.64 kB / 423.3 MB, free: 12.89 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.231e-05/0.3172, allocations: 44.91 kB / 423.4 MB, free: 12.87 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.903e-05/0.3172, allocations: 27.91 kB / 423.4 MB, free: 12.86 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.741e-05/0.3173, allocations: 200.3 kB / 423.6 MB, free: 12.71 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.3173, allocations: 0 / 423.6 MB, free: 12.71 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007495/0.3181, allocations: 329.2 kB / 423.9 MB, free: 12.66 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (62): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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): 1 system {(2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005676/0.3187, allocations: 390.9 kB / 424.3 MB, free: 12.46 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007158/0.3194, allocations: 0.7255 MB / 425 MB, free: 12.01 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.3194, allocations: 2.812 kB / 425 MB, free: 12.01 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002853/0.3197, allocations: 242.3 kB / 425.3 MB, free: 11.86 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006837/0.3203, allocations: 267.3 kB / 425.5 MB, free: 11.65 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001682/0.322, allocations: 1.051 MB / 426.6 MB, free: 10.64 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.843e-05/0.3221, allocations: 138.5 kB / 426.7 MB, free: 10.5 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002936/0.3224, allocations: 88.31 kB / 426.8 MB, free: 10.41 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005023/0.3229, allocations: 340.2 kB / 427.1 MB, free: 10.09 MB / 346.7 MB Notification: Performance of SimCode: time 7.22e-07/0.3229, allocations: 0 / 427.1 MB, free: 10.09 MB / 346.7 MB Notification: Performance of Templates: time 0.02125/0.3442, allocations: 18.84 MB / 446 MB, free: 7.508 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Air/MoistAir/MoistAir.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: 3.8132208338938653]