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.002087/0.002087, allocations: 177.8 kB / 8.36 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.13/2.13, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001198/0.001197, allocations: 90.11 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.18e-05/2.196e-05, allocations: 4 kB / 314.8 MB, free: 9.137 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3623/0.3624, allocations: 47.56 MB / 362.3 MB, free: 45.84 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.581/1.944, allocations: 0.5386 GB / 0.8925 GB, free: 94.85 MB / 427.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003348/1.944, allocations: 97.22 kB / 0.8926 GB, free: 94.79 MB / 427.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.7802/2.724, allocations: 144.7 MB / 1.034 GB, free: 108 MB / 427.1 MB Notification: Performance of FrontEnd: time 2.555e-06/2.725, allocations: 0 / 1.034 GB, free: 108 MB / 427.1 MB Notification: Performance of Transformations before backend: time 3.492e-05/2.725, allocations: 3.938 kB / 1.034 GB, free: 108 MB / 427.1 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.001844/2.726, allocations: 0.5943 MB / 1.034 GB, free: 107.5 MB / 427.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.772e-05/2.727, allocations: 10.88 kB / 1.034 GB, free: 107.5 MB / 427.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008221/2.727, allocations: 44.77 kB / 1.034 GB, free: 107.5 MB / 427.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008254/2.728, allocations: 278.3 kB / 1.035 GB, free: 107.3 MB / 427.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.2e-05/2.728, allocations: 9.781 kB / 1.035 GB, free: 107.3 MB / 427.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.558e-05/2.728, allocations: 11.84 kB / 1.035 GB, free: 107.3 MB / 427.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007575/2.729, allocations: 184.8 kB / 1.035 GB, free: 107.3 MB / 427.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009095/2.73, allocations: 273 kB / 1.035 GB, free: 107.2 MB / 427.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.051e-05/2.73, allocations: 0 / 1.035 GB, free: 107.2 MB / 427.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.034e-05/2.73, allocations: 3.375 kB / 1.035 GB, free: 107.2 MB / 427.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.852e-05/2.73, allocations: 6.562 kB / 1.035 GB, free: 107.2 MB / 427.1 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.0036/2.734, allocations: 1.556 MB / 1.037 GB, free: 106.1 MB / 427.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004756/2.734, allocations: 143.1 kB / 1.037 GB, free: 106 MB / 427.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002639/2.735, allocations: 75.08 kB / 1.037 GB, free: 106 MB / 427.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.57e-05/2.735, allocations: 10.91 kB / 1.037 GB, free: 106 MB / 427.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.43e-05/2.735, allocations: 39.41 kB / 1.037 GB, free: 106 MB / 427.1 MB Notification: Performance of pre-optimization done (n=20): time 5.049e-06/2.735, allocations: 0 / 1.037 GB, free: 106 MB / 427.1 MB Notification: Performance of matching and sorting (n=25): time 0.01006/2.745, allocations: 0.9842 MB / 1.038 GB, free: 105.6 MB / 427.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.949e-05/2.745, allocations: 55.31 kB / 1.038 GB, free: 105.5 MB / 427.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004109/2.746, allocations: 202.4 kB / 1.038 GB, free: 105.4 MB / 427.1 MB Notification: Performance of collectPreVariables (initialization): time 7.863e-05/2.746, allocations: 25.7 kB / 1.038 GB, free: 105.4 MB / 427.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003608/2.746, allocations: 253.8 kB / 1.038 GB, free: 105.2 MB / 427.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001264/2.746, allocations: 82.12 kB / 1.039 GB, free: 105.2 MB / 427.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.871e-05/2.746, allocations: 0 / 1.039 GB, free: 105.2 MB / 427.1 MB Notification: Performance of setup shared object (initialization): time 0.0001003/2.746, allocations: 327.5 kB / 1.039 GB, free: 104.8 MB / 427.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002681/2.747, allocations: 72.34 kB / 1.039 GB, free: 104.8 MB / 427.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004075/2.747, allocations: 171.1 kB / 1.039 GB, free: 104.7 MB / 427.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004001/2.747, allocations: 110.2 kB / 1.039 GB, free: 104.7 MB / 427.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/2.747, allocations: 0 / 1.039 GB, free: 104.7 MB / 427.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001423/2.749, allocations: 350.9 kB / 1.04 GB, free: 104.7 MB / 427.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.679e-05/2.749, allocations: 11.44 kB / 1.04 GB, free: 104.7 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.604e-05/2.749, allocations: 2.688 kB / 1.04 GB, free: 104.7 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004251/2.749, allocations: 72.16 kB / 1.04 GB, free: 104.7 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008552/2.75, allocations: 75.44 kB / 1.04 GB, free: 104.7 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002156/2.753, allocations: 1.817 MB / 1.041 GB, free: 102.9 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007809/2.753, allocations: 16.67 kB / 1.041 GB, free: 102.9 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001347/2.754, allocations: 43.14 kB / 1.042 GB, free: 102.9 MB / 427.1 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.0002575/2.754, allocations: 106.1 kB / 1.042 GB, free: 102.8 MB / 427.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001819/2.754, allocations: 33.92 kB / 1.042 GB, free: 102.8 MB / 427.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001826/2.756, allocations: 339.6 kB / 1.042 GB, free: 102.7 MB / 427.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.767e-05/2.756, allocations: 17.91 kB / 1.042 GB, free: 102.7 MB / 427.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/2.756, allocations: 0 / 1.042 GB, free: 102.7 MB / 427.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001025/2.757, allocations: 0.5438 MB / 1.043 GB, free: 102.3 MB / 427.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002243/2.759, allocations: 0.6521 MB / 1.043 GB, free: 101.9 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.708e-06/2.759, allocations: 3.281 kB / 1.043 GB, free: 101.9 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008356/2.76, allocations: 75.67 kB / 1.043 GB, free: 101.9 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00022/2.761, allocations: 24.09 kB / 1.043 GB, free: 101.9 MB / 427.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.307e-05/2.761, allocations: 13.25 kB / 1.043 GB, free: 101.9 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001416/2.762, allocations: 1.227 MB / 1.044 GB, free: 100.6 MB / 427.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.597e-06/2.762, allocations: 3.406 kB / 1.044 GB, free: 100.6 MB / 427.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001377/2.764, allocations: 479.2 kB / 1.045 GB, free: 100.3 MB / 427.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001776/2.764, allocations: 100.1 kB / 1.045 GB, free: 100.2 MB / 427.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001013/2.764, allocations: 0 / 1.045 GB, free: 100.2 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007015/2.765, allocations: 14.48 kB / 1.045 GB, free: 100.2 MB / 427.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001189/2.765, allocations: 27.84 kB / 1.045 GB, free: 100.2 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001032/2.765, allocations: 34.3 kB / 1.045 GB, free: 100.2 MB / 427.1 MB Notification: Performance of sorting global known variables: time 0.0003165/2.765, allocations: 153.7 kB / 1.045 GB, free: 100.1 MB / 427.1 MB Notification: Performance of sort global known variables: time 7.81e-07/2.765, allocations: 0 / 1.045 GB, free: 100.1 MB / 427.1 MB Notification: Performance of remove unused functions: time 0.001618/2.767, allocations: 162.6 kB / 1.045 GB, free: 100.1 MB / 427.1 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.002507/2.769, allocations: 0.9314 MB / 1.046 GB, free: 99.85 MB / 427.1 MB Notification: Performance of simCode: created initialization part: time 0.001346/2.771, allocations: 333 kB / 1.047 GB, free: 99.68 MB / 427.1 MB Notification: Performance of simCode: created event and clocks part: time 7.915e-06/2.771, allocations: 0 / 1.047 GB, free: 99.68 MB / 427.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005431/2.772, allocations: 218.4 kB / 1.047 GB, free: 99.54 MB / 427.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001885/2.773, allocations: 115.4 kB / 1.047 GB, free: 99.52 MB / 427.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001789/2.775, allocations: 0.5049 MB / 1.047 GB, free: 99.27 MB / 427.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003548/2.776, allocations: 0.7728 MB / 1.048 GB, free: 98.56 MB / 427.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006297/2.776, allocations: 75.27 kB / 1.048 GB, free: 98.55 MB / 427.1 MB Notification: Performance of SimCode: time 1.072e-06/2.776, allocations: 0 / 1.048 GB, free: 98.55 MB / 427.1 MB Notification: Performance of Templates: time 0.03264/2.809, allocations: 11.09 MB / 1.059 GB, free: 96.43 MB / 427.1 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