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.001183/0.001183, allocations: 91.61 kB / 22.19 MB, free: 2.379 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.001324/0.001324, allocations: 160.5 kB / 25.45 MB, free: 9.348 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.8754/0.8754, allocations: 158.6 MB / 187.2 MB, free: 3.051 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.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: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0 / 299.7 MB, free: 6.867 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.45e-05/2.634e-05, allocations: 6.219 kB / 299.8 MB, free: 6.859 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir): time 0.2857/0.2857, allocations: 161.6 MB / 461.4 MB, free: 9.867 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.004158/0.2899, allocations: 4.354 MB / 465.7 MB, free: 5.5 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002033/0.2901, allocations: 7.938 kB / 465.7 MB, free: 5.492 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000649/0.2907, allocations: 242.4 kB / 466 MB, free: 5.254 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005482/0.2913, allocations: 389.4 kB / 466.4 MB, free: 4.871 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006491/0.2978, allocations: 2.955 MB / 469.3 MB, free: 1.91 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.001249/0.299, allocations: 1.186 MB / 470.5 MB, free: 0.7227 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002362/0.2993, allocations: 97.83 kB / 470.6 MB, free: 0.625 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003039/0.3023, allocations: 1.654 MB / 472.2 MB, free: 14.96 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000518/0.3028, allocations: 395 kB / 472.6 MB, free: 14.58 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.298e-05/0.3029, allocations: 64 kB / 472.7 MB, free: 14.52 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005222/0.3081, allocations: 3.497 MB / 476.2 MB, free: 11.01 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003301/0.3085, allocations: 247.4 kB / 476.4 MB, free: 10.77 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003079/0.3088, allocations: 255.5 kB / 476.7 MB, free: 10.52 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005515/0.3143, allocations: 3.172 MB / 479.9 MB, free: 7.34 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.3143, allocations: 0 / 479.9 MB, free: 7.34 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.3143, allocations: 0 / 479.9 MB, free: 7.34 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.708e-05/0.3143, allocations: 0 / 479.9 MB, free: 7.34 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.002218/0.3165, allocations: 1.091 MB / 480.9 MB, free: 6.215 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.3166, allocations: 11.98 kB / 481 MB, free: 6.203 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002646/0.3168, allocations: 69.67 kB / 481 MB, free: 6.137 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004452/0.3173, allocations: 308.2 kB / 481.3 MB, free: 5.809 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.897e-05/0.3173, allocations: 29 kB / 481.4 MB, free: 5.781 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.473e-05/0.3174, allocations: 47.94 kB / 481.4 MB, free: 5.734 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008427/0.3182, allocations: 0.819 MB / 482.2 MB, free: 4.836 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.874e-05/0.3182, allocations: 0 / 482.2 MB, free: 4.836 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.135e-05/0.3183, allocations: 16 kB / 482.2 MB, free: 4.82 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.044e-05/0.3183, allocations: 12 kB / 482.2 MB, free: 4.809 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001082/0.3194, allocations: 0.5895 MB / 482.8 MB, free: 4.219 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001977/0.3213, allocations: 1.244 MB / 484.1 MB, free: 2.945 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008405/0.3222, allocations: 0.52 MB / 484.6 MB, free: 2.418 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000261/0.3224, allocations: 246.2 kB / 484.8 MB, free: 2.176 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001931/0.3226, allocations: 100.4 kB / 484.9 MB, free: 2.078 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.524e-05/0.3227, allocations: 47 kB / 485 MB, free: 2.02 MB / 410.7 MB Notification: Performance of pre-optimization done (n=53): time 3.326e-06/0.3227, allocations: 0 / 485 MB, free: 2.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=65): time 0.007278/0.3299, allocations: 3.415 MB / 488.4 MB, free: 14.57 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.884e-05/0.33, allocations: 64 kB / 488.5 MB, free: 14.49 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000207/0.3302, allocations: 240.1 kB / 488.7 MB, free: 14.25 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.706e-05/0.3303, allocations: 37.7 kB / 488.7 MB, free: 14.21 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/0.3304, allocations: 205.3 kB / 488.9 MB, free: 14 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001322/0.3305, allocations: 238 kB / 489.2 MB, free: 13.77 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001419/0.3306, allocations: 114.3 kB / 489.3 MB, free: 13.65 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.3307, allocations: 350.7 kB / 489.6 MB, free: 13.3 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007182/0.3315, allocations: 313.1 kB / 489.9 MB, free: 13 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004482/0.3319, allocations: 384.2 kB / 490.3 MB, free: 12.6 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008815/0.3328, allocations: 0.7167 MB / 491 MB, free: 11.87 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.3328, allocations: 3.938 kB / 491 MB, free: 11.86 MB / 426.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001286/0.3341, allocations: 0.9446 MB / 492 MB, free: 10.9 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/0.3341, allocations: 4 kB / 492 MB, free: 10.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.767e-06/0.3341, allocations: 8.094 kB / 492 MB, free: 10.89 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007732/0.3349, allocations: 338.2 kB / 492.3 MB, free: 10.55 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002912/0.3352, allocations: 123.8 kB / 492.4 MB, free: 10.43 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002343/0.3375, allocations: 3.448 MB / 495.9 MB, free: 6.75 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002893/0.3378, allocations: 31.97 kB / 495.9 MB, free: 6.719 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.749e-05/0.3378, allocations: 31.98 kB / 495.9 MB, free: 6.688 MB / 426.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.0002215/0.3381, allocations: 189.7 kB / 496.1 MB, free: 6.492 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.734e-05/0.3381, allocations: 43.77 kB / 496.2 MB, free: 6.449 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001485/0.3396, allocations: 1.023 MB / 497.2 MB, free: 5.402 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.269e-06/0.3396, allocations: 4 kB / 497.2 MB, free: 5.398 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.3396, allocations: 4.875 kB / 497.2 MB, free: 5.395 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001155/0.3408, allocations: 1.065 MB / 498.3 MB, free: 4.258 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001858/0.3427, allocations: 1.49 MB / 499.8 MB, free: 2.727 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.3427, allocations: 32 / 499.8 MB, free: 2.727 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002828/0.3429, allocations: 115.9 kB / 499.9 MB, free: 2.613 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00082/0.3438, allocations: 376.3 kB / 0.4885 GB, free: 2.242 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.395e-05/0.3438, allocations: 25.36 kB / 0.4885 GB, free: 2.219 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000732/0.3445, allocations: 0.8646 MB / 0.4894 GB, free: 1.328 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.542e-06/0.3445, allocations: 4.031 kB / 0.4894 GB, free: 1.324 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001571/0.3461, allocations: 1.341 MB / 0.4907 GB, free: 15.96 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.915e-05/0.3462, allocations: 31.81 kB / 0.4907 GB, free: 15.93 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.392e-05/0.3462, allocations: 27.98 kB / 0.4908 GB, free: 15.9 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00028/0.3465, allocations: 39.95 kB / 0.4908 GB, free: 15.86 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.556e-05/0.3466, allocations: 40.58 kB / 0.4908 GB, free: 15.82 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.596e-05/0.3466, allocations: 31.97 kB / 0.4909 GB, free: 15.79 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.000127/0.3468, allocations: 185.2 kB / 0.491 GB, free: 15.61 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3468, allocations: 0 / 0.491 GB, free: 15.61 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001107/0.3479, allocations: 458.7 kB / 0.4915 GB, free: 15.16 MB / 442.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.001149/0.349, allocations: 0.6154 MB / 0.4921 GB, free: 14.54 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001405/0.3504, allocations: 0.9598 MB / 0.493 GB, free: 13.55 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.3504, allocations: 0 / 0.493 GB, free: 13.55 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005075/0.3509, allocations: 419.5 kB / 0.4934 GB, free: 13.14 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007517/0.3517, allocations: 250.3 kB / 0.4937 GB, free: 12.9 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001848/0.3535, allocations: 1.246 MB / 0.4949 GB, free: 11.62 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000177/0.3537, allocations: 258.3 kB / 0.4951 GB, free: 11.34 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001415/0.3538, allocations: 60.42 kB / 0.4952 GB, free: 11.28 MB / 442.7 MB Notification: Performance of SimCode: time 1.302e-06/0.3538, allocations: 0 / 0.4952 GB, free: 11.28 MB / 442.7 MB Notification: Performance of Templates: time 0.0183/0.3721, allocations: 17.3 MB / 0.5121 GB, free: 9.969 MB / 458.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=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.199677689932287]