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.001559/0.001559, allocations: 113.3 kB / 18.4 MB, free: 4.68 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.001761/0.001761, allocations: 189.2 kB / 19.33 MB, free: 3.758 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.467/1.467, allocations: 205.1 MB / 225.2 MB, free: 12.26 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.001306/0.001306, allocations: 56.34 kB / 329.2 MB, free: 3.289 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08597/0.08729, allocations: 46.62 MB / 375.9 MB, free: 4.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen): time 0.3902/0.4775, allocations: 172.7 MB / 0.5357 GB, free: 2.379 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004725/0.4823, allocations: 3.22 MB / 0.5389 GB, free: 15.14 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004114/0.4828, allocations: 4 kB / 0.5389 GB, free: 15.14 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007629/0.4836, allocations: 174.9 kB / 0.539 GB, free: 14.96 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001165/0.4848, allocations: 399.3 kB / 0.5394 GB, free: 14.57 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009554/0.4858, allocations: 344.3 kB / 0.5397 GB, free: 14.24 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001224/0.487, allocations: 0.8876 MB / 0.5406 GB, free: 13.35 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002412/0.4873, allocations: 108.6 kB / 0.5407 GB, free: 13.25 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002131/0.4894, allocations: 0.7977 MB / 0.5415 GB, free: 12.45 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004888/0.4899, allocations: 270.9 kB / 0.5418 GB, free: 12.18 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 8.744e-05/0.49, allocations: 32 kB / 0.5418 GB, free: 12.15 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003845/0.4904, allocations: 119.9 kB / 0.5419 GB, free: 12.04 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001533/0.4906, allocations: 95.77 kB / 0.542 GB, free: 11.94 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002437/0.4908, allocations: 187.2 kB / 0.5422 GB, free: 11.76 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006896/0.4915, allocations: 0.5102 MB / 0.5427 GB, free: 11.25 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.4915, allocations: 4 kB / 0.5427 GB, free: 11.24 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.4915, allocations: 4 kB / 0.5427 GB, free: 11.24 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.283e-05/0.4916, allocations: 0 / 0.5427 GB, free: 11.24 MB / 478.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.0009955/0.4926, allocations: 0.5892 MB / 0.5432 GB, free: 10.6 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.000114/0.4927, allocations: 15.89 kB / 0.5433 GB, free: 10.58 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003073/0.493, allocations: 39.62 kB / 0.5433 GB, free: 10.54 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004838/0.4935, allocations: 294.4 kB / 0.5436 GB, free: 10.21 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.114e-05/0.4935, allocations: 20.56 kB / 0.5436 GB, free: 10.2 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.912e-05/0.4936, allocations: 24 kB / 0.5436 GB, free: 10.17 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005943/0.4942, allocations: 319.7 kB / 0.5439 GB, free: 9.836 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.97e-05/0.4942, allocations: 3.938 kB / 0.5439 GB, free: 9.832 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.127e-05/0.4943, allocations: 15.94 kB / 0.5439 GB, free: 9.816 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-06/0.4943, allocations: 4 kB / 0.544 GB, free: 9.812 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003451/0.4946, allocations: 205.6 kB / 0.5441 GB, free: 9.613 MB / 478.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.001968/0.4966, allocations: 1.593 MB / 0.5457 GB, free: 7.871 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003254/0.4969, allocations: 171.1 kB / 0.5459 GB, free: 7.695 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001547/0.4971, allocations: 103.5 kB / 0.546 GB, free: 7.594 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.504e-05/0.4972, allocations: 4 kB / 0.546 GB, free: 7.59 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.046e-05/0.4972, allocations: 34.56 kB / 0.546 GB, free: 7.547 MB / 478.1 MB Notification: Performance of pre-optimization done (n=22): time 3.466e-06/0.4972, allocations: 4 kB / 0.546 GB, free: 7.543 MB / 478.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.006254/0.5035, allocations: 1.615 MB / 0.5476 GB, free: 5.797 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.711e-05/0.5036, allocations: 55.41 kB / 0.5476 GB, free: 5.73 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000397/0.504, allocations: 252.9 kB / 0.5479 GB, free: 5.477 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.738e-05/0.504, allocations: 41.64 kB / 0.5479 GB, free: 5.43 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001207/0.5042, allocations: 176.2 kB / 0.5481 GB, free: 5.25 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000105/0.5043, allocations: 94.64 kB / 0.5482 GB, free: 5.156 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001252/0.5044, allocations: 81.69 kB / 0.5483 GB, free: 5.07 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.5046, allocations: 334.8 kB / 0.5486 GB, free: 4.734 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001642/0.5047, allocations: 91.95 kB / 0.5487 GB, free: 4.645 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002268/0.505, allocations: 183.8 kB / 0.5488 GB, free: 4.422 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000423/0.5054, allocations: 308.2 kB / 0.5491 GB, free: 4.078 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.5054, allocations: 4 kB / 0.5491 GB, free: 4.074 MB / 478.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006957/0.5061, allocations: 403 kB / 0.5495 GB, free: 3.668 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.5061, allocations: 8 kB / 0.5495 GB, free: 3.66 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.5062, allocations: 4 kB / 0.5495 GB, free: 3.656 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002358/0.5064, allocations: 73.61 kB / 0.5496 GB, free: 3.578 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003673/0.5068, allocations: 83.91 kB / 0.5497 GB, free: 3.496 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001816/0.5086, allocations: 1.956 MB / 0.5516 GB, free: 1.379 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002515/0.5089, allocations: 12.06 kB / 0.5516 GB, free: 1.367 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.004e-05/0.509, allocations: 36 kB / 0.5516 GB, free: 1.332 MB / 478.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.000216/0.5092, allocations: 162.3 kB / 0.5518 GB, free: 1.164 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.652e-05/0.5093, allocations: 27.72 kB / 0.5518 GB, free: 1.137 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008631/0.5101, allocations: 442.4 kB / 0.5522 GB, free: 0.6875 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.5102, allocations: 0 / 0.5522 GB, free: 0.6875 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.5102, allocations: 4 kB / 0.5522 GB, free: 0.6836 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006571/0.5108, allocations: 0.5591 MB / 0.5528 GB, free: 36 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1722/0.6831, allocations: 0.7332 MB / 0.5535 GB, free: 170.5 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.6831, allocations: 0.7812 kB / 0.5535 GB, free: 170.5 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003348/0.6835, allocations: 71.81 kB / 0.5536 GB, free: 170.5 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001013/0.6836, allocations: 21.08 kB / 0.5536 GB, free: 170.5 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.718e-05/0.6836, allocations: 13.31 kB / 0.5536 GB, free: 170.5 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007047/0.6843, allocations: 1.376 MB / 0.555 GB, free: 169.2 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.6844, allocations: 0 / 0.555 GB, free: 169.2 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006674/0.685, allocations: 485.1 kB / 0.5554 GB, free: 169 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.288e-05/0.6851, allocations: 99.69 kB / 0.5555 GB, free: 168.9 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.302e-05/0.6852, allocations: 6.828 kB / 0.5555 GB, free: 168.9 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002581/0.6855, allocations: 12.36 kB / 0.5555 GB, free: 168.9 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.334e-05/0.6855, allocations: 24.92 kB / 0.5555 GB, free: 168.9 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.005e-05/0.6856, allocations: 32.22 kB / 0.5556 GB, free: 168.9 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001958/0.6858, allocations: 191.6 kB / 0.5558 GB, free: 168.9 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.6858, allocations: 0 / 0.5558 GB, free: 168.9 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0005941/0.6864, allocations: 119.5 kB / 0.5559 GB, free: 168.9 MB / 478.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.0004415/0.6869, allocations: 150.3 kB / 0.556 GB, free: 168.8 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0008108/0.6877, allocations: 381 kB / 0.5564 GB, free: 168.6 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.6877, allocations: 0.5 kB / 0.5564 GB, free: 168.6 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00033/0.688, allocations: 232 kB / 0.5566 GB, free: 168.5 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009982/0.689, allocations: 173 kB / 0.5568 GB, free: 168.5 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00124/0.6903, allocations: 0.7215 MB / 0.5575 GB, free: 168.2 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002507/0.6906, allocations: 0.7688 MB / 0.5582 GB, free: 167.5 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000264/0.6908, allocations: 78.58 kB / 0.5583 GB, free: 167.5 MB / 478.1 MB Notification: Performance of SimCode: time 6.71e-07/0.6908, allocations: 0.875 kB / 0.5583 GB, free: 167.5 MB / 478.1 MB Notification: Performance of Templates: time 0.0139/0.7048, allocations: 7.534 MB / 0.5657 GB, free: 166.4 MB / 478.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 -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