Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001001/0.001002, allocations: 178.9 kB / 8.701 MB, free: 384 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.746/1.746, allocations: 205.3 MB / 214.4 MB, free: 1.738 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.0009085/0.0009087, allocations: 90.69 kB / 262.5 MB, free: 1.68 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.191e-05/2.193e-05, allocations: 4 kB / 315.5 MB, free: 22.7 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.1237, allocations: 47.59 MB / 363.1 MB, free: 7.055 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.553/1.676, allocations: 0.5389 GB / 0.8934 GB, free: 146.7 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002443/1.677, allocations: 102.2 kB / 0.8935 GB, free: 146.6 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.262/1.939, allocations: 144.7 MB / 1.035 GB, free: 0.5625 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.552e-06/1.939, allocations: 0 / 1.035 GB, free: 0.5625 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.94e-05/1.939, allocations: 7.984 kB / 1.035 GB, free: 0.5547 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.2699/2.209, allocations: 0.5965 MB / 1.035 GB, free: 89.5 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.386e-05/2.209, allocations: 9.812 kB / 1.035 GB, free: 89.5 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005203/2.209, allocations: 38.38 kB / 1.035 GB, free: 89.49 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004745/2.21, allocations: 273 kB / 1.036 GB, free: 89.29 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.146e-05/2.21, allocations: 7 kB / 1.036 GB, free: 89.29 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.687e-05/2.21, allocations: 13.62 kB / 1.036 GB, free: 89.29 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004408/2.21, allocations: 179.8 kB / 1.036 GB, free: 89.28 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005674/2.211, allocations: 272.1 kB / 1.036 GB, free: 89.18 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.978e-05/2.211, allocations: 4.953 kB / 1.036 GB, free: 89.18 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.759e-05/2.211, allocations: 4.562 kB / 1.036 GB, free: 89.18 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.321e-05/2.211, allocations: 6.406 kB / 1.036 GB, free: 89.18 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.001821/2.213, allocations: 1.546 MB / 1.038 GB, free: 88.05 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002585/2.213, allocations: 135.2 kB / 1.038 GB, free: 88.03 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001301/2.213, allocations: 80.41 kB / 1.038 GB, free: 88.02 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.265e-05/2.213, allocations: 6.812 kB / 1.038 GB, free: 88.02 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.687e-05/2.213, allocations: 38.92 kB / 1.038 GB, free: 87.98 MB / 426.7 MB Notification: Performance of pre-optimization done (n=20): time 1.853e-06/2.213, allocations: 0 / 1.038 GB, free: 87.98 MB / 426.7 MB Notification: Performance of matching and sorting (n=25): time 0.004088/2.217, allocations: 0.9946 MB / 1.039 GB, free: 87.56 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.175e-05/2.217, allocations: 53.84 kB / 1.039 GB, free: 87.5 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002104/2.218, allocations: 196.9 kB / 1.039 GB, free: 87.41 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.686e-05/2.218, allocations: 26.73 kB / 1.039 GB, free: 87.38 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.576e-05/2.218, allocations: 192.6 kB / 1.039 GB, free: 87.25 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.221e-05/2.218, allocations: 87.11 kB / 1.039 GB, free: 87.21 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.756e-05/2.218, allocations: 0 / 1.039 GB, free: 87.21 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.593e-05/2.218, allocations: 334.9 kB / 1.04 GB, free: 86.89 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001246/2.218, allocations: 79.72 kB / 1.04 GB, free: 86.89 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001714/2.218, allocations: 170.7 kB / 1.04 GB, free: 86.79 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001884/2.219, allocations: 106.9 kB / 1.04 GB, free: 86.79 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/2.219, allocations: 1.094 kB / 1.04 GB, free: 86.79 MB / 426.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006322/2.219, allocations: 355.6 kB / 1.04 GB, free: 86.72 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.286e-05/2.219, allocations: 11.38 kB / 1.04 GB, free: 86.72 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/2.219, allocations: 3.438 kB / 1.04 GB, free: 86.72 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002244/2.219, allocations: 64.53 kB / 1.041 GB, free: 86.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003573/2.22, allocations: 87.25 kB / 1.041 GB, free: 86.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001187/2.221, allocations: 1.815 MB / 1.042 GB, free: 84.99 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002437/2.221, allocations: 14.53 kB / 1.042 GB, free: 84.99 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.217e-05/2.221, allocations: 39.91 kB / 1.042 GB, free: 84.99 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.0001174/2.221, allocations: 110.2 kB / 1.043 GB, free: 84.89 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.651e-05/2.222, allocations: 32.36 kB / 1.043 GB, free: 84.87 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008086/2.222, allocations: 350.4 kB / 1.043 GB, free: 84.82 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/2.222, allocations: 2.375 kB / 1.043 GB, free: 84.82 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/2.222, allocations: 3.906 kB / 1.043 GB, free: 84.82 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000473/2.223, allocations: 0.5412 MB / 1.043 GB, free: 84.36 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001012/2.224, allocations: 0.6549 MB / 1.044 GB, free: 84.07 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/2.224, allocations: 3.75 kB / 1.044 GB, free: 84.07 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003189/2.224, allocations: 71.64 kB / 1.044 GB, free: 84.07 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.871e-05/2.224, allocations: 20.83 kB / 1.044 GB, free: 84.06 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.774e-05/2.224, allocations: 16.19 kB / 1.044 GB, free: 84.05 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006941/2.225, allocations: 1.233 MB / 1.045 GB, free: 82.87 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.307e-06/2.225, allocations: 0 / 1.045 GB, free: 82.87 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006785/2.226, allocations: 472.7 kB / 1.046 GB, free: 82.66 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.185e-05/2.226, allocations: 105.6 kB / 1.046 GB, free: 82.56 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.446e-05/2.226, allocations: 1.594 kB / 1.046 GB, free: 82.56 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002417/2.226, allocations: 10.14 kB / 1.046 GB, free: 82.56 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.088e-05/2.226, allocations: 23.75 kB / 1.046 GB, free: 82.56 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.442e-05/2.226, allocations: 34.55 kB / 1.046 GB, free: 82.56 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001569/2.226, allocations: 155.9 kB / 1.046 GB, free: 82.48 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/2.226, allocations: 3.281 kB / 1.046 GB, free: 82.48 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007817/2.227, allocations: 162.6 kB / 1.046 GB, free: 82.48 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.001512/2.229, allocations: 0.9193 MB / 1.047 GB, free: 82.32 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006535/2.229, allocations: 339.1 kB / 1.048 GB, free: 82.22 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/2.229, allocations: 0 / 1.048 GB, free: 82.22 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002298/2.23, allocations: 222.9 kB / 1.048 GB, free: 82.11 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000778/2.23, allocations: 118.3 kB / 1.048 GB, free: 82.11 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009148/2.231, allocations: 486.5 kB / 1.048 GB, free: 81.94 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002532/2.232, allocations: 0.7685 MB / 1.049 GB, free: 81.23 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005589/2.232, allocations: 116.4 kB / 1.049 GB, free: 81.23 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002437/2.232, allocations: 65.48 kB / 1.049 GB, free: 81.23 MB / 426.7 MB Notification: Performance of SimCode: time 3.8e-07/2.232, allocations: 0 / 1.049 GB, free: 81.23 MB / 426.7 MB Notification: Performance of Templates: time 0.02091/2.253, allocations: 11.21 MB / 1.06 GB, free: 80.99 MB / 426.7 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air_res.mat","/var/lib/jenkins/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_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches