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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001157/0.001157, allocations: 178.4 kB / 8.698 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.713/1.713, allocations: 205.3 MB / 214.4 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009707/0.0009708, allocations: 86.7 kB / 262.5 MB, free: 1.68 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.216e-05/2.24e-05, allocations: 4 kB / 315.5 MB, free: 22.71 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.1246, allocations: 47.58 MB / 363.1 MB, free: 7.07 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.034/2.159, allocations: 0.5389 GB / 0.8934 GB, free: 121.7 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003594/2.159, allocations: 99.77 kB / 0.8935 GB, free: 121.7 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5706/2.73, allocations: 144.7 MB / 1.035 GB, free: 96.16 MB / 426.7 MB Notification: Performance of FrontEnd: time 5.119e-06/2.73, allocations: 4.328 kB / 1.035 GB, free: 96.16 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.28e-05/2.73, allocations: 5.5 kB / 1.035 GB, free: 96.16 MB / 426.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.001414/2.731, allocations: 0.5892 MB / 1.035 GB, free: 95.81 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.884e-05/2.731, allocations: 11.59 kB / 1.035 GB, free: 95.81 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004151/2.732, allocations: 38.03 kB / 1.035 GB, free: 95.8 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004873/2.732, allocations: 283.5 kB / 1.036 GB, free: 95.59 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.422e-05/2.732, allocations: 7.531 kB / 1.036 GB, free: 95.59 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.34e-05/2.732, allocations: 16.55 kB / 1.036 GB, free: 95.59 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004084/2.733, allocations: 175.5 kB / 1.036 GB, free: 95.59 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004972/2.733, allocations: 275.1 kB / 1.036 GB, free: 95.5 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.149e-05/2.733, allocations: 1.406 kB / 1.036 GB, free: 95.5 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.164e-05/2.733, allocations: 1.219 kB / 1.036 GB, free: 95.5 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.248e-05/2.733, allocations: 6.625 kB / 1.036 GB, free: 95.5 MB / 426.7 MB Warning: The model contains alias variables with conflicting start and/or 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.001866/2.735, allocations: 1.555 MB / 1.038 GB, free: 94.36 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002604/2.736, allocations: 135.1 kB / 1.038 GB, free: 94.33 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001317/2.736, allocations: 78.03 kB / 1.038 GB, free: 94.32 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.417e-05/2.736, allocations: 3.219 kB / 1.038 GB, free: 94.32 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.619e-05/2.736, allocations: 42.78 kB / 1.038 GB, free: 94.29 MB / 426.7 MB Notification: Performance of pre-optimization done (n=20): time 1.542e-06/2.736, allocations: 3.531 kB / 1.038 GB, free: 94.29 MB / 426.7 MB Notification: Performance of matching and sorting (n=25): time 0.004153/2.74, allocations: 0.9957 MB / 1.039 GB, free: 93.86 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.483e-05/2.74, allocations: 53.66 kB / 1.039 GB, free: 93.8 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002323/2.74, allocations: 211.4 kB / 1.039 GB, free: 93.71 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.248e-05/2.74, allocations: 25.7 kB / 1.039 GB, free: 93.68 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.03e-05/2.74, allocations: 181.5 kB / 1.039 GB, free: 93.55 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.589e-05/2.74, allocations: 87.84 kB / 1.039 GB, free: 93.51 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.829e-05/2.74, allocations: 0 / 1.039 GB, free: 93.51 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.281e-05/2.741, allocations: 334.2 kB / 1.04 GB, free: 93.2 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001506/2.741, allocations: 75.06 kB / 1.04 GB, free: 93.2 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001669/2.741, allocations: 173.7 kB / 1.04 GB, free: 93.09 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002057/2.741, allocations: 108.9 kB / 1.04 GB, free: 93.09 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/2.741, allocations: 1.562 kB / 1.04 GB, free: 93.09 MB / 426.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006896/2.742, allocations: 359.6 kB / 1.04 GB, free: 93.02 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.418e-05/2.742, allocations: 6.531 kB / 1.04 GB, free: 93.02 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/2.742, allocations: 3.25 kB / 1.04 GB, free: 93.02 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002107/2.742, allocations: 65.91 kB / 1.041 GB, free: 93 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003687/2.742, allocations: 83.22 kB / 1.041 GB, free: 93 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001204/2.744, allocations: 1.804 MB / 1.042 GB, free: 91.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002995/2.744, allocations: 25.62 kB / 1.042 GB, free: 91.29 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.183e-05/2.744, allocations: 43.84 kB / 1.042 GB, free: 91.29 MB / 426.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001359/2.744, allocations: 118.5 kB / 1.043 GB, free: 91.18 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.845e-05/2.744, allocations: 20.88 kB / 1.043 GB, free: 91.18 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008431/2.745, allocations: 352.6 kB / 1.043 GB, free: 91.11 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.688e-06/2.745, allocations: 3.375 kB / 1.043 GB, free: 91.11 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.79e-06/2.745, allocations: 3.953 kB / 1.043 GB, free: 91.11 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005071/2.746, allocations: 0.543 MB / 1.043 GB, free: 90.66 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001036/2.747, allocations: 0.6548 MB / 1.044 GB, free: 90.36 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/2.747, allocations: 1.188 kB / 1.044 GB, free: 90.36 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003234/2.747, allocations: 73.97 kB / 1.044 GB, free: 90.36 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.904e-05/2.747, allocations: 19.12 kB / 1.044 GB, free: 90.35 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.088e-05/2.747, allocations: 10.19 kB / 1.044 GB, free: 90.35 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006438/2.748, allocations: 1.239 MB / 1.045 GB, free: 89.16 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/2.748, allocations: 2.562 kB / 1.045 GB, free: 89.16 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006263/2.749, allocations: 466.1 kB / 1.046 GB, free: 88.96 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.084e-05/2.749, allocations: 99.05 kB / 1.046 GB, free: 88.86 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.26e-05/2.749, allocations: 5.234 kB / 1.046 GB, free: 88.86 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002552/2.749, allocations: 13.22 kB / 1.046 GB, free: 88.86 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.791e-05/2.749, allocations: 32.75 kB / 1.046 GB, free: 88.85 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.412e-05/2.749, allocations: 30.17 kB / 1.046 GB, free: 88.85 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001481/2.749, allocations: 159.7 kB / 1.046 GB, free: 88.77 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.202e-06/2.749, allocations: 0 / 1.046 GB, free: 88.77 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000791/2.75, allocations: 160.4 kB / 1.046 GB, free: 88.77 MB / 426.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001746/2.752, allocations: 0.9056 MB / 1.047 GB, free: 88.61 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006559/2.752, allocations: 350.1 kB / 1.048 GB, free: 88.51 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/2.753, allocations: 0.75 kB / 1.048 GB, free: 88.51 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002633/2.753, allocations: 218.8 kB / 1.048 GB, free: 88.4 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007833/2.754, allocations: 122.1 kB / 1.048 GB, free: 88.4 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001006/2.755, allocations: 478.3 kB / 1.048 GB, free: 88.23 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002615/2.755, allocations: 0.7711 MB / 1.049 GB, free: 87.53 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005873/2.755, allocations: 114 kB / 1.049 GB, free: 87.53 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002175/2.756, allocations: 63.03 kB / 1.049 GB, free: 87.52 MB / 426.7 MB Notification: Performance of SimCode: time 1.623e-06/2.756, allocations: 0 / 1.049 GB, free: 87.52 MB / 426.7 MB Notification: Performance of Templates: time 0.01751/2.773, allocations: 11.21 MB / 1.06 GB, free: 87.21 MB / 426.7 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe 2>&1) 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","../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches