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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001446/0.001446, allocations: 103.8 kB / 17.16 MB, free: 6.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00162/0.00162, allocations: 190 kB / 18.07 MB, free: 5.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.448/1.448, allocations: 205.1 MB / 223.9 MB, free: 12.48 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001383/0.001383, allocations: 47.92 kB / 280 MB, free: 3.578 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09117/0.09256, allocations: 46.62 MB / 326.6 MB, free: 4.883 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air): time 0.4143/0.5069, allocations: 170.6 MB / 497.2 MB, free: 12.84 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004309/0.5113, allocations: 3.241 MB / 0.4887 GB, free: 9.586 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002476/0.5117, allocations: 4 kB / 0.4887 GB, free: 9.582 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006646/0.5124, allocations: 139.2 kB / 0.4889 GB, free: 9.445 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009215/0.5133, allocations: 391.6 kB / 0.4892 GB, free: 9.062 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008985/0.5142, allocations: 326 kB / 0.4896 GB, free: 8.746 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001261/0.5155, allocations: 1.34 MB / 0.4909 GB, free: 7.402 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001831/0.5157, allocations: 75.77 kB / 0.4909 GB, free: 7.332 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002208/0.5179, allocations: 0.7163 MB / 0.4916 GB, free: 6.613 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004332/0.5183, allocations: 286.8 kB / 0.4919 GB, free: 6.332 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.274e-05/0.5184, allocations: 20 kB / 0.4919 GB, free: 6.312 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003019/0.5187, allocations: 103.9 kB / 0.492 GB, free: 6.211 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001123/0.5188, allocations: 91.64 kB / 0.4921 GB, free: 6.121 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001965/0.519, allocations: 163.3 kB / 0.4923 GB, free: 5.961 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005879/0.5196, allocations: 0.5024 MB / 0.4928 GB, free: 5.457 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.5196, allocations: 0 / 0.4928 GB, free: 5.457 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.5196, allocations: 4 kB / 0.4928 GB, free: 5.453 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.724e-06/0.5197, allocations: 0 / 0.4928 GB, free: 5.453 MB / 398.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.0009728/0.5206, allocations: 0.5931 MB / 0.4933 GB, free: 4.812 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.158e-05/0.5207, allocations: 12.03 kB / 0.4934 GB, free: 4.801 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003138/0.521, allocations: 43.61 kB / 0.4934 GB, free: 4.758 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004287/0.5215, allocations: 290.4 kB / 0.4937 GB, free: 4.434 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.247e-05/0.5215, allocations: 20.56 kB / 0.4937 GB, free: 4.414 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.843e-05/0.5215, allocations: 24 kB / 0.4937 GB, free: 4.391 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005496/0.5221, allocations: 319.6 kB / 0.494 GB, free: 4.047 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.082e-05/0.5221, allocations: 3.938 kB / 0.494 GB, free: 4.043 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.939e-05/0.5222, allocations: 12 kB / 0.494 GB, free: 4.031 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.152e-05/0.5222, allocations: 8 kB / 0.494 GB, free: 4.023 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003412/0.5226, allocations: 209.5 kB / 0.4942 GB, free: 3.82 MB / 398.1 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.002326/0.5249, allocations: 1.585 MB / 0.4958 GB, free: 2.086 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003791/0.5253, allocations: 175.1 kB / 0.496 GB, free: 1.906 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001726/0.5255, allocations: 100.8 kB / 0.496 GB, free: 1.805 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.438e-05/0.5255, allocations: 4 kB / 0.4961 GB, free: 1.801 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.439e-05/0.5256, allocations: 34.56 kB / 0.4961 GB, free: 1.758 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 3.106e-06/0.5256, allocations: 0 / 0.4961 GB, free: 1.758 MB / 398.1 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.006159/0.5317, allocations: 1.63 MB / 0.4977 GB, free: 15.99 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.744e-05/0.5318, allocations: 55.41 kB / 0.4977 GB, free: 15.93 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002772/0.5321, allocations: 252.9 kB / 0.498 GB, free: 15.68 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.626e-05/0.5321, allocations: 33.7 kB / 0.498 GB, free: 15.64 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001316/0.5323, allocations: 172.2 kB / 0.4982 GB, free: 15.46 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.117e-05/0.5324, allocations: 102.6 kB / 0.4983 GB, free: 15.36 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001261/0.5325, allocations: 89.38 kB / 0.4984 GB, free: 15.27 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.5327, allocations: 334.8 kB / 0.4987 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001671/0.5328, allocations: 87.91 kB / 0.4988 GB, free: 14.84 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002446/0.5331, allocations: 191.8 kB / 0.4989 GB, free: 14.61 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004452/0.5335, allocations: 309.1 kB / 0.4992 GB, free: 14.27 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.5336, allocations: 8 kB / 0.4992 GB, free: 14.26 MB / 414.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000685/0.5343, allocations: 386.7 kB / 0.4996 GB, free: 13.87 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.477e-05/0.5343, allocations: 11.28 kB / 0.4996 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.5343, allocations: 4.406 kB / 0.4996 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002381/0.5345, allocations: 73.69 kB / 0.4997 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003759/0.5349, allocations: 91.83 kB / 0.4998 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001624/0.5366, allocations: 1.852 MB / 0.5016 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002816/0.5369, allocations: 28.08 kB / 0.5016 GB, free: 11.65 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.441e-05/0.537, allocations: 36 kB / 0.5017 GB, free: 11.62 MB / 414.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 () * 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000227/0.5372, allocations: 158.6 kB / 0.5018 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.667e-05/0.5373, allocations: 31.59 kB / 0.5018 GB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00103/0.5383, allocations: 439.7 kB / 0.5023 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.5383, allocations: 0 / 0.5023 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.5383, allocations: 4 kB / 0.5023 GB, free: 10.97 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005667/0.5389, allocations: 0.5591 MB / 0.5028 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001107/0.54, allocations: 0.7271 MB / 0.5035 GB, free: 9.531 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.628e-06/0.5401, allocations: 11.92 kB / 0.5035 GB, free: 9.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003253/0.5404, allocations: 59.97 kB / 0.5036 GB, free: 9.461 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.551e-05/0.5405, allocations: 20.84 kB / 0.5036 GB, free: 9.438 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.378e-05/0.5405, allocations: 15.98 kB / 0.5036 GB, free: 9.422 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008974/0.5414, allocations: 1.288 MB / 0.5049 GB, free: 8 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.5415, allocations: 3.938 kB / 0.5049 GB, free: 7.996 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006835/0.5421, allocations: 482.7 kB / 0.5053 GB, free: 7.5 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001191/0.5423, allocations: 104.8 kB / 0.5054 GB, free: 7.379 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.411e-05/0.5423, allocations: 4 kB / 0.5054 GB, free: 7.375 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002741/0.5426, allocations: 15.89 kB / 0.5055 GB, free: 7.359 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.326e-05/0.5427, allocations: 31.91 kB / 0.5055 GB, free: 7.328 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.427e-05/0.5428, allocations: 36.05 kB / 0.5055 GB, free: 7.293 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002227/0.543, allocations: 182 kB / 0.5057 GB, free: 7.117 MB / 414.1 MB Notification: Performance of sort global known variables: time 4.61e-07/0.543, allocations: 0 / 0.5057 GB, free: 7.117 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006211/0.5436, allocations: 131.9 kB / 0.5058 GB, free: 6.988 MB / 414.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 () * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000433/0.5441, allocations: 151.1 kB / 0.506 GB, free: 6.832 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007187/0.5448, allocations: 370.4 kB / 0.5063 GB, free: 6.457 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.5448, allocations: 0.8125 kB / 0.5063 GB, free: 6.457 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003141/0.5451, allocations: 238.5 kB / 0.5065 GB, free: 6.211 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009687/0.5461, allocations: 152.5 kB / 0.5067 GB, free: 6.059 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001348/0.5475, allocations: 0.7876 MB / 0.5075 GB, free: 5.246 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003379/0.5478, allocations: 0.7645 MB / 0.5082 GB, free: 4.457 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0006099/0.5484, allocations: 122.9 kB / 0.5083 GB, free: 4.336 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00022/0.5487, allocations: 63.42 kB / 0.5084 GB, free: 4.273 MB / 414.1 MB Notification: Performance of SimCode: time 2.064e-06/0.5487, allocations: 0 / 0.5084 GB, free: 4.273 MB / 414.1 MB Notification: Performance of Templates: time 0.01468/0.5634, allocations: 8.449 MB / 0.5166 GB, free: 11.82 MB / 430.1 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