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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001676/0.001676, allocations: 107.8 kB / 19.76 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002122/0.002122, allocations: 192.3 kB / 22.93 MB, free: 5.582 MB / 14.72 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 1.464/1.464, allocations: 207.6 MB / 233.5 MB, free: 10.99 MB / 190.1 MB " [Timeout remaining time 178] 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.1.|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.1.|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002973/0.002973, allocations: 47.92 kB / 345.4 MB, free: 10.42 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3489/0.3519, allocations: 49.12 MB / 394.6 MB, free: 9.457 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir): time 0.5393/0.8911, allocations: 187.5 MB / 0.5684 GB, free: 1.801 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.007527/0.8987, allocations: 4.843 MB / 0.5731 GB, free: 1.785 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004013/0.8991, allocations: 8.344 kB / 0.5731 GB, free: 1.785 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009579/0.9, allocations: 252.9 kB / 0.5734 GB, free: 1.785 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007551/0.9008, allocations: 381.8 kB / 0.5737 GB, free: 1.781 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009139/0.9099, allocations: 2.87 MB / 0.5766 GB, free: 1.688 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002056/0.912, allocations: 1.174 MB / 0.5777 GB, free: 1.684 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000242/0.9122, allocations: 107.5 kB / 0.5778 GB, free: 1.66 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004395/0.9166, allocations: 1.472 MB / 0.5792 GB, free: 1.625 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007233/0.9173, allocations: 457.6 kB / 0.5797 GB, free: 1.625 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001248/0.9175, allocations: 63.38 kB / 0.5797 GB, free: 1.625 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00847/0.9259, allocations: 4.327 MB / 0.584 GB, free: 1.59 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005022/0.9264, allocations: 241.4 kB / 0.5842 GB, free: 1.586 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006914/0.9271, allocations: 323 kB / 0.5845 GB, free: 1.586 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007329/0.9344, allocations: 2.915 MB / 0.5873 GB, free: 1.434 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.9345, allocations: 2.094 kB / 0.5873 GB, free: 1.434 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.9345, allocations: 0 / 0.5873 GB, free: 1.434 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.163e-05/0.9345, allocations: 0.875 kB / 0.5873 GB, free: 1.434 MB / 478.1 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.002599/0.9371, allocations: 1.175 MB / 0.5885 GB, free: 16.7 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/0.9371, allocations: 14.95 kB / 0.5885 GB, free: 16.7 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003562/0.9375, allocations: 60.94 kB / 0.5886 GB, free: 16.68 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005008/0.938, allocations: 367.8 kB / 0.5889 GB, free: 16.44 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.772e-05/0.938, allocations: 32.03 kB / 0.589 GB, free: 16.44 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.347e-05/0.9381, allocations: 42.59 kB / 0.589 GB, free: 16.44 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007864/0.9389, allocations: 0.5112 MB / 0.5895 GB, free: 16.4 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.292e-05/0.9389, allocations: 0 / 0.5895 GB, free: 16.4 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.912e-05/0.9389, allocations: 19.09 kB / 0.5895 GB, free: 16.4 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.155e-05/0.9389, allocations: 11.09 kB / 0.5895 GB, free: 16.4 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008202/0.9398, allocations: 0.5986 MB / 0.5901 GB, free: 16.39 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003122/0.9429, allocations: 2.181 MB / 0.5922 GB, free: 15.16 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001053/0.9439, allocations: 0.5255 MB / 0.5927 GB, free: 15.14 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003347/0.9443, allocations: 242.1 kB / 0.593 GB, free: 15.13 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006306/0.9449, allocations: 0.6997 MB / 0.5937 GB, free: 14.38 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.427e-05/0.9449, allocations: 41.72 kB / 0.5937 GB, free: 14.34 MB / 494.1 MB Notification: Performance of pre-optimization done (n=53): time 1.893e-06/0.9449, allocations: 0 / 0.5937 GB, free: 14.34 MB / 494.1 MB Notification: Performance of matching and sorting (n=65): time 0.01303/0.958, allocations: 3.63 MB / 0.5972 GB, free: 13.74 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.699e-05/0.958, allocations: 64.03 kB / 0.5973 GB, free: 13.68 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003289/0.9584, allocations: 294.8 kB / 0.5976 GB, free: 13.58 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.525e-05/0.9584, allocations: 39.14 kB / 0.5976 GB, free: 13.55 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001331/0.9586, allocations: 196.4 kB / 0.5978 GB, free: 13.42 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001485/0.9587, allocations: 242.3 kB / 0.598 GB, free: 13.26 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002084/0.9589, allocations: 112.1 kB / 0.5981 GB, free: 13.25 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000193/0.9591, allocations: 355.8 kB / 0.5985 GB, free: 12.93 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006554/0.9598, allocations: 313.7 kB / 0.5988 GB, free: 12.93 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000706/0.9605, allocations: 382.5 kB / 0.5992 GB, free: 12.88 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001357/0.9618, allocations: 0.7091 MB / 0.5998 GB, free: 12.82 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.9618, allocations: 0.9375 kB / 0.5998 GB, free: 12.82 MB / 494.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001952/0.9638, allocations: 0.9624 MB / 0.6008 GB, free: 12.72 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.9638, allocations: 12.22 kB / 0.6008 GB, free: 12.71 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.9638, allocations: 0 / 0.6008 GB, free: 12.71 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001449/0.9653, allocations: 340.4 kB / 0.6011 GB, free: 12.69 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005632/0.9658, allocations: 118.6 kB / 0.6012 GB, free: 12.69 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003921/0.9697, allocations: 3.718 MB / 0.6049 GB, free: 9.477 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00065/0.9704, allocations: 39.12 kB / 0.6049 GB, free: 9.477 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.78e-05/0.9705, allocations: 27.42 kB / 0.6049 GB, free: 9.477 MB / 494.1 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.0003436/0.9708, allocations: 193.4 kB / 0.6051 GB, free: 9.359 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000151/0.971, allocations: 49.53 kB / 0.6052 GB, free: 9.336 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002414/0.9734, allocations: 1.017 MB / 0.6062 GB, free: 9.242 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.014e-05/0.9734, allocations: 9.688 kB / 0.6062 GB, free: 9.242 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.9734, allocations: 0 / 0.6062 GB, free: 9.242 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00206/0.9754, allocations: 1.063 MB / 0.6072 GB, free: 8.883 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003028/0.9785, allocations: 1.695 MB / 0.6089 GB, free: 8.543 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/0.9785, allocations: 3.375 kB / 0.6089 GB, free: 8.543 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00055/0.979, allocations: 111.8 kB / 0.609 GB, free: 8.543 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001686/0.9807, allocations: 380 kB / 0.6093 GB, free: 8.523 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.524e-05/0.9808, allocations: 23.39 kB / 0.6094 GB, free: 8.523 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001376/0.9822, allocations: 0.8603 MB / 0.6102 GB, free: 8.004 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.9822, allocations: 3.75 kB / 0.6102 GB, free: 8.004 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002682/0.9848, allocations: 1.345 MB / 0.6115 GB, free: 7.805 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001835/0.985, allocations: 111.7 kB / 0.6116 GB, free: 7.691 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001084/0.9851, allocations: 31.61 kB / 0.6116 GB, free: 7.684 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006588/0.9858, allocations: 42.89 kB / 0.6117 GB, free: 7.684 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.456e-05/0.9859, allocations: 41.33 kB / 0.6117 GB, free: 7.68 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.033e-05/0.986, allocations: 33.84 kB / 0.6118 GB, free: 7.68 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002574/0.9862, allocations: 226.8 kB / 0.612 GB, free: 7.602 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.9862, allocations: 0.8125 kB / 0.612 GB, free: 7.602 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001535/0.9877, allocations: 456 kB / 0.6124 GB, free: 7.527 MB / 494.1 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.001295/0.989, allocations: 0.5768 MB / 0.613 GB, free: 7.355 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002034/0.9911, allocations: 0.964 MB / 0.6139 GB, free: 7.117 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.9911, allocations: 1.281 kB / 0.6139 GB, free: 7.117 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009317/0.992, allocations: 410.1 kB / 0.6143 GB, free: 7.105 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001496/0.9935, allocations: 306.5 kB / 0.6146 GB, free: 7.047 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003086/0.9966, allocations: 1.33 MB / 0.6159 GB, free: 6.523 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005244/0.9971, allocations: 0.8539 MB / 0.6167 GB, free: 5.812 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005502/0.9977, allocations: 120 kB / 0.6168 GB, free: 5.789 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001619/0.9978, allocations: 66.8 kB / 0.6169 GB, free: 5.773 MB / 494.1 MB Notification: Performance of SimCode: time 9.82e-07/0.9978, allocations: 2.344 kB / 0.6169 GB, free: 5.773 MB / 494.1 MB Notification: Performance of Templates: time 0.03878/1.037, allocations: 22.49 MB / 0.6389 GB, free: 3.055 MB / 0.4981 GB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.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: 6.5945545779541135]