Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.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.Air.DryAirNasa,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.Air.DryAirNasa") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa,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.Air.DryAirNasa") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00124/0.00124, allocations: 100.2 kB / 17.58 MB, free: 5.418 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.001422/0.001422, allocations: 192.1 kB / 18.51 MB, free: 4.508 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.306/1.306, allocations: 205.1 MB / 224.4 MB, free: 12.32 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.001117/0.001117, allocations: 55.92 kB / 280.7 MB, free: 3.172 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09522/0.09634, allocations: 46.63 MB / 327.3 MB, free: 4.469 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa): time 0.3588/0.4552, allocations: 172.7 MB / 0.4883 GB, free: 10.19 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003931/0.4591, allocations: 3.209 MB / 0.4915 GB, free: 6.969 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001452/0.4593, allocations: 7.938 kB / 0.4915 GB, free: 6.961 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005261/0.4599, allocations: 174.9 kB / 0.4916 GB, free: 6.789 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007989/0.4607, allocations: 411.3 kB / 0.492 GB, free: 6.387 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008314/0.4615, allocations: 335.9 kB / 0.4923 GB, free: 6.059 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007575/0.4623, allocations: 0.8991 MB / 0.4932 GB, free: 5.156 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001805/0.4625, allocations: 109 kB / 0.4933 GB, free: 5.051 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001406/0.4639, allocations: 0.7901 MB / 0.4941 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003043/0.4642, allocations: 270.9 kB / 0.4944 GB, free: 3.992 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.676e-05/0.4643, allocations: 32 kB / 0.4944 GB, free: 3.961 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002565/0.4645, allocations: 123.9 kB / 0.4945 GB, free: 3.84 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001014/0.4646, allocations: 95.77 kB / 0.4946 GB, free: 3.746 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001949/0.4648, allocations: 195.2 kB / 0.4948 GB, free: 3.555 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000537/0.4654, allocations: 0.4986 MB / 0.4953 GB, free: 3.055 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.4654, allocations: 0 / 0.4953 GB, free: 3.055 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.4654, allocations: 0 / 0.4953 GB, free: 3.055 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.478e-06/0.4654, allocations: 0 / 0.4953 GB, free: 3.055 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.0008366/0.4663, allocations: 0.5892 MB / 0.4958 GB, free: 2.418 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.317e-05/0.4663, allocations: 19.83 kB / 0.4959 GB, free: 2.398 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000269/0.4666, allocations: 43.61 kB / 0.4959 GB, free: 2.355 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000319/0.4669, allocations: 290.4 kB / 0.4962 GB, free: 2.031 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.137e-05/0.4669, allocations: 20.56 kB / 0.4962 GB, free: 2.012 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.01e-05/0.467, allocations: 24 kB / 0.4962 GB, free: 1.988 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004453/0.4674, allocations: 319.7 kB / 0.4965 GB, free: 1.648 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.573e-05/0.4675, allocations: 3.938 kB / 0.4965 GB, free: 1.645 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.376e-05/0.4675, allocations: 15.94 kB / 0.4965 GB, free: 1.629 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.4675, allocations: 4 kB / 0.4965 GB, free: 1.625 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003103/0.4678, allocations: 205.6 kB / 0.4967 GB, free: 1.426 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.001723/0.4696, allocations: 1.589 MB / 0.4983 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002817/0.4698, allocations: 175.1 kB / 0.4985 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001456/0.47, allocations: 100.8 kB / 0.4986 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.734e-05/0.47, allocations: 4 kB / 0.4986 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.779e-05/0.4701, allocations: 42.55 kB / 0.4986 GB, free: 15.35 MB / 414.1 MB Notification: Performance of pre-optimization done (n=22): time 2.665e-06/0.4701, allocations: 0 / 0.4986 GB, free: 15.35 MB / 414.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.005389/0.4755, allocations: 1.61 MB / 0.5002 GB, free: 13.61 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.613e-05/0.4755, allocations: 51.41 kB / 0.5002 GB, free: 13.55 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002343/0.4758, allocations: 256.9 kB / 0.5005 GB, free: 13.29 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.926e-05/0.4758, allocations: 29.7 kB / 0.5005 GB, free: 13.25 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000109/0.4759, allocations: 176.2 kB / 0.5007 GB, free: 13.07 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.794e-05/0.476, allocations: 98.62 kB / 0.5008 GB, free: 12.98 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001083/0.4761, allocations: 89.38 kB / 0.5008 GB, free: 12.88 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.4762, allocations: 334.8 kB / 0.5012 GB, free: 12.55 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001508/0.4764, allocations: 95.59 kB / 0.5013 GB, free: 12.46 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002119/0.4766, allocations: 187.8 kB / 0.5014 GB, free: 12.23 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004185/0.477, allocations: 303.7 kB / 0.5017 GB, free: 11.89 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.4771, allocations: 0 / 0.5017 GB, free: 11.89 MB / 414.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000594/0.4777, allocations: 402.7 kB / 0.5021 GB, free: 11.48 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.4777, allocations: 7.938 kB / 0.5021 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.4777, allocations: 4 kB / 0.5021 GB, free: 11.47 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002003/0.4779, allocations: 78.03 kB / 0.5022 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003145/0.4782, allocations: 83.89 kB / 0.5023 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001391/0.4796, allocations: 1.954 MB / 0.5042 GB, free: 9.188 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001805/0.4798, allocations: 12.17 kB / 0.5042 GB, free: 9.176 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.352e-05/0.4799, allocations: 44 kB / 0.5042 GB, free: 9.133 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.0001577/0.4801, allocations: 154.6 kB / 0.5044 GB, free: 8.973 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.884e-05/0.4801, allocations: 35.61 kB / 0.5044 GB, free: 8.938 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009081/0.481, allocations: 438.2 kB / 0.5048 GB, free: 8.496 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.4811, allocations: 4 kB / 0.5048 GB, free: 8.492 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.4811, allocations: 0 / 0.5048 GB, free: 8.492 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000512/0.4816, allocations: 0.5591 MB / 0.5054 GB, free: 7.844 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009275/0.4825, allocations: 0.7348 MB / 0.5061 GB, free: 7.043 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.4825, allocations: 0 / 0.5061 GB, free: 7.043 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002998/0.4828, allocations: 68.83 kB / 0.5062 GB, free: 6.977 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-05/0.4829, allocations: 20.84 kB / 0.5062 GB, free: 6.953 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.334e-05/0.4829, allocations: 15.98 kB / 0.5062 GB, free: 6.938 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008856/0.4838, allocations: 1.383 MB / 0.5076 GB, free: 5.414 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.4838, allocations: 160 / 0.5076 GB, free: 5.414 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006208/0.4845, allocations: 481.8 kB / 0.508 GB, free: 4.918 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.356e-05/0.4846, allocations: 104.8 kB / 0.5081 GB, free: 4.797 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.976e-05/0.4846, allocations: 4 kB / 0.5081 GB, free: 4.793 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002261/0.4848, allocations: 8 kB / 0.5081 GB, free: 4.785 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.261e-05/0.4849, allocations: 32.03 kB / 0.5082 GB, free: 4.754 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.154e-05/0.485, allocations: 27.98 kB / 0.5082 GB, free: 4.727 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001882/0.4852, allocations: 190 kB / 0.5084 GB, free: 4.543 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4852, allocations: 0 / 0.5084 GB, free: 4.543 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004674/0.4856, allocations: 128 kB / 0.5085 GB, free: 4.418 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.0003516/0.486, allocations: 152.6 kB / 0.5086 GB, free: 4.262 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006923/0.4867, allocations: 395.8 kB / 0.509 GB, free: 3.863 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/0.4867, allocations: 4 kB / 0.509 GB, free: 3.859 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002915/0.487, allocations: 230.4 kB / 0.5092 GB, free: 3.621 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009369/0.488, allocations: 183.5 kB / 0.5094 GB, free: 3.441 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001281/0.4892, allocations: 0.683 MB / 0.5101 GB, free: 2.73 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003764/0.4896, allocations: 0.7762 MB / 0.5108 GB, free: 1.93 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005417/0.4902, allocations: 110.9 kB / 0.5109 GB, free: 1.82 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001994/0.4904, allocations: 63.41 kB / 0.511 GB, free: 1.758 MB / 414.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4904, allocations: 0 / 0.511 GB, free: 1.758 MB / 414.1 MB Notification: Performance of Templates: time 0.01439/0.5048, allocations: 8.707 MB / 0.5195 GB, free: 9.043 MB / 430.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Air/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches