Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.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.Nitrogen,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.Nitrogen") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen,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.Nitrogen") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001294/0.001294, allocations: 108.3 kB / 18.34 MB, free: 4.719 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.001259/0.001259, allocations: 191 kB / 19.28 MB, free: 3.785 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.311/1.311, allocations: 205.1 MB / 225.2 MB, free: 12.28 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.001192/0.001192, allocations: 47.94 kB / 282.1 MB, free: 2.492 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07797/0.07918, allocations: 46.63 MB / 328.7 MB, free: 3.793 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen): time 0.3234/0.4027, allocations: 172.7 MB / 0.4897 GB, free: 9.781 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003624/0.4063, allocations: 3.207 MB / 0.4928 GB, free: 6.57 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001378/0.4065, allocations: 7.938 kB / 0.4928 GB, free: 6.562 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005413/0.4071, allocations: 171 kB / 0.493 GB, free: 6.395 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007266/0.4078, allocations: 419 kB / 0.4934 GB, free: 5.984 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007482/0.4086, allocations: 343.9 kB / 0.4937 GB, free: 5.648 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008519/0.4094, allocations: 0.8952 MB / 0.4946 GB, free: 4.75 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001847/0.4096, allocations: 97.17 kB / 0.4947 GB, free: 4.656 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001403/0.411, allocations: 0.7957 MB / 0.4955 GB, free: 3.863 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003175/0.4114, allocations: 278.9 kB / 0.4957 GB, free: 3.59 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.899e-05/0.4114, allocations: 28 kB / 0.4958 GB, free: 3.562 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002615/0.4117, allocations: 131.8 kB / 0.4959 GB, free: 3.434 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001074/0.4118, allocations: 87.78 kB / 0.496 GB, free: 3.348 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001977/0.412, allocations: 183.3 kB / 0.4961 GB, free: 3.168 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000527/0.4125, allocations: 0.5141 MB / 0.4966 GB, free: 2.652 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.4125, allocations: 0 / 0.4966 GB, free: 2.652 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.4126, allocations: 0 / 0.4966 GB, free: 2.652 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.486e-06/0.4126, allocations: 0 / 0.4966 GB, free: 2.652 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.0007991/0.4134, allocations: 0.593 MB / 0.4972 GB, free: 2.012 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.36e-05/0.4134, allocations: 11.89 kB / 0.4972 GB, free: 2 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002739/0.4137, allocations: 47.61 kB / 0.4973 GB, free: 1.953 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004504/0.4142, allocations: 290.4 kB / 0.4976 GB, free: 1.629 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.069e-05/0.4142, allocations: 20.56 kB / 0.4976 GB, free: 1.609 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.75e-05/0.4142, allocations: 28 kB / 0.4976 GB, free: 1.582 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004684/0.4147, allocations: 315.7 kB / 0.4979 GB, free: 1.246 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.4147, allocations: 7.938 kB / 0.4979 GB, free: 1.238 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.433e-05/0.4148, allocations: 12 kB / 0.4979 GB, free: 1.227 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.4148, allocations: 4 kB / 0.4979 GB, free: 1.223 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003368/0.4151, allocations: 213.5 kB / 0.4981 GB, free: 1.016 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.001748/0.4169, allocations: 1.577 MB / 0.4997 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002957/0.4172, allocations: 179.1 kB / 0.4998 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001457/0.4174, allocations: 100.8 kB / 0.4999 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.604e-05/0.4174, allocations: 3.984 kB / 0.4999 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.407e-05/0.4174, allocations: 39.44 kB / 0.5 GB, free: 14.95 MB / 414.1 MB Notification: Performance of pre-optimization done (n=22): time 1.423e-06/0.4174, allocations: 0 / 0.5 GB, free: 14.95 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.005262/0.4227, allocations: 1.608 MB / 0.5015 GB, free: 13.21 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.045e-05/0.4227, allocations: 55.41 kB / 0.5016 GB, free: 13.14 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002424/0.423, allocations: 252.9 kB / 0.5018 GB, free: 12.89 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.404e-05/0.423, allocations: 33.7 kB / 0.5019 GB, free: 12.85 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/0.4231, allocations: 180.1 kB / 0.502 GB, free: 12.67 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.381e-05/0.4232, allocations: 94.64 kB / 0.5021 GB, free: 12.57 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001172/0.4233, allocations: 85.53 kB / 0.5022 GB, free: 12.48 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.4235, allocations: 342.8 kB / 0.5025 GB, free: 12.14 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001614/0.4236, allocations: 87.95 kB / 0.5026 GB, free: 12.05 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002066/0.4238, allocations: 191.6 kB / 0.5028 GB, free: 11.83 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000382/0.4242, allocations: 303.8 kB / 0.5031 GB, free: 11.49 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.4242, allocations: 4 kB / 0.5031 GB, free: 11.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006224/0.4249, allocations: 394.7 kB / 0.5035 GB, free: 11.09 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.4249, allocations: 8 kB / 0.5035 GB, free: 11.08 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.4249, allocations: 4 kB / 0.5035 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002108/0.4251, allocations: 74.08 kB / 0.5036 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003441/0.4255, allocations: 87.83 kB / 0.5036 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001295/0.4268, allocations: 1.95 MB / 0.5055 GB, free: 8.793 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001968/0.427, allocations: 12.03 kB / 0.5056 GB, free: 8.781 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.463e-05/0.4271, allocations: 39.98 kB / 0.5056 GB, free: 8.742 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.0001477/0.4272, allocations: 158.8 kB / 0.5057 GB, free: 8.578 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.932e-05/0.4273, allocations: 31.62 kB / 0.5058 GB, free: 8.547 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008802/0.4282, allocations: 431.4 kB / 0.5062 GB, free: 8.109 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.4282, allocations: 4 kB / 0.5062 GB, free: 8.105 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.384e-06/0.4282, allocations: 4 kB / 0.5062 GB, free: 8.102 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005358/0.4287, allocations: 0.5669 MB / 0.5068 GB, free: 7.445 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009903/0.4297, allocations: 0.7352 MB / 0.5075 GB, free: 6.645 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.4298, allocations: 0 / 0.5075 GB, free: 6.645 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003091/0.4301, allocations: 67.95 kB / 0.5075 GB, free: 6.578 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.429e-05/0.4302, allocations: 28.84 kB / 0.5076 GB, free: 6.547 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.686e-05/0.4302, allocations: 16 kB / 0.5076 GB, free: 6.531 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008273/0.431, allocations: 1.372 MB / 0.5089 GB, free: 5.023 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.431, allocations: 3.938 kB / 0.5089 GB, free: 5.02 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006134/0.4317, allocations: 478.6 kB / 0.5094 GB, free: 4.527 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.903e-05/0.4317, allocations: 109 kB / 0.5095 GB, free: 4.402 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.742e-05/0.4318, allocations: 3.984 kB / 0.5095 GB, free: 4.398 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002225/0.432, allocations: 8 kB / 0.5095 GB, free: 4.391 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.212e-05/0.4321, allocations: 31.91 kB / 0.5095 GB, free: 4.359 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.828e-05/0.4321, allocations: 31.98 kB / 0.5096 GB, free: 4.328 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001649/0.4323, allocations: 186 kB / 0.5097 GB, free: 4.148 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4323, allocations: 0 / 0.5097 GB, free: 4.148 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004592/0.4328, allocations: 128 kB / 0.5099 GB, free: 4.023 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.0003262/0.4331, allocations: 151.9 kB / 0.51 GB, free: 3.867 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006039/0.4337, allocations: 379.4 kB / 0.5104 GB, free: 3.484 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.4337, allocations: 0 / 0.5104 GB, free: 3.484 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002904/0.434, allocations: 234.4 kB / 0.5106 GB, free: 3.242 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008475/0.4349, allocations: 168.7 kB / 0.5107 GB, free: 3.074 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001122/0.436, allocations: 0.7063 MB / 0.5114 GB, free: 2.34 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003084/0.4363, allocations: 0.7645 MB / 0.5122 GB, free: 1.551 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003749/0.4367, allocations: 106.9 kB / 0.5123 GB, free: 1.441 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001683/0.4369, allocations: 75.39 kB / 0.5124 GB, free: 1.367 MB / 414.1 MB Notification: Performance of SimCode: time 2.61e-07/0.4369, allocations: 0 / 0.5124 GB, free: 1.367 MB / 414.1 MB Notification: Performance of Templates: time 0.013/0.4499, allocations: 8.691 MB / 0.5208 GB, free: 8.656 MB / 430.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen_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/Nitrogen/Nitrogen.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches