Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.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.IdealGases.Air,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001495/0.001494, allocations: 182.4 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.959/1.959, allocations: 205.2 MB / 219.4 MB, free: 14.2 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001043/0.001042, allocations: 86.64 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.487e-05/3.49e-05, allocations: 0 / 321.5 MB, free: 17.83 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09135/0.09142, allocations: 47.58 MB / 369.1 MB, free: 2.188 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.909/2, allocations: 0.5393 GB / 0.8997 GB, free: 117.9 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000361/2, allocations: 107.7 kB / 0.8998 GB, free: 117.9 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7583/2.759, allocations: 146.3 MB / 1.043 GB, free: 96.3 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.713e-06/2.759, allocations: 0 / 1.043 GB, free: 96.3 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.637e-05/2.759, allocations: 11.53 kB / 1.043 GB, free: 96.3 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.001133/2.76, allocations: 0.599 MB / 1.043 GB, free: 95.95 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/2.76, allocations: 9.281 kB / 1.043 GB, free: 95.95 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000405/2.76, allocations: 35.97 kB / 1.043 GB, free: 95.94 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004506/2.761, allocations: 274.3 kB / 1.044 GB, free: 95.73 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.605e-05/2.761, allocations: 23.19 kB / 1.044 GB, free: 95.73 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.2e-05/2.761, allocations: 26.11 kB / 1.044 GB, free: 95.73 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006553/2.762, allocations: 309.1 kB / 1.044 GB, free: 95.64 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.297e-05/2.762, allocations: 6.312 kB / 1.044 GB, free: 95.64 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.633e-05/2.762, allocations: 16.03 kB / 1.044 GB, free: 95.64 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.228e-05/2.762, allocations: 13.55 kB / 1.044 GB, free: 95.63 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004575/2.762, allocations: 190.4 kB / 1.044 GB, free: 95.63 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.00222/2.765, allocations: 1.576 MB / 1.046 GB, free: 94.46 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003882/2.765, allocations: 164.3 kB / 1.046 GB, free: 94.43 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002044/2.765, allocations: 90.52 kB / 1.046 GB, free: 94.43 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.116e-05/2.765, allocations: 10.89 kB / 1.046 GB, free: 94.43 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.021e-05/2.765, allocations: 40.66 kB / 1.046 GB, free: 94.38 MB / 426.7 MB Notification: Performance of pre-optimization done (n=22): time 4.128e-06/2.765, allocations: 3.891 kB / 1.046 GB, free: 94.38 MB / 426.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.008305/2.774, allocations: 1.243 MB / 1.047 GB, free: 93.96 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.447e-05/2.774, allocations: 66.02 kB / 1.047 GB, free: 93.89 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000322/2.774, allocations: 219.9 kB / 1.047 GB, free: 93.8 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.046e-05/2.774, allocations: 38.39 kB / 1.047 GB, free: 93.77 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001059/2.774, allocations: 233 kB / 1.048 GB, free: 93.59 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.828e-05/2.774, allocations: 96.8 kB / 1.048 GB, free: 93.54 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.986e-05/2.774, allocations: 3.625 kB / 1.048 GB, free: 93.54 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.981e-05/2.774, allocations: 325 kB / 1.048 GB, free: 93.23 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002364/2.775, allocations: 88.88 kB / 1.048 GB, free: 93.23 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002863/2.775, allocations: 182.7 kB / 1.048 GB, free: 93.11 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003011/2.775, allocations: 116.4 kB / 1.048 GB, free: 93.11 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/2.775, allocations: 0 / 1.048 GB, free: 93.11 MB / 426.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009598/2.776, allocations: 384.6 kB / 1.049 GB, free: 93.05 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.266e-05/2.776, allocations: 11.17 kB / 1.049 GB, free: 93.05 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/2.776, allocations: 3.844 kB / 1.049 GB, free: 93.05 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003284/2.777, allocations: 73.97 kB / 1.049 GB, free: 93.03 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005927/2.777, allocations: 85.97 kB / 1.049 GB, free: 93.03 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001375/2.779, allocations: 1.841 MB / 1.051 GB, free: 91.27 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005028/2.779, allocations: 23.08 kB / 1.051 GB, free: 91.27 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.691e-05/2.779, allocations: 45.09 kB / 1.051 GB, free: 91.27 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.0001561/2.779, allocations: 127.3 kB / 1.051 GB, free: 91.16 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.752e-05/2.78, allocations: 27.34 kB / 1.051 GB, free: 91.14 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001466/2.781, allocations: 444.4 kB / 1.051 GB, free: 91.06 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/2.781, allocations: 3.875 kB / 1.051 GB, free: 91.06 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/2.781, allocations: 0 / 1.051 GB, free: 91.06 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006218/2.782, allocations: 0.5546 MB / 1.052 GB, free: 90.61 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001382/2.783, allocations: 0.7222 MB / 1.053 GB, free: 90.28 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/2.783, allocations: 0 / 1.053 GB, free: 90.28 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005649/2.784, allocations: 72.59 kB / 1.053 GB, free: 90.28 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001151/2.784, allocations: 18.91 kB / 1.053 GB, free: 90.27 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.793e-05/2.784, allocations: 15.02 kB / 1.053 GB, free: 90.27 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008807/2.785, allocations: 1.28 MB / 1.054 GB, free: 89.02 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/2.785, allocations: 0 / 1.054 GB, free: 89.02 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000971/2.786, allocations: 496 kB / 1.055 GB, free: 88.82 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001351/2.786, allocations: 107.2 kB / 1.055 GB, free: 88.71 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.742e-05/2.786, allocations: 7.625 kB / 1.055 GB, free: 88.71 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004544/2.787, allocations: 25.14 kB / 1.055 GB, free: 88.7 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.791e-05/2.787, allocations: 20 kB / 1.055 GB, free: 88.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.462e-05/2.787, allocations: 33.89 kB / 1.055 GB, free: 88.7 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002616/2.787, allocations: 183.3 kB / 1.055 GB, free: 88.62 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.453e-06/2.787, allocations: 3.906 kB / 1.055 GB, free: 88.62 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001019/2.788, allocations: 189.4 kB / 1.055 GB, free: 88.61 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.001527/2.79, allocations: 0.7784 MB / 1.056 GB, free: 88.45 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0009822/2.791, allocations: 376.5 kB / 1.056 GB, free: 88.33 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/2.791, allocations: 0.5625 kB / 1.056 GB, free: 88.33 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003733/2.791, allocations: 234.4 kB / 1.056 GB, free: 88.22 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001531/2.792, allocations: 157.7 kB / 1.057 GB, free: 88.21 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001242/2.794, allocations: 0.5249 MB / 1.057 GB, free: 88.02 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002427/2.794, allocations: 0.7687 MB / 1.058 GB, free: 87.32 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004392/2.794, allocations: 73.64 kB / 1.058 GB, free: 87.32 MB / 426.7 MB Notification: Performance of SimCode: time 1.212e-06/2.794, allocations: 2.969 kB / 1.058 GB, free: 87.32 MB / 426.7 MB Notification: Performance of Templates: time 0.0223/2.817, allocations: 11.54 MB / 1.069 GB, free: 86.8 MB / 426.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/IdealGases/Air/Air.csv","../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches