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.001393/0.001393, allocations: 75.77 kB / 22.45 MB, free: 2.09 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.001602/0.001602, allocations: 164 kB / 25.75 MB, free: 8.949 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.963/0.963, allocations: 158.6 MB / 187.5 MB, free: 2.562 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 1.333e-06/1.333e-06, allocations: 0 / 251.2 MB, free: 7.727 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.097e-05/2.23e-05, allocations: 2.312 kB / 251.2 MB, free: 7.723 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa): time 0.3271/0.3271, allocations: 166.1 MB / 417.2 MB, free: 6.926 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002753/0.3299, allocations: 3.263 MB / 420.5 MB, free: 6.25 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000187/0.3301, allocations: 9.375 kB / 420.5 MB, free: 6.246 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005078/0.3306, allocations: 170 kB / 420.7 MB, free: 6.133 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006747/0.3312, allocations: 415.3 kB / 421.1 MB, free: 5.867 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007045/0.3319, allocations: 362.9 kB / 421.4 MB, free: 5.652 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007211/0.3327, allocations: 0.9017 MB / 422.4 MB, free: 5.172 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000161/0.3328, allocations: 73.56 kB / 422.4 MB, free: 5.133 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001571/0.3344, allocations: 0.9393 MB / 423.4 MB, free: 4.613 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002935/0.3347, allocations: 247.1 kB / 423.6 MB, free: 4.523 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.342e-05/0.3347, allocations: 31.41 kB / 423.6 MB, free: 4.523 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002054/0.3349, allocations: 119.7 kB / 423.8 MB, free: 4.484 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 7.989e-05/0.335, allocations: 107.2 kB / 423.9 MB, free: 4.41 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001088/0.3351, allocations: 143 kB / 424 MB, free: 4.352 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004132/0.3355, allocations: 382 kB / 424.4 MB, free: 4.152 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.3355, allocations: 0 / 424.4 MB, free: 4.152 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.3355, allocations: 0 / 424.4 MB, free: 4.152 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.816e-06/0.3356, allocations: 0 / 424.4 MB, free: 4.152 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.0005893/0.3361, allocations: 0.6207 MB / 425 MB, free: 3.609 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.3362, allocations: 12.61 kB / 425 MB, free: 3.605 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002491/0.3364, allocations: 84.52 kB / 425.1 MB, free: 3.559 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002638/0.3367, allocations: 236.9 kB / 425.3 MB, free: 3.348 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.608e-05/0.3367, allocations: 19.59 kB / 425.3 MB, free: 3.34 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.137e-05/0.3368, allocations: 32.2 kB / 425.4 MB, free: 3.328 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003143/0.3371, allocations: 0.495 MB / 425.9 MB, free: 2.836 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.3371, allocations: 3.25 kB / 425.9 MB, free: 2.836 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.648e-05/0.3371, allocations: 14.67 kB / 425.9 MB, free: 2.824 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.23e-05/0.3371, allocations: 9.375 kB / 425.9 MB, free: 2.82 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001776/0.3373, allocations: 133.6 kB / 426 MB, free: 2.77 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.0009713/0.3383, allocations: 1.451 MB / 427.5 MB, free: 1.453 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000195/0.3385, allocations: 139.3 kB / 427.6 MB, free: 1.375 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.873e-05/0.3385, allocations: 60.56 kB / 427.7 MB, free: 1.348 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.849e-05/0.3386, allocations: 13.45 kB / 427.7 MB, free: 1.34 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.055e-05/0.3386, allocations: 40.86 kB / 427.7 MB, free: 1.293 MB / 330.7 MB Notification: Performance of pre-optimization done (n=22): time 1.593e-06/0.3386, allocations: 0 / 427.7 MB, free: 1.293 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.00264/0.3412, allocations: 1.072 MB / 428.8 MB, free: 0.6484 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.95e-05/0.3413, allocations: 54.28 kB / 428.8 MB, free: 0.5859 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001412/0.3414, allocations: 278 kB / 429.1 MB, free: 364 kB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.929e-05/0.3414, allocations: 29.7 kB / 429.1 MB, free: 328 kB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.374e-05/0.3415, allocations: 223.8 kB / 429.4 MB, free: 112 kB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.97e-05/0.3415, allocations: 103.7 kB / 429.5 MB, free: 24 kB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.699e-05/0.3416, allocations: 82.61 kB / 429.5 MB, free: 15.96 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001291/0.3417, allocations: 0.5124 MB / 430.1 MB, free: 15.45 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.4e-05/0.3418, allocations: 50.09 kB / 430.1 MB, free: 15.43 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001426/0.342, allocations: 190.8 kB / 430.3 MB, free: 15.24 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002551/0.3422, allocations: 266.8 kB / 430.6 MB, free: 15.01 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.3422, allocations: 2.969 kB / 430.6 MB, free: 15.01 MB / 346.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003944/0.3426, allocations: 330.6 kB / 430.9 MB, free: 14.84 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.3426, allocations: 9.891 kB / 430.9 MB, free: 14.84 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.273e-06/0.3426, allocations: 3.938 kB / 430.9 MB, free: 14.84 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001593/0.3428, allocations: 58.23 kB / 430.9 MB, free: 14.8 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002011/0.343, allocations: 85.64 kB / 431 MB, free: 14.78 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001154/0.3442, allocations: 2.552 MB / 433.6 MB, free: 12.17 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001073/0.3443, allocations: 9.688 kB / 433.6 MB, free: 12.16 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.582e-05/0.3443, allocations: 34.02 kB / 433.6 MB, free: 12.16 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.0001264/0.3444, allocations: 180.5 kB / 433.8 MB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.204e-05/0.3445, allocations: 32.89 kB / 433.8 MB, free: 11.96 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00049/0.345, allocations: 363.7 kB / 434.2 MB, free: 11.73 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.089e-06/0.345, allocations: 2.406 kB / 434.2 MB, free: 11.73 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.327e-06/0.345, allocations: 4 kB / 434.2 MB, free: 11.72 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000459/0.3454, allocations: 0.5018 MB / 434.7 MB, free: 11.22 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005925/0.346, allocations: 0.5992 MB / 435.3 MB, free: 10.74 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.346, allocations: 2.781 kB / 435.3 MB, free: 10.74 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002124/0.3462, allocations: 64.5 kB / 435.4 MB, free: 10.73 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.754e-05/0.3463, allocations: 24.67 kB / 435.4 MB, free: 10.71 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.182e-05/0.3464, allocations: 21.23 kB / 435.4 MB, free: 10.69 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007222/0.3471, allocations: 1.723 MB / 437.1 MB, free: 8.906 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3471, allocations: 0 / 437.1 MB, free: 8.906 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003859/0.3475, allocations: 439 kB / 437.6 MB, free: 8.59 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.651e-05/0.3475, allocations: 28.61 kB / 437.6 MB, free: 8.57 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.676e-05/0.3475, allocations: 10.97 kB / 437.6 MB, free: 8.562 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001094/0.3476, allocations: 6.938 kB / 437.6 MB, free: 8.559 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.17e-05/0.3477, allocations: 30.86 kB / 437.6 MB, free: 8.539 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.19e-05/0.3477, allocations: 17.12 kB / 437.6 MB, free: 8.539 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001042/0.3478, allocations: 194.5 kB / 437.8 MB, free: 8.383 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3478, allocations: 0 / 437.8 MB, free: 8.383 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003955/0.3482, allocations: 124.4 kB / 438 MB, free: 8.367 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.0003688/0.3486, allocations: 153.8 kB / 438.1 MB, free: 8.246 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006013/0.3492, allocations: 360.6 kB / 438.5 MB, free: 8.004 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.3492, allocations: 0 / 438.5 MB, free: 8.004 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000248/0.3494, allocations: 265.1 kB / 438.7 MB, free: 7.785 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007386/0.3501, allocations: 145.9 kB / 438.9 MB, free: 7.711 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001444/0.3516, allocations: 0.5945 MB / 439.5 MB, free: 7.27 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.616e-05/0.3517, allocations: 90.22 kB / 439.5 MB, free: 7.188 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003286/0.352, allocations: 95.64 kB / 439.6 MB, free: 7.141 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001336/0.3521, allocations: 58.27 kB / 439.7 MB, free: 7.117 MB / 346.7 MB Notification: Performance of SimCode: time 9.51e-07/0.3521, allocations: 0 / 439.7 MB, free: 7.117 MB / 346.7 MB Notification: Performance of Templates: time 0.01601/0.3681, allocations: 7.754 MB / 447.5 MB, free: 15.82 MB / 362.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.288790211081505]