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.001171/0.001171, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001827/0.002998, allocations: 453.8 kB / 10.46 MB, free: 236 kB / 10.45 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.001253/0.001253, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001629/0.002882, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 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.9369/0.9369, allocations: 158.6 MB / 171.2 MB, free: 2.508 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1541/1.091, allocations: 49.5 MB / 220.7 MB, free: 1.359 MB / 218.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.353e-06/1.353e-06, allocations: 0 / 222 MB, free: 28 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.914e-05/2.049e-05, allocations: 2.312 kB / 222 MB, free: 24 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir): time 0.2635/0.2635, allocations: 147.2 MB / 369.2 MB, free: 11.57 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001383/0.2649, allocations: 0.8526 MB / 370.1 MB, free: 10.74 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001746/0.2651, allocations: 11.94 kB / 370.1 MB, free: 10.73 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003696/0.2655, allocations: 126.1 kB / 370.2 MB, free: 10.61 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004642/0.2659, allocations: 405.3 kB / 370.6 MB, free: 10.22 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002508/0.2684, allocations: 1.335 MB / 371.9 MB, free: 8.879 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001068/0.2695, allocations: 1.216 MB / 373.2 MB, free: 7.66 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001917/0.2697, allocations: 113.7 kB / 373.3 MB, free: 7.547 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001222/0.2709, allocations: 0.8395 MB / 374.1 MB, free: 6.707 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004473/0.2714, allocations: 395 kB / 374.5 MB, free: 6.32 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 7.519e-05/0.2714, allocations: 63.94 kB / 374.6 MB, free: 6.258 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00196/0.2734, allocations: 1.365 MB / 375.9 MB, free: 4.891 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001845/0.2736, allocations: 199.6 kB / 376.1 MB, free: 4.695 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001887/0.2738, allocations: 203.8 kB / 376.3 MB, free: 4.496 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001521/0.2753, allocations: 1.173 MB / 377.5 MB, free: 3.32 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.908e-06/0.2753, allocations: 0 / 377.5 MB, free: 3.32 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2753, allocations: 0 / 377.5 MB, free: 3.32 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.195e-05/0.2753, allocations: 4 kB / 377.5 MB, free: 3.316 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.001173/0.2765, allocations: 0.9977 MB / 378.5 MB, free: 2.289 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.268e-05/0.2765, allocations: 8.031 kB / 378.5 MB, free: 2.281 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002883/0.2768, allocations: 201.2 kB / 378.7 MB, free: 2.066 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000318/0.2771, allocations: 248.8 kB / 378.9 MB, free: 1.797 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.129e-05/0.2772, allocations: 33 kB / 379 MB, free: 1.766 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.197e-05/0.2772, allocations: 44 kB / 379 MB, free: 1.723 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004365/0.2777, allocations: 0.6109 MB / 379.6 MB, free: 1.031 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/0.2777, allocations: 3.984 kB / 379.6 MB, free: 1.027 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.561e-05/0.2777, allocations: 20 kB / 379.6 MB, free: 1.008 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.908e-06/0.2777, allocations: 12 kB / 379.7 MB, free: 0.9961 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002711/0.278, allocations: 230.8 kB / 379.9 MB, free: 0.7695 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001405/0.2794, allocations: 0.9112 MB / 380.8 MB, free: 15.84 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004763/0.2799, allocations: 336.7 kB / 381.1 MB, free: 15.5 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001179/0.28, allocations: 117.1 kB / 381.2 MB, free: 15.38 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.904e-05/0.2801, allocations: 60.39 kB / 381.3 MB, free: 15.32 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.904e-05/0.2801, allocations: 39.06 kB / 381.3 MB, free: 15.28 MB / 346.7 MB Notification: Performance of pre-optimization done (n=53): time 1.713e-06/0.2801, allocations: 0 / 381.3 MB, free: 15.28 MB / 346.7 MB Notification: Performance of matching and sorting (n=65): time 0.00458/0.2847, allocations: 2.183 MB / 383.5 MB, free: 13.05 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.854e-05/0.2847, allocations: 56.06 kB / 383.6 MB, free: 12.98 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001324/0.2849, allocations: 212.7 kB / 383.8 MB, free: 12.77 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.462e-05/0.2849, allocations: 45.7 kB / 383.8 MB, free: 12.71 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.536e-05/0.285, allocations: 181.3 kB / 384 MB, free: 12.54 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001184/0.2851, allocations: 237.9 kB / 384.2 MB, free: 12.3 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000122/0.2852, allocations: 110.3 kB / 384.3 MB, free: 12.19 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.498e-05/0.2853, allocations: 350.7 kB / 384.7 MB, free: 11.84 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001251/0.2854, allocations: 84.11 kB / 384.8 MB, free: 11.75 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001532/0.2856, allocations: 160.2 kB / 384.9 MB, free: 11.58 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003155/0.2859, allocations: 313.3 kB / 385.2 MB, free: 11.25 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.2859, allocations: 0 / 385.2 MB, free: 11.25 MB / 346.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.000464/0.2864, allocations: 397.8 kB / 385.6 MB, free: 10.84 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.2864, allocations: 7.984 kB / 385.6 MB, free: 10.83 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.2864, allocations: 4 kB / 385.6 MB, free: 10.83 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004704/0.2869, allocations: 192.1 kB / 385.8 MB, free: 10.63 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003484/0.2872, allocations: 139.8 kB / 386 MB, free: 10.49 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001445/0.2886, allocations: 2.934 MB / 388.9 MB, free: 7.344 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002308/0.2889, allocations: 27.98 kB / 388.9 MB, free: 7.316 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.441e-05/0.2889, allocations: 19.98 kB / 388.9 MB, free: 7.297 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.0001447/0.2891, allocations: 144.5 kB / 389.1 MB, free: 7.145 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.486e-05/0.2891, allocations: 51.89 kB / 389.1 MB, free: 7.094 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007254/0.2899, allocations: 0.511 MB / 389.6 MB, free: 6.562 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.2899, allocations: 4 kB / 389.6 MB, free: 6.559 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-06/0.2899, allocations: 4 kB / 389.6 MB, free: 6.555 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004699/0.2903, allocations: 0.5605 MB / 390.2 MB, free: 5.922 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009599/0.2913, allocations: 0.855 MB / 391.1 MB, free: 5.031 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.2913, allocations: 4 kB / 391.1 MB, free: 5.027 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003405/0.2916, allocations: 135.8 kB / 391.2 MB, free: 4.895 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.895e-05/0.2917, allocations: 43.73 kB / 391.2 MB, free: 4.852 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005725/0.2922, allocations: 238.1 kB / 391.5 MB, free: 4.613 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.198e-05/0.2923, allocations: 23.98 kB / 391.5 MB, free: 4.59 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003547/0.2926, allocations: 0.5902 MB / 392.1 MB, free: 3.973 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.2926, allocations: 4 kB / 392.1 MB, free: 3.969 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006642/0.2933, allocations: 0.657 MB / 392.7 MB, free: 3.289 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.669e-05/0.2934, allocations: 28.02 kB / 392.8 MB, free: 3.262 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002478/0.2936, allocations: 27.98 kB / 392.8 MB, free: 3.234 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.372e-05/0.2937, allocations: 40.56 kB / 392.8 MB, free: 3.195 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.954e-05/0.2937, allocations: 27.97 kB / 392.9 MB, free: 3.168 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.541e-05/0.2938, allocations: 70.78 kB / 392.9 MB, free: 3.098 MB / 346.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2938, allocations: 0 / 392.9 MB, free: 3.098 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008255/0.2946, allocations: 395 kB / 393.3 MB, free: 2.711 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.0008827/0.2955, allocations: 0.5172 MB / 393.8 MB, free: 2.199 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006401/0.2961, allocations: 0.5791 MB / 394.4 MB, free: 1.598 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.611e-05/0.2961, allocations: 8 kB / 394.4 MB, free: 1.59 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003018/0.2964, allocations: 267.4 kB / 394.7 MB, free: 1.324 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008276/0.2973, allocations: 0.9027 MB / 395.6 MB, free: 292 kB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004794/0.3021, allocations: 1.03 MB / 396.6 MB, free: 15.22 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.435e-05/0.3021, allocations: 147.6 kB / 396.8 MB, free: 15.06 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002418/0.3024, allocations: 84.33 kB / 396.8 MB, free: 14.97 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004804/0.3029, allocations: 269 kB / 397.1 MB, free: 14.71 MB / 362.7 MB Notification: Performance of SimCode: time 6.21e-07/0.3029, allocations: 0 / 397.1 MB, free: 14.71 MB / 362.7 MB Notification: Performance of Templates: time 0.01967/0.3225, allocations: 20.36 MB / 417.5 MB, free: 10.32 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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.5744603788480163]