Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001318/0.001318, allocations: 190.9 kB / 16.78 MB, free: 4.914 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.401/1.401, allocations: 226.5 MB / 244.1 MB, free: 8.219 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009531/0.0009531, allocations: 99.27 kB / 296.1 MB, free: 6.898 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3729/0.3729, allocations: 44.83 MB / 393 MB, free: 35.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003047/0.0003047, allocations: 8 kB / 465.9 MB, free: 12.7 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4334/0.4337, allocations: 62.95 MB / 0.5165 GB, free: 37 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.213/1.647, allocations: 0.5111 GB / 1.028 GB, free: 94.79 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002839/1.647, allocations: 103.2 kB / 1.028 GB, free: 94.69 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.7741/2.421, allocations: 203.6 MB / 1.226 GB, free: 114.3 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.445e-06/2.421, allocations: 0 / 1.226 GB, free: 114.3 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 7.887e-05/2.421, allocations: 24.16 kB / 1.227 GB, free: 114.3 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.003067/2.424, allocations: 1.104 MB / 1.228 GB, free: 113.2 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/2.424, allocations: 12.03 kB / 1.228 GB, free: 113.1 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001032/2.426, allocations: 135.9 kB / 1.228 GB, free: 113 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001218/2.427, allocations: 0.5569 MB / 1.228 GB, free: 112.4 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.908e-05/2.427, allocations: 105.7 kB / 1.228 GB, free: 112.3 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001446/2.427, allocations: 55.89 kB / 1.228 GB, free: 112.2 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001248/2.428, allocations: 0.826 MB / 1.229 GB, free: 111.3 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.348e-05/2.428, allocations: 4 kB / 1.229 GB, free: 111.3 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.995e-05/2.428, allocations: 24 kB / 1.229 GB, free: 111.3 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.247e-05/2.429, allocations: 40.92 kB / 1.229 GB, free: 111.3 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001046/2.43, allocations: 0.6166 MB / 1.23 GB, free: 110.7 MB / 0.5417 GB 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.003971/2.434, allocations: 3.98 MB / 1.234 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004695/2.434, allocations: 328.2 kB / 1.234 GB, free: 106.1 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002327/2.434, allocations: 169.3 kB / 1.234 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001125/2.434, allocations: 97.36 kB / 1.234 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.694e-05/2.434, allocations: 38.78 kB / 1.234 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=34): time 3.226e-06/2.434, allocations: 0 / 1.234 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of matching and sorting (n=39): time 0.005027/2.439, allocations: 1.662 MB / 1.236 GB, free: 104 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.214e-05/2.44, allocations: 136.5 kB / 1.236 GB, free: 103.9 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006863/2.44, allocations: 0.6055 MB / 1.237 GB, free: 103.2 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 5.803e-05/2.44, allocations: 37.7 kB / 1.237 GB, free: 103.2 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001854/2.441, allocations: 366.8 kB / 1.237 GB, free: 102.8 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 9.487e-05/2.441, allocations: 134.1 kB / 1.237 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.268e-05/2.441, allocations: 16 kB / 1.237 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 9.931e-05/2.441, allocations: 378.8 kB / 1.238 GB, free: 102.3 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003179/2.441, allocations: 197.9 kB / 1.238 GB, free: 102.1 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004385/2.442, allocations: 0.5047 MB / 1.238 GB, free: 101.5 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007642/2.442, allocations: 0.7446 MB / 1.239 GB, free: 100.6 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.272e-06/2.442, allocations: 4 kB / 1.239 GB, free: 100.6 MB / 0.5417 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001272/2.444, allocations: 0.8758 MB / 1.24 GB, free: 99.69 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/2.444, allocations: 14.44 kB / 1.24 GB, free: 99.68 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/2.444, allocations: 12 kB / 1.24 GB, free: 99.67 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001297/2.445, allocations: 314.1 kB / 1.24 GB, free: 99.36 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003763/2.445, allocations: 127.8 kB / 1.24 GB, free: 99.23 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009106/2.446, allocations: 0.9241 MB / 1.241 GB, free: 98.29 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006453/2.447, allocations: 55.81 kB / 1.241 GB, free: 98.23 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.5e-05/2.447, allocations: 72 kB / 1.241 GB, free: 98.16 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * 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: 0 * Non-linear torn systems: 1 {2 17} Notification: Performance of prepare postOptimizeDAE: time 0.000391/2.447, allocations: 245.5 kB / 1.242 GB, free: 97.91 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00013/2.448, allocations: 63.25 kB / 1.242 GB, free: 97.85 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00153/2.449, allocations: 0.8619 MB / 1.242 GB, free: 96.97 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.093e-06/2.449, allocations: 4 kB / 1.243 GB, free: 96.97 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.754e-06/2.449, allocations: 3.938 kB / 1.243 GB, free: 96.96 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/2.449, allocations: 3.984 kB / 1.243 GB, free: 96.96 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001957/2.451, allocations: 1.445 MB / 1.244 GB, free: 95.38 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/2.451, allocations: 0 / 1.244 GB, free: 95.38 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009531/2.452, allocations: 211.8 kB / 1.244 GB, free: 95.18 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.283e-05/2.452, allocations: 29.03 kB / 1.244 GB, free: 95.14 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.405e-05/2.452, allocations: 16 kB / 1.244 GB, free: 95.13 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001452/2.454, allocations: 2.676 MB / 1.247 GB, free: 92.18 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/2.454, allocations: 8.094 kB / 1.247 GB, free: 92.18 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001086/2.455, allocations: 0.8129 MB / 1.248 GB, free: 91.32 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003519/2.455, allocations: 188.2 kB / 1.248 GB, free: 91.12 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001327/2.455, allocations: 15.98 kB / 1.248 GB, free: 91.11 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004862/2.456, allocations: 27.98 kB / 1.248 GB, free: 91.08 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001009/2.456, allocations: 43.95 kB / 1.248 GB, free: 91.04 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.637e-05/2.456, allocations: 47.92 kB / 1.248 GB, free: 90.99 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0005179/2.457, allocations: 427 kB / 1.248 GB, free: 90.57 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.41e-07/2.457, allocations: 0 / 1.248 GB, free: 90.57 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.00142/2.458, allocations: 335.8 kB / 1.249 GB, free: 90.25 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 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.001764/2.46, allocations: 0.9338 MB / 1.25 GB, free: 89.31 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001143/2.461, allocations: 0.5312 MB / 1.25 GB, free: 88.79 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/2.461, allocations: 0 / 1.25 GB, free: 88.79 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0009005/2.462, allocations: 407.1 kB / 1.25 GB, free: 88.38 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001795/2.464, allocations: 342.1 kB / 1.251 GB, free: 88.05 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002214/2.466, allocations: 1.61 MB / 1.252 GB, free: 86.39 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003713/2.466, allocations: 0.93 MB / 1.253 GB, free: 85.43 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004203/2.467, allocations: 115.4 kB / 1.253 GB, free: 85.32 MB / 0.5417 GB Notification: Performance of SimCode: time 7.01e-07/2.467, allocations: 4 kB / 1.253 GB, free: 85.32 MB / 0.5417 GB Notification: Performance of Templates: time 0.03061/2.497, allocations: 20.03 MB / 1.273 GB, free: 65.32 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Nitrogen/Nitrogen.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches