Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.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.0009554/0.0009554, allocations: 75.77 kB / 22.45 MB, free: 2.098 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.0009339/0.0009339, allocations: 166.9 kB / 25.75 MB, free: 8.598 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.875/0.875, allocations: 158.6 MB / 187.5 MB, free: 2.945 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.IdealGases.Nitrogen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 251.2 MB, free: 7.754 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.513e-05/2.699e-05, allocations: 6.25 kB / 251.2 MB, free: 7.746 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen): time 0.3006/0.3007, allocations: 166 MB / 417.2 MB, free: 6.906 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002742/0.3034, allocations: 3.272 MB / 420.5 MB, free: 6.227 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001867/0.3036, allocations: 2.938 kB / 420.5 MB, free: 6.227 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005544/0.3041, allocations: 164 kB / 420.6 MB, free: 6.121 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007114/0.3049, allocations: 425 kB / 421.1 MB, free: 5.895 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000643/0.3055, allocations: 358 kB / 421.4 MB, free: 5.684 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006976/0.3062, allocations: 0.9026 MB / 422.3 MB, free: 5.203 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001915/0.3064, allocations: 70.09 kB / 422.4 MB, free: 5.168 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001698/0.3081, allocations: 0.9268 MB / 423.3 MB, free: 4.656 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002802/0.3084, allocations: 252.7 kB / 423.6 MB, free: 4.562 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.973e-05/0.3084, allocations: 31.31 kB / 423.6 MB, free: 4.562 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002269/0.3086, allocations: 126.6 kB / 423.7 MB, free: 4.52 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 8.951e-05/0.3087, allocations: 103.7 kB / 423.8 MB, free: 4.445 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001437/0.3089, allocations: 143.4 kB / 423.9 MB, free: 4.391 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004764/0.3093, allocations: 381.6 kB / 424.3 MB, free: 4.191 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.3094, allocations: 0 / 424.3 MB, free: 4.191 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.3094, allocations: 0 / 424.3 MB, free: 4.191 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.572e-06/0.3094, allocations: 0 / 424.3 MB, free: 4.191 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0006107/0.31, allocations: 0.6252 MB / 424.9 MB, free: 3.645 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.31, allocations: 12.02 kB / 425 MB, free: 3.641 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002493/0.3103, allocations: 84.89 kB / 425 MB, free: 3.594 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002825/0.3105, allocations: 231 kB / 425.3 MB, free: 3.391 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.995e-05/0.3106, allocations: 20.06 kB / 425.3 MB, free: 3.383 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.453e-05/0.3106, allocations: 31.72 kB / 425.3 MB, free: 3.371 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003319/0.3109, allocations: 0.4955 MB / 425.8 MB, free: 2.879 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/0.311, allocations: 3.938 kB / 425.8 MB, free: 2.875 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.763e-05/0.311, allocations: 13.47 kB / 425.8 MB, free: 2.867 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.267e-05/0.311, allocations: 13.89 kB / 425.8 MB, free: 2.859 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001707/0.3112, allocations: 137.6 kB / 426 MB, free: 2.805 MB / 330.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001069/0.3122, allocations: 1.454 MB / 427.4 MB, free: 1.484 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002062/0.3124, allocations: 131 kB / 427.6 MB, free: 1.414 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.218e-05/0.3125, allocations: 60.97 kB / 427.6 MB, free: 1.387 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.793e-05/0.3125, allocations: 5.656 kB / 427.6 MB, free: 1.387 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.205e-05/0.3126, allocations: 48.7 kB / 427.7 MB, free: 1.332 MB / 330.7 MB Notification: Performance of pre-optimization done (n=22): time 2.796e-06/0.3126, allocations: 3.938 kB / 427.7 MB, free: 1.328 MB / 330.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: volume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=27): time 0.002791/0.3154, allocations: 1.068 MB / 428.7 MB, free: 0.6836 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.431e-05/0.3154, allocations: 53.91 kB / 428.8 MB, free: 0.6211 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001666/0.3156, allocations: 278.5 kB / 429.1 MB, free: 400 kB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.155e-05/0.3156, allocations: 29.7 kB / 429.1 MB, free: 364 kB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.469e-05/0.3157, allocations: 228.6 kB / 429.3 MB, free: 144 kB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.69e-05/0.3157, allocations: 99.03 kB / 429.4 MB, free: 60 kB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.639e-05/0.3158, allocations: 87.28 kB / 429.5 MB, free: 0 / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001779/0.316, allocations: 0.5052 MB / 430 MB, free: 15.49 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.589e-05/0.3161, allocations: 48.47 kB / 430.1 MB, free: 15.48 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001418/0.3162, allocations: 194.4 kB / 430.2 MB, free: 15.28 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002561/0.3165, allocations: 271.1 kB / 430.5 MB, free: 15.04 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.3165, allocations: 2.562 kB / 430.5 MB, free: 15.04 MB / 346.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004032/0.3169, allocations: 331.3 kB / 430.8 MB, free: 14.88 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.3169, allocations: 8.375 kB / 430.8 MB, free: 14.88 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.3169, allocations: 3.562 kB / 430.8 MB, free: 14.88 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001614/0.317, allocations: 56.31 kB / 430.9 MB, free: 14.84 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002069/0.3173, allocations: 89.45 kB / 431 MB, free: 14.82 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00118/0.3184, allocations: 2.547 MB / 433.5 MB, free: 12.21 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000116/0.3186, allocations: 9.5 kB / 433.5 MB, free: 12.2 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.011e-05/0.3186, allocations: 36.61 kB / 433.6 MB, free: 12.2 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001271/0.3187, allocations: 181.8 kB / 433.8 MB, free: 12.01 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.868e-05/0.3188, allocations: 31.92 kB / 433.8 MB, free: 12 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004781/0.3192, allocations: 357.5 kB / 434.1 MB, free: 11.77 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.3192, allocations: 3.094 kB / 434.1 MB, free: 11.77 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.846e-06/0.3192, allocations: 7.938 kB / 434.2 MB, free: 11.76 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003064/0.3196, allocations: 0.5012 MB / 434.7 MB, free: 11.26 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005994/0.3202, allocations: 0.5958 MB / 435.2 MB, free: 10.79 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.3202, allocations: 0 / 435.2 MB, free: 10.79 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001802/0.3203, allocations: 68.61 kB / 435.3 MB, free: 10.77 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.052e-05/0.3204, allocations: 24.55 kB / 435.3 MB, free: 10.75 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.065e-05/0.3204, allocations: 21.7 kB / 435.4 MB, free: 10.73 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007104/0.3212, allocations: 1.722 MB / 437.1 MB, free: 8.949 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.3212, allocations: 0 / 437.1 MB, free: 8.949 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003887/0.3215, allocations: 438.8 kB / 437.5 MB, free: 8.633 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.748e-05/0.3216, allocations: 20.3 kB / 437.5 MB, free: 8.621 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.706e-05/0.3216, allocations: 7.531 kB / 437.5 MB, free: 8.617 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001136/0.3217, allocations: 18.48 kB / 437.6 MB, free: 8.602 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.065e-05/0.3218, allocations: 27.38 kB / 437.6 MB, free: 8.586 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.373e-05/0.3218, allocations: 21.27 kB / 437.6 MB, free: 8.582 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001043/0.3219, allocations: 197.2 kB / 437.8 MB, free: 8.426 MB / 346.7 MB Notification: Performance of sort global known variables: time 4e-08/0.3219, allocations: 0 / 437.8 MB, free: 8.426 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003751/0.3223, allocations: 121 kB / 437.9 MB, free: 8.41 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,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 (25): * Single equations (assignments): 24 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003065/0.3226, allocations: 152.1 kB / 438.1 MB, free: 8.293 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000443/0.323, allocations: 364.8 kB / 438.4 MB, free: 8.047 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.323, allocations: 2.875 kB / 438.4 MB, free: 8.047 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001598/0.3232, allocations: 261.5 kB / 438.7 MB, free: 7.828 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004993/0.3237, allocations: 141.6 kB / 438.8 MB, free: 7.758 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001132/0.3248, allocations: 0.5993 MB / 439.4 MB, free: 7.312 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.688e-05/0.3249, allocations: 87.75 kB / 439.5 MB, free: 7.23 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002402/0.3251, allocations: 95.73 kB / 439.6 MB, free: 7.184 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001019/0.3252, allocations: 58.66 kB / 439.7 MB, free: 7.16 MB / 346.7 MB Notification: Performance of SimCode: time 1.332e-06/0.3252, allocations: 0 / 439.7 MB, free: 7.16 MB / 346.7 MB Notification: Performance of Templates: time 0.009978/0.3352, allocations: 7.761 MB / 447.4 MB, free: 15.84 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/IdealGases/Nitrogen/Nitrogen.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.120914117898792]