Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.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.0007731/0.0007731, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001096/0.001869, 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.001107/0.001107, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001479/0.002587, 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.8174/0.8174, allocations: 158.6 MB / 171.1 MB, free: 2.578 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1443/0.9617, allocations: 49.48 MB / 220.5 MB, free: 1.457 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.DryAirNasa,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.Air.DryAirNasa") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa,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.Air.DryAirNasa") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 221.9 MB, free: 136 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.303e-05/1.452e-05, allocations: 6.109 kB / 221.9 MB, free: 132 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa): time 0.2689/0.2689, allocations: 145 MB / 366.9 MB, free: 13.57 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001096/0.27, allocations: 0.702 MB / 367.6 MB, free: 12.89 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000129/0.2702, allocations: 4 kB / 367.6 MB, free: 12.88 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002904/0.2704, allocations: 103.3 kB / 367.7 MB, free: 12.78 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005434/0.271, allocations: 389.5 kB / 368.1 MB, free: 12.4 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000589/0.2716, allocations: 359.1 kB / 368.4 MB, free: 12.05 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007156/0.2723, allocations: 0.9269 MB / 369.3 MB, free: 11.12 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001468/0.2724, allocations: 78.78 kB / 369.4 MB, free: 11.04 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001647/0.2741, allocations: 0.9237 MB / 370.3 MB, free: 10.11 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002853/0.2744, allocations: 235.2 kB / 370.6 MB, free: 9.883 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.092e-05/0.2744, allocations: 32 kB / 370.6 MB, free: 9.852 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002205/0.2746, allocations: 127.7 kB / 370.7 MB, free: 9.727 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 7.591e-05/0.2747, allocations: 79.78 kB / 370.8 MB, free: 9.648 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 9.993e-05/0.2748, allocations: 119.8 kB / 370.9 MB, free: 9.531 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003412/0.2752, allocations: 331.7 kB / 371.2 MB, free: 9.207 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.303e-05/0.2752, allocations: 0 / 371.2 MB, free: 9.207 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.2752, allocations: 0 / 371.2 MB, free: 9.207 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.619e-05/0.2752, allocations: 0 / 371.2 MB, free: 9.207 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.000644/0.2758, allocations: 0.5743 MB / 371.8 MB, free: 8.609 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/0.2759, allocations: 8.031 kB / 371.8 MB, free: 8.602 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002335/0.2761, allocations: 157.7 kB / 372 MB, free: 8.43 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000247/0.2763, allocations: 201.5 kB / 372.2 MB, free: 8.207 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.838e-05/0.2764, allocations: 24.44 kB / 372.2 MB, free: 8.184 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.897e-05/0.2764, allocations: 32 kB / 372.2 MB, free: 8.152 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003045/0.2767, allocations: 466.2 kB / 372.7 MB, free: 7.613 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.2767, allocations: 7.984 kB / 372.7 MB, free: 7.605 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.055e-05/0.2767, allocations: 8 kB / 372.7 MB, free: 7.598 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.697e-06/0.2767, allocations: 8 kB / 372.7 MB, free: 7.59 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001046/0.2769, allocations: 91.38 kB / 372.8 MB, free: 7.5 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.000863/0.2777, allocations: 0.9958 MB / 373.8 MB, free: 6.469 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001375/0.2779, allocations: 100.1 kB / 373.9 MB, free: 6.363 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.833e-05/0.2779, allocations: 52.77 kB / 373.9 MB, free: 6.309 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.33e-05/0.2779, allocations: 8 kB / 374 MB, free: 6.301 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.167e-05/0.2779, allocations: 38.5 kB / 374 MB, free: 6.254 MB / 330.7 MB Notification: Performance of pre-optimization done (n=22): time 1.373e-06/0.2779, allocations: 0 / 374 MB, free: 6.254 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.002037/0.28, allocations: 0.8959 MB / 374.9 MB, free: 5.305 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.529e-05/0.28, allocations: 55.41 kB / 374.9 MB, free: 5.238 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001225/0.2801, allocations: 208.7 kB / 375.1 MB, free: 5.023 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.272e-05/0.2802, allocations: 33.64 kB / 375.2 MB, free: 4.984 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.465e-05/0.2802, allocations: 180.3 kB / 375.4 MB, free: 4.805 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.48e-05/0.2803, allocations: 95.16 kB / 375.4 MB, free: 4.711 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.279e-05/0.2803, allocations: 73.45 kB / 375.5 MB, free: 4.633 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.669e-05/0.2804, allocations: 334.8 kB / 375.8 MB, free: 4.297 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.417e-05/0.2805, allocations: 35.97 kB / 375.9 MB, free: 4.262 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.317e-05/0.2806, allocations: 135.9 kB / 376 MB, free: 4.086 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001611/0.2807, allocations: 206.6 kB / 376.2 MB, free: 3.84 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.2807, allocations: 0 / 376.2 MB, free: 3.84 MB / 330.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0002421/0.281, allocations: 230.9 kB / 376.4 MB, free: 3.602 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.281, allocations: 8.406 kB / 376.4 MB, free: 3.594 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.281, allocations: 8 kB / 376.5 MB, free: 3.586 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001108/0.2811, allocations: 49.61 kB / 376.5 MB, free: 3.531 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002658/0.2814, allocations: 95.88 kB / 376.6 MB, free: 3.438 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001408/0.2828, allocations: 2.433 MB / 379 MB, free: 0.8203 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.227e-05/0.2829, allocations: 8 kB / 379 MB, free: 0.8125 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.62e-05/0.2829, allocations: 24 kB / 379.1 MB, free: 0.7891 MB / 330.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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 8.712e-05/0.283, allocations: 136.5 kB / 379.2 MB, free: 0.6445 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.633e-05/0.283, allocations: 31.91 kB / 379.2 MB, free: 0.6133 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003056/0.2833, allocations: 271.4 kB / 379.5 MB, free: 336 kB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.2833, allocations: 0 / 379.5 MB, free: 336 kB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-06/0.2833, allocations: 0 / 379.5 MB, free: 336 kB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002004/0.2835, allocations: 464.5 kB / 379.9 MB, free: 15.79 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003669/0.2839, allocations: 408.8 kB / 380.3 MB, free: 15.35 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.2839, allocations: 0 / 380.3 MB, free: 15.35 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002067/0.2841, allocations: 83.98 kB / 380.4 MB, free: 15.27 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.205e-05/0.2841, allocations: 27.8 kB / 380.5 MB, free: 15.24 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.329e-05/0.2842, allocations: 20.78 kB / 380.5 MB, free: 15.22 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.331e-05/0.2842, allocations: 8 kB / 380.5 MB, free: 15.21 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004705/0.2847, allocations: 1.162 MB / 381.6 MB, free: 13.96 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2847, allocations: 0 / 381.6 MB, free: 13.96 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002299/0.2849, allocations: 293.9 kB / 381.9 MB, free: 13.65 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.388e-05/0.2849, allocations: 8 kB / 381.9 MB, free: 13.64 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.705e-05/0.285, allocations: 11.98 kB / 381.9 MB, free: 13.63 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.639e-05/0.2851, allocations: 23.91 kB / 382 MB, free: 13.61 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.804e-05/0.2851, allocations: 11.98 kB / 382 MB, free: 13.6 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.389e-05/0.2851, allocations: 74.72 kB / 382.1 MB, free: 13.52 MB / 346.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2851, allocations: 0 / 382.1 MB, free: 13.52 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002678/0.2854, allocations: 123.9 kB / 382.2 MB, free: 13.4 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.0002064/0.2856, allocations: 128.2 kB / 382.3 MB, free: 13.26 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003149/0.2859, allocations: 381.6 kB / 382.7 MB, free: 12.86 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.245e-05/0.2859, allocations: 7.938 kB / 382.7 MB, free: 12.86 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001092/0.286, allocations: 191.4 kB / 382.9 MB, free: 12.65 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003914/0.2864, allocations: 182.9 kB / 383 MB, free: 12.48 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003952/0.2904, allocations: 0.5818 MB / 383.6 MB, free: 11.87 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.411e-05/0.2904, allocations: 96.61 kB / 383.7 MB, free: 11.75 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.000195/0.2906, allocations: 86.88 kB / 383.8 MB, free: 11.66 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002681/0.2909, allocations: 177.2 kB / 384 MB, free: 11.48 MB / 346.7 MB Notification: Performance of SimCode: time 7.01e-07/0.2909, allocations: 0 / 384 MB, free: 11.48 MB / 346.7 MB Notification: Performance of Templates: time 0.009654/0.3006, allocations: 8.461 MB / 392.4 MB, free: 3.039 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa_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/DryAirNasa/DryAirNasa.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.0178492153063416]