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.001749/0.001753, allocations: 188.3 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.388/3.388, allocations: 205.4 MB / 222.5 MB, free: 13.85 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.001905/0.001904, allocations: 94.88 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000608/0.0006086, allocations: 12 kB / 327 MB, free: 15.09 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2085/0.2091, allocations: 47.58 MB / 374.6 MB, free: 15.43 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air): time 0.7588/0.968, allocations: 137.3 MB / 0.4998 GB, free: 4.203 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.006835/0.975, allocations: 1.948 MB / 0.5017 GB, free: 2.25 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000651/0.9757, allocations: 7.875 kB / 0.5017 GB, free: 2.242 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001269/0.977, allocations: 135.4 kB / 0.5019 GB, free: 2.109 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001979/0.979, allocations: 275.1 kB / 0.5021 GB, free: 1.84 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002127/0.9812, allocations: 285.2 kB / 0.5024 GB, free: 1.562 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001942/0.9832, allocations: 486.9 kB / 0.5029 GB, free: 1.086 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004255/0.9837, allocations: 69.19 kB / 0.5029 GB, free: 1.016 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002676/0.9864, allocations: 430.9 kB / 0.5033 GB, free: 0.5938 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007023/0.9872, allocations: 171.4 kB / 0.5035 GB, free: 436 kB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001251/0.9874, allocations: 16 kB / 0.5035 GB, free: 420 kB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000748/0.9881, allocations: 107.8 kB / 0.5036 GB, free: 312 kB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000232/0.9884, allocations: 75.78 kB / 0.5037 GB, free: 236 kB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002591/0.9887, allocations: 97.52 kB / 0.5038 GB, free: 132 kB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001144/0.9898, allocations: 393.2 kB / 0.5042 GB, free: 15.75 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.9899, allocations: 0 / 0.5042 GB, free: 15.75 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.697e-06/0.99, allocations: 0 / 0.5042 GB, free: 15.75 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.657e-05/0.99, allocations: 0 / 0.5042 GB, free: 15.75 MB / 394.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.001715/0.9917, allocations: 0.5151 MB / 0.5047 GB, free: 15.18 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.354e-05/0.9918, allocations: 12.03 kB / 0.5047 GB, free: 15.17 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007048/0.9925, allocations: 47.61 kB / 0.5047 GB, free: 15.12 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009083/0.9935, allocations: 270.6 kB / 0.505 GB, free: 14.82 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.221e-05/0.9936, allocations: 16.56 kB / 0.505 GB, free: 14.8 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001294/0.9937, allocations: 31.89 kB / 0.505 GB, free: 14.77 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00133/0.9951, allocations: 315.7 kB / 0.5053 GB, free: 14.43 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.924e-05/0.9951, allocations: 4 kB / 0.5053 GB, free: 14.43 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.801e-05/0.9952, allocations: 12 kB / 0.5053 GB, free: 14.42 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.542e-05/0.9953, allocations: 11.95 kB / 0.5053 GB, free: 14.41 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000854/0.9961, allocations: 201.5 kB / 0.5055 GB, free: 14.21 MB / 394.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.004462/1.001, allocations: 1.573 MB / 0.5071 GB, free: 12.49 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007495/1.001, allocations: 170.7 kB / 0.5072 GB, free: 12.31 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.119e-05/1.002, allocations: 4 kB / 0.5072 GB, free: 12.31 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.076e-05/1.002, allocations: 34.56 kB / 0.5073 GB, free: 12.27 MB / 394.7 MB Notification: Performance of pre-optimization done (n=22): time 4.719e-06/1.002, allocations: 4 kB / 0.5073 GB, free: 12.26 MB / 394.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.01452/1.016, allocations: 1.639 MB / 0.5089 GB, free: 10.49 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.292e-05/1.016, allocations: 59.34 kB / 0.5089 GB, free: 10.42 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006423/1.017, allocations: 252.8 kB / 0.5092 GB, free: 10.17 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001162/1.017, allocations: 33.7 kB / 0.5092 GB, free: 10.13 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000257/1.017, allocations: 230.8 kB / 0.5094 GB, free: 9.898 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001946/1.018, allocations: 102.5 kB / 0.5095 GB, free: 9.797 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.735e-05/1.018, allocations: 8 kB / 0.5095 GB, free: 9.789 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002442/1.018, allocations: 322.8 kB / 0.5098 GB, free: 9.465 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004677/1.018, allocations: 95.73 kB / 0.5099 GB, free: 9.371 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000561/1.019, allocations: 179.8 kB / 0.5101 GB, free: 9.152 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005774/1.02, allocations: 115.9 kB / 0.5102 GB, free: 9.039 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.803e-06/1.02, allocations: 0 / 0.5102 GB, free: 9.039 MB / 394.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001747/1.021, allocations: 387.4 kB / 0.5106 GB, free: 8.648 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.316e-05/1.022, allocations: 4 kB / 0.5106 GB, free: 8.645 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.893e-05/1.022, allocations: 4 kB / 0.5106 GB, free: 8.641 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005873/1.022, allocations: 77.64 kB / 0.5107 GB, free: 8.559 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001075/1.023, allocations: 83.89 kB / 0.5107 GB, free: 8.477 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003443/1.027, allocations: 1.864 MB / 0.5126 GB, free: 6.457 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007121/1.028, allocations: 15.98 kB / 0.5126 GB, free: 6.441 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001402/1.028, allocations: 40 kB / 0.5126 GB, free: 6.402 MB / 394.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.0004285/1.028, allocations: 161.7 kB / 0.5128 GB, free: 6.234 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001824/1.028, allocations: 31.81 kB / 0.5128 GB, free: 6.203 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002459/1.031, allocations: 442.5 kB / 0.5132 GB, free: 5.758 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.876e-05/1.031, allocations: 4 kB / 0.5132 GB, free: 5.754 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/1.031, allocations: 0 / 0.5132 GB, free: 5.754 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001421/1.032, allocations: 0.5747 MB / 0.5138 GB, free: 5.09 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002803/1.035, allocations: 0.7169 MB / 0.5145 GB, free: 4.309 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-05/1.035, allocations: 3.953 kB / 0.5145 GB, free: 4.305 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008871/1.036, allocations: 67.91 kB / 0.5146 GB, free: 4.238 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002359/1.037, allocations: 32.89 kB / 0.5146 GB, free: 4.203 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.358e-05/1.037, allocations: 15.94 kB / 0.5146 GB, free: 4.188 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002168/1.039, allocations: 1.284 MB / 0.5159 GB, free: 2.766 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.856e-06/1.039, allocations: 4.031 kB / 0.5159 GB, free: 2.762 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001925/1.041, allocations: 0.494 MB / 0.5163 GB, free: 2.23 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002614/1.041, allocations: 100.9 kB / 0.5164 GB, free: 2.113 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001408/1.041, allocations: 8 kB / 0.5165 GB, free: 2.105 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007464/1.042, allocations: 15.98 kB / 0.5165 GB, free: 2.09 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001531/1.042, allocations: 27.92 kB / 0.5165 GB, free: 2.062 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001299/1.042, allocations: 31.98 kB / 0.5165 GB, free: 2.031 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005113/1.043, allocations: 186 kB / 0.5167 GB, free: 1.852 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.948e-06/1.043, allocations: 4 kB / 0.5167 GB, free: 1.848 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001402/1.044, allocations: 127.9 kB / 0.5168 GB, free: 1.723 MB / 394.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.0008988/1.045, allocations: 143.1 kB / 0.517 GB, free: 1.574 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001767/1.047, allocations: 366.6 kB / 0.5173 GB, free: 1.203 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.02e-05/1.047, allocations: 0 / 0.5173 GB, free: 1.203 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008128/1.048, allocations: 239.3 kB / 0.5175 GB, free: 0.957 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002572/1.051, allocations: 157 kB / 0.5177 GB, free: 0.8047 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003377/1.054, allocations: 0.8618 MB / 0.5185 GB, free: 15.91 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007407/1.055, allocations: 0.7723 MB / 0.5193 GB, free: 15.11 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000766/1.056, allocations: 79.41 kB / 0.5194 GB, free: 15.03 MB / 410.7 MB Notification: Performance of SimCode: time 1.583e-06/1.056, allocations: 3.938 kB / 0.5194 GB, free: 15.03 MB / 410.7 MB Notification: Performance of Templates: time 0.02849/1.084, allocations: 7.472 MB / 0.5267 GB, free: 7.551 MB / 410.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