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.0007308/0.0007308, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001086/0.001816, allocations: 445.7 kB / 10.37 MB, free: 328 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.0008123/0.0008123, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001095/0.001907, allocations: 463.6 kB / 11.71 MB, free: 2.453 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.8794/0.8794, allocations: 158.6 MB / 171.1 MB, free: 2.59 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1561/1.035, allocations: 49.49 MB / 220.6 MB, free: 1.453 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.192e-06/1.192e-06, allocations: 0 / 221.9 MB, free: 140 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.073e-05/1.192e-05, allocations: 2.312 kB / 221.9 MB, free: 136 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir): time 0.2843/0.2843, allocations: 147.2 MB / 369.1 MB, free: 11.71 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001699/0.286, allocations: 0.8459 MB / 369.9 MB, free: 10.89 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000181/0.2862, allocations: 7.938 kB / 369.9 MB, free: 10.88 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003436/0.2865, allocations: 122.2 kB / 370 MB, free: 10.77 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005023/0.287, allocations: 404.4 kB / 370.4 MB, free: 10.38 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002667/0.2897, allocations: 1.343 MB / 371.8 MB, free: 9.031 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001106/0.2908, allocations: 1.224 MB / 373 MB, free: 7.805 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001935/0.291, allocations: 97.77 kB / 373.1 MB, free: 7.707 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001202/0.2922, allocations: 0.852 MB / 374 MB, free: 6.855 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004774/0.2927, allocations: 386.9 kB / 374.3 MB, free: 6.477 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 7.565e-05/0.2927, allocations: 64 kB / 374.4 MB, free: 6.414 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001934/0.2947, allocations: 1.372 MB / 375.8 MB, free: 5.039 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001874/0.2948, allocations: 199.6 kB / 376 MB, free: 4.844 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001982/0.295, allocations: 199.8 kB / 376.2 MB, free: 4.648 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001695/0.2967, allocations: 1.181 MB / 377.3 MB, free: 3.465 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.501e-05/0.2968, allocations: 0 / 377.3 MB, free: 3.465 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.2968, allocations: 0 / 377.3 MB, free: 3.465 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.71e-05/0.2968, allocations: 0 / 377.3 MB, free: 3.465 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.001119/0.2979, allocations: 0.9939 MB / 378.3 MB, free: 2.441 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.828e-05/0.2979, allocations: 12.03 kB / 378.3 MB, free: 2.43 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002543/0.2982, allocations: 185.3 kB / 378.5 MB, free: 2.23 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002901/0.2985, allocations: 256.8 kB / 378.8 MB, free: 1.953 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.12e-05/0.2985, allocations: 41 kB / 378.8 MB, free: 1.914 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.373e-05/0.2985, allocations: 48 kB / 378.9 MB, free: 1.867 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004138/0.299, allocations: 0.6031 MB / 379.5 MB, free: 1.184 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.299, allocations: 0 / 379.5 MB, free: 1.184 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.461e-05/0.299, allocations: 24 kB / 379.5 MB, free: 1.16 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.299, allocations: 8 kB / 379.5 MB, free: 1.152 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000264/0.2993, allocations: 222.8 kB / 379.7 MB, free: 0.9336 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001389/0.3007, allocations: 0.9217 MB / 380.6 MB, free: 15.98 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004693/0.3011, allocations: 341.9 kB / 381 MB, free: 15.64 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001039/0.3012, allocations: 105.1 kB / 381.1 MB, free: 15.54 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001009/0.3013, allocations: 56.45 kB / 381.1 MB, free: 15.48 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.489e-05/0.3014, allocations: 39.06 kB / 381.2 MB, free: 15.44 MB / 346.7 MB Notification: Performance of pre-optimization done (n=53): time 1.363e-06/0.3014, allocations: 0 / 381.2 MB, free: 15.44 MB / 346.7 MB Notification: Performance of matching and sorting (n=65): time 0.00424/0.3056, allocations: 2.124 MB / 383.3 MB, free: 13.27 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.839e-05/0.3056, allocations: 60.06 kB / 383.4 MB, free: 13.2 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001379/0.3058, allocations: 208.8 kB / 383.6 MB, free: 12.98 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.115e-05/0.3058, allocations: 45.62 kB / 383.6 MB, free: 12.93 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.264e-05/0.3059, allocations: 185.3 kB / 383.8 MB, free: 12.75 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001207/0.306, allocations: 241.9 kB / 384 MB, free: 12.51 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001275/0.3061, allocations: 110.2 kB / 384.1 MB, free: 12.4 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.15e-05/0.3062, allocations: 342.8 kB / 384.5 MB, free: 12.05 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000121/0.3063, allocations: 92.09 kB / 384.5 MB, free: 11.96 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001502/0.3065, allocations: 160.2 kB / 384.7 MB, free: 11.79 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003111/0.3068, allocations: 301.3 kB / 385 MB, free: 11.47 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.3068, allocations: 0 / 385 MB, free: 11.47 MB / 346.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0004508/0.3073, allocations: 405.8 kB / 385.4 MB, free: 11.05 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.3073, allocations: 8 kB / 385.4 MB, free: 11.05 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.3073, allocations: 0 / 385.4 MB, free: 11.05 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004588/0.3077, allocations: 180.2 kB / 385.6 MB, free: 10.86 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003583/0.3081, allocations: 151.8 kB / 385.7 MB, free: 10.71 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001488/0.3096, allocations: 2.931 MB / 388.7 MB, free: 7.566 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002191/0.3098, allocations: 23.98 kB / 388.7 MB, free: 7.543 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.321e-05/0.3098, allocations: 15.98 kB / 388.7 MB, free: 7.527 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.0001424/0.31, allocations: 152.6 kB / 388.8 MB, free: 7.367 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.16e-05/0.3101, allocations: 51.89 kB / 388.9 MB, free: 7.316 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007013/0.3108, allocations: 0.511 MB / 389.4 MB, free: 6.785 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.3108, allocations: 8 kB / 389.4 MB, free: 6.777 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.312e-06/0.3108, allocations: 0 / 389.4 MB, free: 6.777 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004586/0.3112, allocations: 0.5645 MB / 390 MB, free: 6.141 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009455/0.3122, allocations: 0.8667 MB / 390.8 MB, free: 5.238 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.3122, allocations: 0 / 390.8 MB, free: 5.238 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003113/0.3125, allocations: 131.9 kB / 391 MB, free: 5.109 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.048e-05/0.3125, allocations: 31.77 kB / 391 MB, free: 5.078 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005528/0.3131, allocations: 246 kB / 391.2 MB, free: 4.832 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.618e-05/0.3131, allocations: 19.98 kB / 391.3 MB, free: 4.812 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000321/0.3134, allocations: 0.5902 MB / 391.9 MB, free: 4.195 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.3134, allocations: 3.938 kB / 391.9 MB, free: 4.191 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006326/0.3141, allocations: 0.6571 MB / 392.5 MB, free: 3.512 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.732e-05/0.3141, allocations: 16 kB / 392.5 MB, free: 3.496 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002243/0.3143, allocations: 32.02 kB / 392.6 MB, free: 3.465 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.928e-05/0.3144, allocations: 48.55 kB / 392.6 MB, free: 3.418 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.491e-05/0.3144, allocations: 23.98 kB / 392.6 MB, free: 3.395 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.854e-05/0.3145, allocations: 78.77 kB / 392.7 MB, free: 3.316 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3145, allocations: 0 / 392.7 MB, free: 3.316 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00077/0.3152, allocations: 387 kB / 393.1 MB, free: 2.938 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.0008236/0.3161, allocations: 0.5207 MB / 393.6 MB, free: 2.422 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006238/0.3167, allocations: 0.5708 MB / 394.2 MB, free: 1.824 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.587e-05/0.3167, allocations: 12 kB / 394.2 MB, free: 1.812 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002395/0.317, allocations: 225.6 kB / 394.4 MB, free: 1.59 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005969/0.3175, allocations: 313.5 kB / 394.7 MB, free: 1.285 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004693/0.3222, allocations: 1.037 MB / 395.8 MB, free: 224 kB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.448e-05/0.3223, allocations: 139.9 kB / 395.9 MB, free: 64 kB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002891/0.3226, allocations: 88.39 kB / 396 MB, free: 15.97 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004692/0.3231, allocations: 269 kB / 396.2 MB, free: 15.71 MB / 362.7 MB Notification: Performance of SimCode: time 1.042e-06/0.3231, allocations: 0 / 396.2 MB, free: 15.71 MB / 362.7 MB Notification: Performance of Templates: time 0.02532/0.3484, allocations: 20.56 MB / 416.8 MB, free: 11.12 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.5838906560093164]