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: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Nitrogen",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Nitrogen",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001328/0.001328, allocations: 114.4 kB / 17.74 MB, free: 5.344 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.001471/0.001472, allocations: 183.1 kB / 18.66 MB, free: 4.422 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.383/1.383, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.001621/0.001621, allocations: 55.92 kB / 328.1 MB, free: 3.766 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09326/0.09489, allocations: 46.61 MB / 374.7 MB, free: 5.043 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen): time 0.3711/0.466, allocations: 172.7 MB / 0.5346 GB, free: 2.676 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004112/0.4702, allocations: 3.212 MB / 0.5377 GB, free: 15.45 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001476/0.4704, allocations: 4 kB / 0.5377 GB, free: 15.45 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005763/0.471, allocations: 178.9 kB / 0.5379 GB, free: 15.27 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008553/0.4718, allocations: 405.7 kB / 0.5383 GB, free: 14.87 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008497/0.4727, allocations: 332.4 kB / 0.5386 GB, free: 14.55 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001032/0.4737, allocations: 0.9031 MB / 0.5395 GB, free: 13.64 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002172/0.474, allocations: 104.7 kB / 0.5396 GB, free: 13.54 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001763/0.4757, allocations: 0.7934 MB / 0.5404 GB, free: 12.75 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003625/0.4761, allocations: 267 kB / 0.5406 GB, free: 12.49 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 5.975e-05/0.4762, allocations: 35.94 kB / 0.5406 GB, free: 12.45 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003027/0.4765, allocations: 119.9 kB / 0.5408 GB, free: 12.34 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00012/0.4766, allocations: 91.77 kB / 0.5408 GB, free: 12.25 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002194/0.4768, allocations: 191.2 kB / 0.541 GB, free: 12.06 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006579/0.4775, allocations: 0.5092 MB / 0.5415 GB, free: 11.55 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.261e-06/0.4775, allocations: 8 kB / 0.5415 GB, free: 11.54 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.4775, allocations: 0 / 0.5415 GB, free: 11.54 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.673e-06/0.4775, allocations: 0 / 0.5415 GB, free: 11.54 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.0008997/0.4785, allocations: 0.5959 MB / 0.5421 GB, free: 10.89 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.4785, allocations: 12.03 kB / 0.5421 GB, free: 10.88 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.021e-05/0.4786, allocations: 58.55 kB / 0.5422 GB, free: 10.82 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002773/0.4789, allocations: 43.8 kB / 0.5422 GB, free: 10.77 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005057/0.4794, allocations: 302.5 kB / 0.5425 GB, free: 10.44 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.42e-05/0.4794, allocations: 16.56 kB / 0.5425 GB, free: 10.42 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.939e-05/0.4795, allocations: 24 kB / 0.5426 GB, free: 10.4 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005379/0.48, allocations: 323.6 kB / 0.5429 GB, free: 10.06 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.747e-05/0.48, allocations: 0 / 0.5429 GB, free: 10.06 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.004e-05/0.4801, allocations: 16 kB / 0.5429 GB, free: 10.04 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.062e-05/0.4801, allocations: 8 kB / 0.5429 GB, free: 10.04 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003495/0.4805, allocations: 205.5 kB / 0.5431 GB, free: 9.836 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.002035/0.4825, allocations: 1.597 MB / 0.5446 GB, free: 8.09 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003416/0.4829, allocations: 171.1 kB / 0.5448 GB, free: 7.914 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001619/0.483, allocations: 97.64 kB / 0.5449 GB, free: 7.816 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.174e-05/0.4831, allocations: 4 kB / 0.5449 GB, free: 7.812 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.906e-05/0.4831, allocations: 42.55 kB / 0.5449 GB, free: 7.762 MB / 478.1 MB Notification: Performance of pre-optimization done (n=22): time 1.443e-06/0.4831, allocations: 4 kB / 0.5449 GB, free: 7.758 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.005392/0.4885, allocations: 1.61 MB / 0.5465 GB, free: 6.016 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.49e-05/0.4886, allocations: 55.41 kB / 0.5466 GB, free: 5.949 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002811/0.4889, allocations: 253 kB / 0.5468 GB, free: 5.695 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.399e-05/0.4889, allocations: 33.7 kB / 0.5468 GB, free: 5.656 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00014/0.4891, allocations: 176.5 kB / 0.547 GB, free: 5.477 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.007e-05/0.4892, allocations: 111.1 kB / 0.5471 GB, free: 5.367 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001244/0.4893, allocations: 81.69 kB / 0.5472 GB, free: 5.281 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.4895, allocations: 334.8 kB / 0.5475 GB, free: 4.945 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001669/0.4896, allocations: 87.97 kB / 0.5476 GB, free: 4.859 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002425/0.4899, allocations: 195.7 kB / 0.5478 GB, free: 4.625 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000432/0.4903, allocations: 300.3 kB / 0.5481 GB, free: 4.289 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.4903, allocations: 3.938 kB / 0.5481 GB, free: 4.285 MB / 478.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006667/0.491, allocations: 411.2 kB / 0.5485 GB, free: 3.871 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.491, allocations: 4 kB / 0.5485 GB, free: 3.867 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.491, allocations: 4 kB / 0.5485 GB, free: 3.863 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002212/0.4913, allocations: 69.69 kB / 0.5485 GB, free: 3.789 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003322/0.4916, allocations: 84.64 kB / 0.5486 GB, free: 3.707 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001554/0.4932, allocations: 1.96 MB / 0.5505 GB, free: 1.586 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000177/0.4934, allocations: 8 kB / 0.5505 GB, free: 1.578 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.05e-05/0.4934, allocations: 43.98 kB / 0.5506 GB, free: 1.535 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.0001746/0.4936, allocations: 154.4 kB / 0.5507 GB, free: 1.375 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.572e-05/0.4937, allocations: 27.81 kB / 0.5508 GB, free: 1.348 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008631/0.4945, allocations: 444.7 kB / 0.5512 GB, free: 0.8984 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.4946, allocations: 4 kB / 0.5512 GB, free: 0.8945 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.4946, allocations: 0 / 0.5512 GB, free: 0.8945 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005898/0.4952, allocations: 0.563 MB / 0.5517 GB, free: 248 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1601/0.6553, allocations: 0.7258 MB / 0.5524 GB, free: 170.4 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.6553, allocations: 1.375 kB / 0.5524 GB, free: 170.4 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003164/0.6557, allocations: 74.42 kB / 0.5525 GB, free: 170.4 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.939e-05/0.6558, allocations: 20.59 kB / 0.5525 GB, free: 170.4 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.603e-05/0.6558, allocations: 14.09 kB / 0.5525 GB, free: 170.4 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006125/0.6564, allocations: 1.382 MB / 0.5539 GB, free: 169 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.6564, allocations: 1.219 kB / 0.5539 GB, free: 169 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005714/0.657, allocations: 478.7 kB / 0.5544 GB, free: 168.9 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.503e-05/0.6571, allocations: 104.2 kB / 0.5545 GB, free: 168.8 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.646e-05/0.6571, allocations: 6.812 kB / 0.5545 GB, free: 168.8 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002116/0.6573, allocations: 11.67 kB / 0.5545 GB, free: 168.8 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.908e-05/0.6574, allocations: 27.7 kB / 0.5545 GB, free: 168.8 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.446e-05/0.6575, allocations: 30.92 kB / 0.5545 GB, free: 168.8 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001713/0.6576, allocations: 188.5 kB / 0.5547 GB, free: 168.7 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.6576, allocations: 4.875 kB / 0.5547 GB, free: 168.7 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0004969/0.6581, allocations: 122.1 kB / 0.5548 GB, free: 168.7 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.00114/0.6593, allocations: 1.054 MB / 0.5559 GB, free: 168 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0006602/0.66, allocations: 381.4 kB / 0.5562 GB, free: 167.9 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.66, allocations: 1.125 kB / 0.5562 GB, free: 167.9 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002558/0.6602, allocations: 230.5 kB / 0.5564 GB, free: 167.8 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009173/0.6612, allocations: 170.1 kB / 0.5566 GB, free: 167.8 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003223/0.6644, allocations: 3.201 MB / 0.5597 GB, free: 165.8 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001786/0.6646, allocations: 0.7661 MB / 0.5605 GB, free: 165.1 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.000381/0.665, allocations: 118.1 kB / 0.5606 GB, free: 165 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002147/0.6652, allocations: 127.8 kB / 0.5607 GB, free: 165 MB / 478.1 MB Notification: Performance of SimCode: time 2.3e-07/0.6652, allocations: 1.156 kB / 0.5607 GB, free: 165 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04228/0.7075, allocations: 11.91 MB / 0.5723 GB, free: 161.4 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.23/12.94, allocations: 13.03 kB / 0.5724 GB, free: 161.4 MB / 478.1 MB (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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Nitrogen.fmu > 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.csv","/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