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.0009698/0.0009698, allocations: 80.92 kB / 22.29 MB, free: 2.207 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.001029/0.001029, allocations: 168.1 kB / 25.7 MB, free: 8.434 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.9548/0.9548, allocations: 158.6 MB / 187.6 MB, free: 2.781 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.373e-06/1.373e-06, allocations: 0 / 251.6 MB, free: 7.18 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.884e-05/2.021e-05, allocations: 2.312 kB / 251.6 MB, free: 7.176 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa): time 0.266/0.266, allocations: 144.6 MB / 396.2 MB, free: 9.305 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001151/0.2671, allocations: 0.6989 MB / 396.9 MB, free: 9.219 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001686/0.2673, allocations: 9.219 kB / 396.9 MB, free: 9.215 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003689/0.2677, allocations: 92.64 kB / 397 MB, free: 9.188 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006852/0.2684, allocations: 387.6 kB / 397.4 MB, free: 9.141 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006174/0.269, allocations: 367.1 kB / 397.8 MB, free: 9.113 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008785/0.2699, allocations: 0.9254 MB / 398.7 MB, free: 9.113 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001671/0.27, allocations: 77 kB / 398.8 MB, free: 9.102 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00164/0.2717, allocations: 0.907 MB / 399.7 MB, free: 8.977 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003042/0.272, allocations: 233.1 kB / 399.9 MB, free: 8.945 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.437e-05/0.272, allocations: 34 kB / 399.9 MB, free: 8.941 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000236/0.2723, allocations: 131.2 kB / 400.1 MB, free: 8.91 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 7.892e-05/0.2723, allocations: 103.8 kB / 400.2 MB, free: 8.871 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001148/0.2724, allocations: 146.1 kB / 400.3 MB, free: 8.848 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003774/0.2728, allocations: 377.6 kB / 400.7 MB, free: 8.73 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.2728, allocations: 0 / 400.7 MB, free: 8.73 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.2728, allocations: 0 / 400.7 MB, free: 8.73 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.793e-06/0.2728, allocations: 0 / 400.7 MB, free: 8.73 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.000481/0.2733, allocations: 499.1 kB / 401.2 MB, free: 8.375 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.208e-05/0.2733, allocations: 14.61 kB / 401.2 MB, free: 8.371 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002188/0.2736, allocations: 79.55 kB / 401.3 MB, free: 8.336 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002331/0.2738, allocations: 204.4 kB / 401.5 MB, free: 8.168 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/0.2738, allocations: 15.84 kB / 401.5 MB, free: 8.168 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.482e-05/0.2739, allocations: 29.88 kB / 401.5 MB, free: 8.168 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002314/0.2741, allocations: 471.2 kB / 402 MB, free: 7.738 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.2741, allocations: 3.938 kB / 402 MB, free: 7.734 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.135e-05/0.2741, allocations: 19.56 kB / 402 MB, free: 7.73 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.2741, allocations: 5.469 kB / 402 MB, free: 7.73 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.496e-05/0.2742, allocations: 94.11 kB / 402.1 MB, free: 7.703 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.0007713/0.275, allocations: 0.9965 MB / 403.1 MB, free: 6.934 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001295/0.2751, allocations: 100.5 kB / 403.2 MB, free: 6.898 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.692e-05/0.2752, allocations: 51.47 kB / 403.2 MB, free: 6.887 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.367e-05/0.2752, allocations: 16.83 kB / 403.2 MB, free: 6.875 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.662e-05/0.2752, allocations: 33.84 kB / 403.3 MB, free: 6.836 MB / 330.7 MB Notification: Performance of pre-optimization done (n=22): time 1.623e-06/0.2752, allocations: 0 / 403.3 MB, free: 6.836 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.002193/0.2774, allocations: 0.9147 MB / 404.2 MB, free: 6.352 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.572e-05/0.2774, allocations: 57.81 kB / 404.2 MB, free: 6.289 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.831e-05/0.2775, allocations: 210.5 kB / 404.4 MB, free: 6.152 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.665e-05/0.2775, allocations: 32.39 kB / 404.5 MB, free: 6.121 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.574e-05/0.2776, allocations: 171.5 kB / 404.6 MB, free: 5.977 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.915e-05/0.2776, allocations: 102.7 kB / 404.7 MB, free: 5.902 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.652e-05/0.2777, allocations: 74.27 kB / 404.8 MB, free: 5.879 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.316e-05/0.2777, allocations: 332.5 kB / 405.1 MB, free: 5.562 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.211e-05/0.2778, allocations: 35.81 kB / 405.2 MB, free: 5.555 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.84e-05/0.2778, allocations: 139.4 kB / 405.3 MB, free: 5.422 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001428/0.278, allocations: 210.7 kB / 405.5 MB, free: 5.266 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.278, allocations: 0 / 405.5 MB, free: 5.266 MB / 330.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0002457/0.2782, allocations: 235.1 kB / 405.8 MB, free: 5.156 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.2782, allocations: 8.938 kB / 405.8 MB, free: 5.156 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.2782, allocations: 7 kB / 405.8 MB, free: 5.152 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001242/0.2784, allocations: 42.69 kB / 405.8 MB, free: 5.129 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002464/0.2786, allocations: 98.66 kB / 405.9 MB, free: 5.105 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007824/0.2864, allocations: 2.755 MB / 408.7 MB, free: 2.449 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001531/0.2866, allocations: 11.91 kB / 408.7 MB, free: 2.449 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.119e-05/0.2866, allocations: 21.88 kB / 408.7 MB, free: 2.449 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 0.0001034/0.2867, allocations: 143.1 kB / 408.8 MB, free: 2.316 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.102e-05/0.2868, allocations: 25.14 kB / 408.9 MB, free: 2.309 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003148/0.2871, allocations: 291.4 kB / 409.1 MB, free: 2.156 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.2871, allocations: 2 kB / 409.1 MB, free: 2.156 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.474e-06/0.2871, allocations: 0 / 409.1 MB, free: 2.156 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001474/0.2872, allocations: 448.9 kB / 409.6 MB, free: 1.691 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004099/0.2876, allocations: 421.1 kB / 410 MB, free: 1.426 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.2876, allocations: 0 / 410 MB, free: 1.426 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000215/0.2879, allocations: 75.58 kB / 410.1 MB, free: 1.406 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.46e-05/0.2879, allocations: 28.27 kB / 410.1 MB, free: 1.383 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.385e-05/0.2879, allocations: 9.594 kB / 410.1 MB, free: 1.383 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003254/0.2883, allocations: 1.157 MB / 411.3 MB, free: 232 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.2883, allocations: 3 kB / 411.3 MB, free: 232 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002301/0.2885, allocations: 309.5 kB / 411.6 MB, free: 20 kB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.608e-05/0.2885, allocations: 24.05 kB / 411.6 MB, free: 4 kB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.408e-05/0.2885, allocations: 6.312 kB / 411.6 MB, free: 4 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/0.2886, allocations: 10.05 kB / 411.6 MB, free: 0 / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.001e-05/0.2887, allocations: 20.78 kB / 411.6 MB, free: 0 / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.302e-05/0.2887, allocations: 22 kB / 411.6 MB, free: 0 / 330.7 MB Notification: Performance of sorting global known variables: time 9.041e-05/0.2888, allocations: 71.7 kB / 411.7 MB, free: 15.97 MB / 346.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2888, allocations: 0 / 411.7 MB, free: 15.97 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003341/0.2892, allocations: 125.2 kB / 411.8 MB, free: 15.96 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.0002615/0.2894, allocations: 138.6 kB / 412 MB, free: 15.86 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003771/0.2898, allocations: 389.4 kB / 412.4 MB, free: 15.59 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.835e-06/0.2898, allocations: 2.25 kB / 412.4 MB, free: 15.59 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001184/0.2899, allocations: 185 kB / 412.5 MB, free: 15.45 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003897/0.2903, allocations: 137 kB / 412.7 MB, free: 15.4 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009511/0.2913, allocations: 0.5811 MB / 413.3 MB, free: 15.01 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.779e-05/0.2913, allocations: 93.19 kB / 413.3 MB, free: 14.93 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.000234/0.2915, allocations: 90.53 kB / 413.4 MB, free: 14.89 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002895/0.2918, allocations: 185.2 kB / 413.6 MB, free: 14.79 MB / 346.7 MB Notification: Performance of SimCode: time 7.11e-07/0.2918, allocations: 0 / 413.6 MB, free: 14.79 MB / 346.7 MB Notification: Performance of Templates: time 0.01059/0.3024, allocations: 8.91 MB / 422.5 MB, free: 10.21 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 -s gbode -gbm=radauIIA3 -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.2262172871269286]