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.001032/0.001032, allocations: 81.08 kB / 22.99 MB, free: 1.5 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.001042/0.001042, allocations: 176.3 kB / 26.4 MB, free: 7.969 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.9466/0.9466, allocations: 158.6 MB / 188.3 MB, free: 2.809 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.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 3.196e-06/3.196e-06, allocations: 4 kB / 252.3 MB, free: 7.207 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.873e-05/4.193e-05, allocations: 2.312 kB / 252.3 MB, free: 7.203 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa): time 0.3098/0.3098, allocations: 142.4 MB / 394.7 MB, free: 10.73 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001444/0.3113, allocations: 0.6792 MB / 395.4 MB, free: 10.66 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000261/0.3115, allocations: 9.438 kB / 395.4 MB, free: 10.66 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004537/0.312, allocations: 95.64 kB / 395.5 MB, free: 10.63 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009191/0.3129, allocations: 390.2 kB / 395.9 MB, free: 10.58 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009164/0.3138, allocations: 364.9 kB / 396.3 MB, free: 10.55 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001466/0.3153, allocations: 0.9282 MB / 397.2 MB, free: 10.55 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002871/0.3156, allocations: 77.41 kB / 397.3 MB, free: 10.54 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002816/0.3184, allocations: 0.9028 MB / 398.2 MB, free: 10.43 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005351/0.3189, allocations: 251 kB / 398.4 MB, free: 10.4 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 7.787e-05/0.319, allocations: 33.97 kB / 398.5 MB, free: 10.4 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004032/0.3194, allocations: 116.5 kB / 398.6 MB, free: 10.39 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000122/0.3195, allocations: 107.4 kB / 398.7 MB, free: 10.38 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000196/0.3197, allocations: 139.6 kB / 398.8 MB, free: 10.36 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007115/0.3204, allocations: 374.8 kB / 399.2 MB, free: 10.32 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.3204, allocations: 0 / 399.2 MB, free: 10.32 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.3204, allocations: 0 / 399.2 MB, free: 10.32 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.191e-05/0.3204, allocations: 0 / 399.2 MB, free: 10.32 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.0008977/0.3213, allocations: 0.6246 MB / 399.8 MB, free: 9.832 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.117e-05/0.3214, allocations: 12.02 kB / 399.8 MB, free: 9.828 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003754/0.3218, allocations: 93.84 kB / 399.9 MB, free: 9.781 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003552/0.3221, allocations: 236.8 kB / 400.1 MB, free: 9.598 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.195e-05/0.3221, allocations: 16.31 kB / 400.1 MB, free: 9.598 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.511e-05/0.3222, allocations: 31.94 kB / 400.2 MB, free: 9.598 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003911/0.3226, allocations: 489.9 kB / 400.7 MB, free: 9.145 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.8e-05/0.3226, allocations: 0 / 400.7 MB, free: 9.145 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.561e-05/0.3226, allocations: 13.12 kB / 400.7 MB, free: 9.145 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.939e-06/0.3227, allocations: 8.594 kB / 400.7 MB, free: 9.145 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001808/0.3228, allocations: 119.6 kB / 400.8 MB, free: 9.098 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.001184/0.324, allocations: 1.414 MB / 402.2 MB, free: 7.945 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001881/0.3242, allocations: 129 kB / 402.3 MB, free: 7.887 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.688e-05/0.3243, allocations: 57.28 kB / 402.4 MB, free: 7.867 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.742e-05/0.3243, allocations: 6.906 kB / 402.4 MB, free: 7.863 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.516e-05/0.3243, allocations: 42.17 kB / 402.4 MB, free: 7.82 MB / 330.7 MB Notification: Performance of pre-optimization done (n=22): time 1.773e-06/0.3243, allocations: 0 / 402.4 MB, free: 7.82 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.00245/0.3268, allocations: 0.941 MB / 403.4 MB, free: 7.344 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.888e-05/0.3268, allocations: 53.81 kB / 403.4 MB, free: 7.281 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001228/0.3269, allocations: 270.7 kB / 403.7 MB, free: 7.082 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.486e-05/0.3269, allocations: 31.61 kB / 403.7 MB, free: 7.051 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.757e-05/0.327, allocations: 227.9 kB / 403.9 MB, free: 6.863 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.582e-05/0.3271, allocations: 103.5 kB / 404 MB, free: 6.789 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.823e-05/0.3272, allocations: 88.67 kB / 404.1 MB, free: 6.754 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.91e-05/0.3272, allocations: 0.5046 MB / 404.6 MB, free: 6.254 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.055e-05/0.3273, allocations: 37.91 kB / 404.7 MB, free: 6.246 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.349e-05/0.3274, allocations: 184.8 kB / 404.9 MB, free: 6.062 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001823/0.3275, allocations: 254.2 kB / 405.1 MB, free: 5.867 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3275, allocations: 0 / 405.1 MB, free: 5.867 MB / 330.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003331/0.3279, allocations: 314.2 kB / 405.4 MB, free: 5.738 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.3279, allocations: 5.906 kB / 405.4 MB, free: 5.738 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.521e-05/0.3279, allocations: 6.969 kB / 405.4 MB, free: 5.734 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001243/0.328, allocations: 56.56 kB / 405.5 MB, free: 5.703 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001818/0.3282, allocations: 82.36 kB / 405.6 MB, free: 5.688 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007561/0.329, allocations: 2.54 MB / 408.1 MB, free: 3.125 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001089/0.3291, allocations: 9.812 kB / 408.1 MB, free: 3.125 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.483e-05/0.3291, allocations: 30.78 kB / 408.1 MB, free: 3.125 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 9.268e-05/0.3292, allocations: 178.2 kB / 408.3 MB, free: 2.957 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.794e-05/0.3293, allocations: 38.48 kB / 408.4 MB, free: 2.941 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003711/0.3296, allocations: 334.5 kB / 408.7 MB, free: 2.781 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.3296, allocations: 6.812 kB / 408.7 MB, free: 2.777 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/0.3296, allocations: 0 / 408.7 MB, free: 2.777 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001932/0.3298, allocations: 497.7 kB / 409.2 MB, free: 2.301 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004848/0.3303, allocations: 0.5508 MB / 409.7 MB, free: 1.938 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.3303, allocations: 3.625 kB / 409.7 MB, free: 1.938 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001591/0.3305, allocations: 66.27 kB / 409.8 MB, free: 1.922 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.387e-05/0.3305, allocations: 23.83 kB / 409.8 MB, free: 1.902 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.624e-05/0.3306, allocations: 16.09 kB / 409.8 MB, free: 1.898 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004599/0.331, allocations: 1.703 MB / 411.5 MB, free: 168 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.331, allocations: 2.469 kB / 411.5 MB, free: 168 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003369/0.3314, allocations: 413.4 kB / 411.9 MB, free: 15.89 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.821e-05/0.3314, allocations: 28.66 kB / 412 MB, free: 15.87 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.67e-05/0.3314, allocations: 5.625 kB / 412 MB, free: 15.87 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001096/0.3315, allocations: 6.5 kB / 412 MB, free: 15.87 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.437e-05/0.3316, allocations: 26.2 kB / 412 MB, free: 15.86 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.252e-05/0.3316, allocations: 17.38 kB / 412 MB, free: 15.86 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001061/0.3317, allocations: 193.7 kB / 412.2 MB, free: 15.71 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3317, allocations: 0 / 412.2 MB, free: 15.71 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003596/0.332, allocations: 123.1 kB / 412.3 MB, free: 15.71 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.0002538/0.3323, allocations: 147.8 kB / 412.5 MB, free: 15.6 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003665/0.3327, allocations: 353.1 kB / 412.8 MB, free: 15.37 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.3327, allocations: 6.75 kB / 412.8 MB, free: 15.37 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001589/0.3328, allocations: 254.2 kB / 413.1 MB, free: 15.16 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004554/0.3333, allocations: 154.7 kB / 413.2 MB, free: 15.1 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009518/0.3342, allocations: 0.5919 MB / 413.8 MB, free: 14.7 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.234e-05/0.3343, allocations: 93.39 kB / 413.9 MB, free: 14.61 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002323/0.3345, allocations: 98.02 kB / 414 MB, free: 14.56 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004405/0.335, allocations: 222.7 kB / 414.2 MB, free: 14.45 MB / 346.7 MB Notification: Performance of SimCode: time 6.51e-07/0.335, allocations: 4 kB / 414.2 MB, free: 14.45 MB / 346.7 MB Notification: Performance of Templates: time 0.01114/0.3461, allocations: 8.7 MB / 422.9 MB, free: 9.969 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 -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.3465439919382334]