Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009802/0.0009801, allocations: 180.3 kB / 17.36 MB, free: 4.324 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.296/1.296, allocations: 205.6 MB / 223.7 MB, free: 8.957 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007434/0.0007433, allocations: 86.39 kB / 272.1 MB, free: 8.145 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002853/0.0002854, allocations: 4 kB / 329 MB, free: 15.07 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2696/0.2699, allocations: 47.58 MB / 376.6 MB, free: 45.59 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen): time 0.4259/0.6958, allocations: 165.2 MB / 0.5291 GB, free: 11.04 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.00421/0.7001, allocations: 3.901 MB / 0.5329 GB, free: 9.914 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003241/0.7004, allocations: 3.281 kB / 0.5329 GB, free: 9.914 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006038/0.701, allocations: 149 kB / 0.533 GB, free: 9.906 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008731/0.7019, allocations: 389.2 kB / 0.5334 GB, free: 9.887 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008826/0.7028, allocations: 304.1 kB / 0.5337 GB, free: 9.879 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.00148/0.7043, allocations: 1.347 MB / 0.535 GB, free: 9.875 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002271/0.7046, allocations: 77.23 kB / 0.5351 GB, free: 9.859 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001882/0.7064, allocations: 0.7324 MB / 0.5358 GB, free: 9.828 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003414/0.7068, allocations: 289.1 kB / 0.5361 GB, free: 9.824 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 4.429e-05/0.7068, allocations: 14.66 kB / 0.5361 GB, free: 9.824 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000312/0.7072, allocations: 103.7 kB / 0.5362 GB, free: 9.82 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001091/0.7073, allocations: 77.78 kB / 0.5363 GB, free: 9.82 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002549/0.7075, allocations: 195.9 kB / 0.5365 GB, free: 9.789 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005765/0.7081, allocations: 0.493 MB / 0.5369 GB, free: 9.762 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.7081, allocations: 5.859 kB / 0.5369 GB, free: 9.762 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.7082, allocations: 0 / 0.5369 GB, free: 9.762 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.933e-06/0.7082, allocations: 0 / 0.5369 GB, free: 9.762 MB / 394.7 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.0007883/0.709, allocations: 0.5124 MB / 0.5374 GB, free: 9.332 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.709, allocations: 15.56 kB / 0.5375 GB, free: 9.328 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002591/0.7093, allocations: 40.59 kB / 0.5375 GB, free: 9.312 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003359/0.7096, allocations: 286.8 kB / 0.5378 GB, free: 9.09 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.132e-05/0.7097, allocations: 21.88 kB / 0.5378 GB, free: 9.09 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.054e-05/0.7097, allocations: 20.97 kB / 0.5378 GB, free: 9.09 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004497/0.7102, allocations: 315.5 kB / 0.5381 GB, free: 8.988 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.584e-05/0.7102, allocations: 9.156 kB / 0.5381 GB, free: 8.984 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.256e-05/0.7103, allocations: 11.31 kB / 0.5381 GB, free: 8.984 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.111e-05/0.7103, allocations: 6.469 kB / 0.5381 GB, free: 8.984 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003278/0.7106, allocations: 203.3 kB / 0.5383 GB, free: 8.984 MB / 394.7 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.001709/0.7123, allocations: 1.589 MB / 0.5399 GB, free: 7.793 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002862/0.7126, allocations: 174.7 kB / 0.54 GB, free: 7.766 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000148/0.7128, allocations: 95.3 kB / 0.5401 GB, free: 7.754 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.891e-05/0.7128, allocations: 12.55 kB / 0.5402 GB, free: 7.75 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.682e-05/0.7129, allocations: 37.23 kB / 0.5402 GB, free: 7.711 MB / 394.7 MB Notification: Performance of pre-optimization done (n=22): time 1.352e-06/0.7129, allocations: 2.625 kB / 0.5402 GB, free: 7.711 MB / 394.7 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.005195/0.7181, allocations: 1.63 MB / 0.5418 GB, free: 6.973 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.196e-05/0.7181, allocations: 53.53 kB / 0.5418 GB, free: 6.91 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002915/0.7184, allocations: 256 kB / 0.5421 GB, free: 6.797 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.449e-05/0.7185, allocations: 32.2 kB / 0.5421 GB, free: 6.766 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000105/0.7186, allocations: 176.8 kB / 0.5423 GB, free: 6.641 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.48e-05/0.7187, allocations: 94.7 kB / 0.5424 GB, free: 6.582 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.875e-05/0.7187, allocations: 5.562 kB / 0.5424 GB, free: 6.582 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001435/0.7189, allocations: 335.3 kB / 0.5427 GB, free: 6.27 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001498/0.719, allocations: 90.95 kB / 0.5428 GB, free: 6.266 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002208/0.7192, allocations: 193 kB / 0.543 GB, free: 6.148 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003963/0.7196, allocations: 307.7 kB / 0.5433 GB, free: 6.023 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.7197, allocations: 6.812 kB / 0.5433 GB, free: 6.02 MB / 394.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005662/0.7202, allocations: 385.2 kB / 0.5436 GB, free: 5.953 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.7203, allocations: 6.219 kB / 0.5436 GB, free: 5.953 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.7203, allocations: 5.641 kB / 0.5436 GB, free: 5.953 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002122/0.7205, allocations: 76.02 kB / 0.5437 GB, free: 5.938 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003227/0.7208, allocations: 82.22 kB / 0.5438 GB, free: 5.938 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001422/0.7223, allocations: 1.857 MB / 0.5456 GB, free: 4.156 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002189/0.7225, allocations: 21.42 kB / 0.5456 GB, free: 4.152 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.121e-05/0.7225, allocations: 39.56 kB / 0.5457 GB, free: 4.152 MB / 394.7 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.0001791/0.7227, allocations: 163.2 kB / 0.5458 GB, free: 4.031 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.024e-05/0.7228, allocations: 28.94 kB / 0.5458 GB, free: 4.016 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000887/0.7237, allocations: 437 kB / 0.5463 GB, free: 3.914 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.7237, allocations: 2.906 kB / 0.5463 GB, free: 3.914 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.7237, allocations: 0 / 0.5463 GB, free: 3.914 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005748/0.7243, allocations: 0.5661 MB / 0.5468 GB, free: 3.438 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001037/0.7253, allocations: 0.7228 MB / 0.5475 GB, free: 3.023 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.391e-06/0.7254, allocations: 3.938 kB / 0.5475 GB, free: 3.02 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002889/0.7257, allocations: 74.06 kB / 0.5476 GB, free: 3.004 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.19e-05/0.7257, allocations: 31.28 kB / 0.5476 GB, free: 2.984 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.573e-05/0.7258, allocations: 15.36 kB / 0.5476 GB, free: 2.98 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008467/0.7266, allocations: 1.279 MB / 0.5489 GB, free: 1.707 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.7266, allocations: 0 / 0.5489 GB, free: 1.707 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000563/0.7272, allocations: 479.1 kB / 0.5493 GB, free: 1.5 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.169e-05/0.7273, allocations: 105.5 kB / 0.5494 GB, free: 1.387 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.607e-05/0.7274, allocations: 10.28 kB / 0.5495 GB, free: 1.383 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002355/0.7276, allocations: 18.45 kB / 0.5495 GB, free: 1.379 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.332e-05/0.7277, allocations: 25.75 kB / 0.5495 GB, free: 1.367 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.135e-05/0.7277, allocations: 35.61 kB / 0.5495 GB, free: 1.359 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001609/0.7279, allocations: 183.5 kB / 0.5497 GB, free: 1.266 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.51e-07/0.7279, allocations: 0 / 0.5497 GB, free: 1.266 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004572/0.7284, allocations: 133.2 kB / 0.5498 GB, free: 1.254 MB / 394.7 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.0003539/0.7287, allocations: 161.1 kB / 0.55 GB, free: 1.141 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006136/0.7293, allocations: 372.9 kB / 0.5503 GB, free: 0.9961 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.7294, allocations: 0 / 0.5503 GB, free: 0.9961 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002711/0.7296, allocations: 227.3 kB / 0.5506 GB, free: 0.875 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009097/0.7306, allocations: 159.1 kB / 0.5507 GB, free: 0.8164 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001106/0.7317, allocations: 0.8601 MB / 0.5516 GB, free: 248 kB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003223/0.732, allocations: 0.7657 MB / 0.5523 GB, free: 15.51 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005314/0.7325, allocations: 117 kB / 0.5524 GB, free: 15.45 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001917/0.7327, allocations: 64.23 kB / 0.5525 GB, free: 15.43 MB / 410.7 MB Notification: Performance of SimCode: time 2.3e-07/0.7328, allocations: 0 / 0.5525 GB, free: 15.43 MB / 410.7 MB Notification: Performance of Templates: time 0.01257/0.7453, allocations: 8.416 MB / 0.5607 GB, free: 11.2 MB / 410.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/IdealGases/Nitrogen/Nitrogen.csv","../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