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.001247/0.001247, allocations: 181.4 kB / 17.01 MB, free: 5.125 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.7/1.7, allocations: 205.4 MB / 223.1 MB, free: 9.039 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.001281/0.001281, allocations: 96.16 kB / 271.5 MB, free: 8.359 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002688/0.0002688, allocations: 8 kB / 328.3 MB, free: 15.51 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3066/0.3068, allocations: 47.56 MB / 375.8 MB, free: 45.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.33/1.637, allocations: 0.5888 GB / 0.9558 GB, free: 23.59 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003373/1.637, allocations: 99.94 kB / 0.9559 GB, free: 23.49 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5712/2.208, allocations: 152.4 MB / 1.105 GB, free: 42.1 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.405e-06/2.208, allocations: 4 kB / 1.105 GB, free: 42.09 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.754e-05/2.208, allocations: 8 kB / 1.105 GB, free: 42.09 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.001506/2.21, allocations: 0.6128 MB / 1.105 GB, free: 41.43 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.965e-05/2.21, allocations: 8.031 kB / 1.105 GB, free: 41.42 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004248/2.21, allocations: 43.61 kB / 1.105 GB, free: 41.38 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005307/2.211, allocations: 282.9 kB / 1.106 GB, free: 41.06 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.024e-05/2.211, allocations: 24.56 kB / 1.106 GB, free: 41.04 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.285e-05/2.211, allocations: 24 kB / 1.106 GB, free: 41.01 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005294/2.212, allocations: 315.6 kB / 1.106 GB, free: 40.67 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.423e-05/2.212, allocations: 0 / 1.106 GB, free: 40.67 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.522e-05/2.212, allocations: 12 kB / 1.106 GB, free: 40.66 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.13e-05/2.212, allocations: 7.984 kB / 1.106 GB, free: 40.65 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003253/2.212, allocations: 213.5 kB / 1.106 GB, free: 40.45 MB / 426.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.001604/2.214, allocations: 1.573 MB / 1.108 GB, free: 38.71 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002596/2.214, allocations: 171 kB / 1.108 GB, free: 38.54 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.832e-05/2.214, allocations: 4.188 kB / 1.108 GB, free: 38.54 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.145e-05/2.214, allocations: 42.73 kB / 1.108 GB, free: 38.48 MB / 426.7 MB Notification: Performance of pre-optimization done (n=22): time 1.813e-06/2.214, allocations: 0 / 1.108 GB, free: 38.48 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.00519/2.219, allocations: 1.612 MB / 1.109 GB, free: 36.75 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.698e-05/2.219, allocations: 63.38 kB / 1.11 GB, free: 36.67 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002063/2.219, allocations: 228 kB / 1.11 GB, free: 36.45 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.444e-05/2.219, allocations: 29.7 kB / 1.11 GB, free: 36.41 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.025e-05/2.22, allocations: 180.2 kB / 1.11 GB, free: 36.23 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.428e-05/2.22, allocations: 94.66 kB / 1.11 GB, free: 36.14 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.668e-05/2.22, allocations: 4 kB / 1.11 GB, free: 36.13 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.165e-05/2.22, allocations: 350.7 kB / 1.11 GB, free: 35.78 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001346/2.22, allocations: 83.95 kB / 1.11 GB, free: 35.7 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001583/2.22, allocations: 184 kB / 1.111 GB, free: 35.48 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001638/2.22, allocations: 123.9 kB / 1.111 GB, free: 35.36 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/2.22, allocations: 4 kB / 1.111 GB, free: 35.35 MB / 426.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005276/2.221, allocations: 395.2 kB / 1.111 GB, free: 34.95 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/2.221, allocations: 4.406 kB / 1.111 GB, free: 34.95 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/2.221, allocations: 4 kB / 1.111 GB, free: 34.95 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002091/2.221, allocations: 73.69 kB / 1.111 GB, free: 34.87 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003214/2.221, allocations: 87.89 kB / 1.111 GB, free: 34.78 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001041/2.222, allocations: 1.863 MB / 1.113 GB, free: 32.75 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002894/2.223, allocations: 20.27 kB / 1.113 GB, free: 32.73 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.172e-05/2.223, allocations: 40 kB / 1.113 GB, free: 32.7 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 () * 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 (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.0001726/2.223, allocations: 161.7 kB / 1.113 GB, free: 32.53 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.7e-05/2.223, allocations: 23.72 kB / 1.113 GB, free: 32.5 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008438/2.224, allocations: 444.6 kB / 1.114 GB, free: 32.05 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/2.224, allocations: 4 kB / 1.114 GB, free: 32.05 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.846e-06/2.224, allocations: 0 / 1.114 GB, free: 32.05 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003975/2.224, allocations: 0.563 MB / 1.114 GB, free: 31.39 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008925/2.225, allocations: 0.7252 MB / 1.115 GB, free: 30.61 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/2.225, allocations: 0 / 1.115 GB, free: 30.61 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002966/2.225, allocations: 71.89 kB / 1.115 GB, free: 30.54 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.227e-05/2.226, allocations: 20.84 kB / 1.115 GB, free: 30.51 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.46e-05/2.226, allocations: 15.94 kB / 1.115 GB, free: 30.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005851/2.226, allocations: 1.28 MB / 1.116 GB, free: 29.08 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/2.226, allocations: 3.953 kB / 1.116 GB, free: 29.08 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005597/2.227, allocations: 0.5057 MB / 1.117 GB, free: 28.54 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.094e-05/2.227, allocations: 96.86 kB / 1.117 GB, free: 28.42 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.574e-05/2.227, allocations: 11.98 kB / 1.117 GB, free: 28.41 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002565/2.227, allocations: 12 kB / 1.117 GB, free: 28.4 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.953e-05/2.227, allocations: 28.03 kB / 1.117 GB, free: 28.37 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.845e-05/2.227, allocations: 27.98 kB / 1.117 GB, free: 28.34 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001508/2.227, allocations: 190 kB / 1.117 GB, free: 28.16 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.41e-07/2.227, allocations: 0 / 1.117 GB, free: 28.16 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007665/2.228, allocations: 187.9 kB / 1.117 GB, free: 27.97 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 () * Number of clocked 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.001127/2.229, allocations: 0.7837 MB / 1.118 GB, free: 27.19 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006121/2.23, allocations: 367.4 kB / 1.119 GB, free: 26.82 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.059e-06/2.23, allocations: 8 kB / 1.119 GB, free: 26.81 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002271/2.23, allocations: 238.4 kB / 1.119 GB, free: 26.56 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007977/2.231, allocations: 166.1 kB / 1.119 GB, free: 26.4 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001082/2.232, allocations: 0.8124 MB / 1.12 GB, free: 25.56 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001988/2.232, allocations: 0.7765 MB / 1.121 GB, free: 24.76 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005607/2.233, allocations: 114.9 kB / 1.121 GB, free: 24.65 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001923/2.233, allocations: 63.41 kB / 1.121 GB, free: 24.59 MB / 426.7 MB Notification: Performance of SimCode: time 5.61e-07/2.233, allocations: 0 / 1.121 GB, free: 24.59 MB / 426.7 MB Notification: Performance of Templates: time 0.02172/2.255, allocations: 17.59 MB / 1.138 GB, free: 6.992 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