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.Air.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.Air,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.Air") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air,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.Air") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001143/0.001143, allocations: 180 kB / 17.36 MB, free: 4.445 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.295/1.295, allocations: 205.6 MB / 223.7 MB, free: 8.938 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.0006718/0.0006719, allocations: 94.38 kB / 272.1 MB, free: 8.125 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002753/0.0002754, allocations: 4 kB / 329 MB, free: 15.05 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2562/0.2565, allocations: 47.59 MB / 376.6 MB, free: 45.57 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air): time 0.4223/0.6789, allocations: 165.2 MB / 0.5291 GB, free: 11.07 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.004326/0.6833, allocations: 3.911 MB / 0.5329 GB, free: 9.949 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003959/0.6837, allocations: 3.844 kB / 0.5329 GB, free: 9.949 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006364/0.6843, allocations: 145.5 kB / 0.5331 GB, free: 9.941 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001005/0.6854, allocations: 387.3 kB / 0.5334 GB, free: 9.922 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008265/0.6862, allocations: 305.7 kB / 0.5337 GB, free: 9.914 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.001465/0.6877, allocations: 1.35 MB / 0.5351 GB, free: 9.906 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002259/0.6879, allocations: 81.38 kB / 0.5351 GB, free: 9.887 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002119/0.69, allocations: 0.7247 MB / 0.5358 GB, free: 9.863 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003523/0.6904, allocations: 286.5 kB / 0.5361 GB, free: 9.859 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 4.931e-05/0.6905, allocations: 11.5 kB / 0.5361 GB, free: 9.859 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002954/0.6908, allocations: 109.5 kB / 0.5362 GB, free: 9.855 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000122/0.6909, allocations: 75.03 kB / 0.5363 GB, free: 9.855 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002215/0.6911, allocations: 201.5 kB / 0.5365 GB, free: 9.82 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005605/0.6917, allocations: 0.4967 MB / 0.537 GB, free: 9.793 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.6917, allocations: 2.625 kB / 0.537 GB, free: 9.793 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.6917, allocations: 0 / 0.537 GB, free: 9.793 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.755e-06/0.6917, allocations: 0 / 0.537 GB, free: 9.793 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.00073/0.6925, allocations: 0.5188 MB / 0.5375 GB, free: 9.359 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.6925, allocations: 9.688 kB / 0.5375 GB, free: 9.359 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002552/0.6928, allocations: 43.86 kB / 0.5375 GB, free: 9.344 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003384/0.6931, allocations: 285.1 kB / 0.5378 GB, free: 9.121 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.947e-05/0.6932, allocations: 15.62 kB / 0.5378 GB, free: 9.121 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.289e-05/0.6932, allocations: 27.31 kB / 0.5379 GB, free: 9.121 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004704/0.6937, allocations: 320.6 kB / 0.5382 GB, free: 9.02 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.566e-05/0.6937, allocations: 3.938 kB / 0.5382 GB, free: 9.016 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.469e-05/0.6937, allocations: 12.09 kB / 0.5382 GB, free: 9.016 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.6938, allocations: 5.375 kB / 0.5382 GB, free: 9.016 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002927/0.6941, allocations: 201.9 kB / 0.5384 GB, free: 9.016 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.001764/0.6958, allocations: 1.591 MB / 0.5399 GB, free: 7.82 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002985/0.6961, allocations: 170 kB / 0.5401 GB, free: 7.797 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001438/0.6963, allocations: 93.16 kB / 0.5402 GB, free: 7.785 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.582e-05/0.6963, allocations: 17.42 kB / 0.5402 GB, free: 7.781 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.559e-05/0.6964, allocations: 33.84 kB / 0.5402 GB, free: 7.742 MB / 394.7 MB Notification: Performance of pre-optimization done (n=22): time 1.483e-06/0.6964, allocations: 0 / 0.5402 GB, free: 7.742 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.005333/0.7017, allocations: 1.623 MB / 0.5418 GB, free: 7.012 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.852e-05/0.7018, allocations: 56.28 kB / 0.5419 GB, free: 6.949 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002642/0.702, allocations: 250.1 kB / 0.5421 GB, free: 6.836 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.067e-05/0.7021, allocations: 33.73 kB / 0.5421 GB, free: 6.805 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001226/0.7022, allocations: 181.5 kB / 0.5423 GB, free: 6.68 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.709e-05/0.7023, allocations: 93.5 kB / 0.5424 GB, free: 6.621 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.798e-05/0.7023, allocations: 6.375 kB / 0.5424 GB, free: 6.621 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.7025, allocations: 337.7 kB / 0.5427 GB, free: 6.309 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001511/0.7026, allocations: 90.86 kB / 0.5428 GB, free: 6.301 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002121/0.7028, allocations: 187.3 kB / 0.543 GB, free: 6.188 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003897/0.7032, allocations: 310.1 kB / 0.5433 GB, free: 6.062 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.7032, allocations: 2.656 kB / 0.5433 GB, free: 6.062 MB / 394.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005668/0.7038, allocations: 387.2 kB / 0.5437 GB, free: 5.996 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/0.7038, allocations: 9.031 kB / 0.5437 GB, free: 5.996 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.717e-06/0.7039, allocations: 2.625 kB / 0.5437 GB, free: 5.996 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002273/0.7041, allocations: 75.28 kB / 0.5437 GB, free: 5.98 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003377/0.7044, allocations: 85.06 kB / 0.5438 GB, free: 5.977 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001482/0.7059, allocations: 1.865 MB / 0.5456 GB, free: 4.191 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002413/0.7062, allocations: 23.28 kB / 0.5457 GB, free: 4.188 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.764e-05/0.7063, allocations: 38.84 kB / 0.5457 GB, free: 4.188 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.0001838/0.7064, allocations: 159 kB / 0.5459 GB, free: 4.066 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.275e-05/0.7065, allocations: 29.88 kB / 0.5459 GB, free: 4.051 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009692/0.7075, allocations: 435.2 kB / 0.5463 GB, free: 3.945 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.7075, allocations: 2.906 kB / 0.5463 GB, free: 3.945 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.7075, allocations: 8.766 kB / 0.5463 GB, free: 3.941 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005208/0.708, allocations: 0.5593 MB / 0.5469 GB, free: 3.465 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009358/0.709, allocations: 0.7177 MB / 0.5476 GB, free: 3.051 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.822e-06/0.709, allocations: 6.531 kB / 0.5476 GB, free: 3.047 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003292/0.7094, allocations: 72.27 kB / 0.5476 GB, free: 3.035 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.135e-05/0.7094, allocations: 28.19 kB / 0.5477 GB, free: 3.016 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.609e-05/0.7095, allocations: 15.61 kB / 0.5477 GB, free: 3.012 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008578/0.7103, allocations: 1.281 MB / 0.5489 GB, free: 1.734 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.7104, allocations: 2.75 kB / 0.5489 GB, free: 1.734 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00063/0.711, allocations: 480.3 kB / 0.5494 GB, free: 1.523 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.545e-05/0.7111, allocations: 108.3 kB / 0.5495 GB, free: 1.41 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.749e-05/0.7111, allocations: 9.906 kB / 0.5495 GB, free: 1.406 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002455/0.7114, allocations: 15.7 kB / 0.5495 GB, free: 1.402 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.62e-05/0.7115, allocations: 29 kB / 0.5495 GB, free: 1.391 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.472e-05/0.7115, allocations: 32.98 kB / 0.5496 GB, free: 1.387 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001807/0.7117, allocations: 185.5 kB / 0.5497 GB, free: 1.293 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7117, allocations: 0 / 0.5497 GB, free: 1.293 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004987/0.7122, allocations: 133.7 kB / 0.5499 GB, free: 1.277 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.0003689/0.7126, allocations: 159.7 kB / 0.55 GB, free: 1.168 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006459/0.7132, allocations: 370.8 kB / 0.5504 GB, free: 1.023 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.7133, allocations: 0 / 0.5504 GB, free: 1.023 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002896/0.7135, allocations: 230.9 kB / 0.5506 GB, free: 0.9023 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009289/0.7145, allocations: 168.4 kB / 0.5508 GB, free: 0.8398 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001178/0.7157, allocations: 0.8511 MB / 0.5516 GB, free: 276 kB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003658/0.7161, allocations: 0.7664 MB / 0.5523 GB, free: 15.54 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005495/0.7166, allocations: 122 kB / 0.5525 GB, free: 15.47 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001974/0.7168, allocations: 63.92 kB / 0.5525 GB, free: 15.45 MB / 410.7 MB Notification: Performance of SimCode: time 3.21e-07/0.7168, allocations: 0 / 0.5525 GB, free: 15.45 MB / 410.7 MB Notification: Performance of Templates: time 0.01315/0.73, allocations: 8.409 MB / 0.5607 GB, free: 11.23 MB / 410.7 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air_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/Air/Air.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches