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.0008918/0.0008918, allocations: 79.73 kB / 21.97 MB, free: 2.602 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.0008923/0.0008923, allocations: 168.3 kB / 25.33 MB, free: 9.445 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.8027/0.8027, allocations: 158.6 MB / 187.2 MB, free: 2.559 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.172e-06/1.172e-06, allocations: 0 / 251.1 MB, free: 3.547 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.694e-05/1.811e-05, allocations: 2.312 kB / 251.1 MB, free: 3.543 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir): time 0.2468/0.2468, allocations: 147.4 MB / 398.5 MB, free: 4.492 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001312/0.2481, allocations: 0.8241 MB / 399.3 MB, free: 3.691 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001558/0.2483, allocations: 7.938 kB / 399.3 MB, free: 3.684 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000474/0.2487, allocations: 126.1 kB / 399.4 MB, free: 3.562 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005593/0.2493, allocations: 408.2 kB / 399.8 MB, free: 3.164 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002782/0.2521, allocations: 1.366 MB / 401.2 MB, free: 1.793 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001312/0.2534, allocations: 1.227 MB / 402.4 MB, free: 0.5625 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001946/0.2536, allocations: 94.69 kB / 402.5 MB, free: 480 kB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001086/0.2547, allocations: 0.8264 MB / 403.4 MB, free: 15.64 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004817/0.2552, allocations: 399 kB / 403.7 MB, free: 15.25 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 8.066e-05/0.2552, allocations: 67.94 kB / 403.8 MB, free: 15.18 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001745/0.257, allocations: 1.318 MB / 405.1 MB, free: 13.86 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002104/0.2572, allocations: 251.4 kB / 405.4 MB, free: 13.62 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002321/0.2574, allocations: 251.5 kB / 405.6 MB, free: 13.37 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001685/0.2591, allocations: 1.383 MB / 407 MB, free: 11.98 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.2591, allocations: 8 kB / 407 MB, free: 11.98 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2591, allocations: 3.938 kB / 407 MB, free: 11.97 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.2591, allocations: 0 / 407 MB, free: 11.97 MB / 346.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.001325/0.2604, allocations: 0.9438 MB / 408 MB, free: 10.99 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.2605, allocations: 15.92 kB / 408 MB, free: 10.97 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003412/0.2608, allocations: 112.4 kB / 408.1 MB, free: 10.86 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004228/0.2613, allocations: 308 kB / 408.4 MB, free: 10.54 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.69e-05/0.2613, allocations: 33 kB / 408.4 MB, free: 10.5 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.08e-05/0.2614, allocations: 48 kB / 408.5 MB, free: 10.46 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009098/0.2623, allocations: 0.6394 MB / 409.1 MB, free: 9.738 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.679e-05/0.2623, allocations: 4 kB / 409.1 MB, free: 9.734 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.007e-05/0.2623, allocations: 23.98 kB / 409.1 MB, free: 9.711 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.241e-05/0.2623, allocations: 8 kB / 409.1 MB, free: 9.703 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005886/0.2629, allocations: 325.7 kB / 409.5 MB, free: 9.383 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002005/0.2649, allocations: 1.158 MB / 410.6 MB, free: 8.188 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007277/0.2657, allocations: 357 kB / 411 MB, free: 7.828 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002267/0.2659, allocations: 137.7 kB / 411.1 MB, free: 7.691 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001116/0.266, allocations: 60.45 kB / 411.2 MB, free: 7.633 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.842e-05/0.266, allocations: 49.77 kB / 411.2 MB, free: 7.574 MB / 346.7 MB Notification: Performance of pre-optimization done (n=53): time 1.913e-06/0.266, allocations: 0 / 411.2 MB, free: 7.574 MB / 346.7 MB Notification: Performance of matching and sorting (n=65): time 0.009015/0.2751, allocations: 2.236 MB / 413.4 MB, free: 5.297 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/0.2751, allocations: 60.06 kB / 413.5 MB, free: 5.223 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002012/0.2753, allocations: 270.7 kB / 413.8 MB, free: 4.941 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.032e-05/0.2753, allocations: 41.7 kB / 413.8 MB, free: 4.895 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001177/0.2755, allocations: 248 kB / 414 MB, free: 4.645 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001536/0.2756, allocations: 241.9 kB / 414.3 MB, free: 4.406 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001723/0.2758, allocations: 120 kB / 414.4 MB, free: 4.281 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001433/0.2759, allocations: 0.5195 MB / 414.9 MB, free: 3.75 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002705/0.2762, allocations: 137.2 kB / 415.1 MB, free: 3.617 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003274/0.2765, allocations: 225.2 kB / 415.3 MB, free: 3.371 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006205/0.2771, allocations: 383.1 kB / 415.6 MB, free: 2.973 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.2771, allocations: 4 kB / 415.7 MB, free: 2.969 MB / 346.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002249/0.2794, allocations: 0.5663 MB / 416.2 MB, free: 2.383 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.2794, allocations: 4.625 kB / 416.2 MB, free: 2.379 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.2794, allocations: 4 kB / 416.2 MB, free: 2.375 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006882/0.2801, allocations: 203 kB / 416.4 MB, free: 2.164 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003958/0.2805, allocations: 119.8 kB / 416.5 MB, free: 2.047 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001967/0.2825, allocations: 4.333 MB / 420.9 MB, free: 13.44 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002067/0.2827, allocations: 24.11 kB / 420.9 MB, free: 13.42 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.015e-05/0.2827, allocations: 27.98 kB / 420.9 MB, free: 13.39 MB / 362.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.0001445/0.2829, allocations: 192.4 kB / 421.1 MB, free: 13.19 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.465e-05/0.283, allocations: 59.77 kB / 421.2 MB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009533/0.2839, allocations: 0.6659 MB / 421.8 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.618e-06/0.2839, allocations: 8 kB / 421.8 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.372e-06/0.2839, allocations: 0 / 421.8 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008338/0.2848, allocations: 0.7128 MB / 422.6 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001371/0.2861, allocations: 1.104 MB / 423.7 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.2861, allocations: 0 / 423.7 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002972/0.2864, allocations: 115.8 kB / 423.8 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006254/0.287, allocations: 251.3 kB / 424 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.305e-05/0.2871, allocations: 27.97 kB / 424 MB, free: 10.11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001547/0.2886, allocations: 0.878 MB / 424.9 MB, free: 9.203 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.2886, allocations: 4.031 kB / 424.9 MB, free: 9.199 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001341/0.29, allocations: 0.8277 MB / 425.8 MB, free: 8.344 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.503e-05/0.29, allocations: 35.75 kB / 425.8 MB, free: 8.309 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.695e-05/0.2901, allocations: 16 kB / 425.8 MB, free: 8.293 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000376/0.2905, allocations: 35.97 kB / 425.8 MB, free: 8.258 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.334e-05/0.2906, allocations: 44.52 kB / 425.9 MB, free: 8.215 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.994e-05/0.2906, allocations: 35.97 kB / 425.9 MB, free: 8.18 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001384/0.2908, allocations: 193.1 kB / 426.1 MB, free: 7.988 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2908, allocations: 0 / 426.1 MB, free: 7.988 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008064/0.2916, allocations: 331.3 kB / 426.4 MB, free: 7.664 MB / 362.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.0007265/0.2923, allocations: 386.9 kB / 426.8 MB, free: 7.277 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001138/0.2934, allocations: 0.7828 MB / 427.6 MB, free: 6.457 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.2934, allocations: 0 / 427.6 MB, free: 6.457 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004929/0.2939, allocations: 276.4 kB / 427.9 MB, free: 6.184 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001058/0.295, allocations: 273.1 kB / 428.1 MB, free: 5.926 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002454/0.2974, allocations: 1.049 MB / 429.2 MB, free: 4.844 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001221/0.2976, allocations: 139.9 kB / 429.3 MB, free: 4.684 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004161/0.298, allocations: 108.4 kB / 429.4 MB, free: 4.578 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001671/0.2981, allocations: 52.48 kB / 429.5 MB, free: 4.527 MB / 362.7 MB Notification: Performance of SimCode: time 9.11e-07/0.2981, allocations: 0 / 429.5 MB, free: 4.527 MB / 362.7 MB Notification: Performance of Templates: time 0.02219/0.3203, allocations: 18.25 MB / 447.7 MB, free: 2.27 MB / 378.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.4349614488892257]