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.001406/0.001406, allocations: 106.6 kB / 17.73 MB, free: 5.348 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.001523/0.001523, allocations: 191 kB / 18.67 MB, free: 4.414 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.276/1.276, allocations: 205.1 MB / 224.5 MB, free: 12.23 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.001092/0.001092, allocations: 56.3 kB / 328.1 MB, free: 3.762 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08205/0.08315, allocations: 46.62 MB / 374.7 MB, free: 5.031 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen): time 0.3461/0.4293, allocations: 172.7 MB / 0.5346 GB, free: 2.695 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004232/0.4335, allocations: 3.22 MB / 0.5377 GB, free: 15.46 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003503/0.434, allocations: 7.938 kB / 0.5377 GB, free: 15.45 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006591/0.4347, allocations: 171 kB / 0.5379 GB, free: 15.28 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009629/0.4356, allocations: 403.5 kB / 0.5383 GB, free: 14.89 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008611/0.4365, allocations: 340.3 kB / 0.5386 GB, free: 14.55 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001177/0.4377, allocations: 0.8914 MB / 0.5395 GB, free: 13.66 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002326/0.4379, allocations: 112.6 kB / 0.5396 GB, free: 13.55 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001821/0.4398, allocations: 0.7901 MB / 0.5403 GB, free: 12.76 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004154/0.4402, allocations: 271 kB / 0.5406 GB, free: 12.5 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 6.359e-05/0.4403, allocations: 32 kB / 0.5406 GB, free: 12.46 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003062/0.4406, allocations: 123.9 kB / 0.5408 GB, free: 12.34 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001105/0.4407, allocations: 103.6 kB / 0.5409 GB, free: 12.24 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001941/0.4409, allocations: 179.3 kB / 0.541 GB, free: 12.07 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006385/0.4415, allocations: 0.518 MB / 0.5415 GB, free: 11.55 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.4416, allocations: 0 / 0.5415 GB, free: 11.55 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.4416, allocations: 0 / 0.5415 GB, free: 11.55 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.479e-05/0.4416, allocations: 0 / 0.5415 GB, free: 11.55 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.0009191/0.4425, allocations: 0.5775 MB / 0.5421 GB, free: 10.92 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.4426, allocations: 12.03 kB / 0.5421 GB, free: 10.91 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.705e-05/0.4426, allocations: 66.53 kB / 0.5422 GB, free: 10.83 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002985/0.443, allocations: 47.55 kB / 0.5422 GB, free: 10.79 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005038/0.4435, allocations: 290.4 kB / 0.5425 GB, free: 10.46 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.627e-05/0.4435, allocations: 16.56 kB / 0.5425 GB, free: 10.45 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.716e-05/0.4435, allocations: 24 kB / 0.5425 GB, free: 10.42 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005012/0.444, allocations: 331.6 kB / 0.5428 GB, free: 10.07 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.733e-05/0.4441, allocations: 0 / 0.5428 GB, free: 10.07 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.398e-05/0.4441, allocations: 12 kB / 0.5429 GB, free: 10.06 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.739e-06/0.4441, allocations: 8 kB / 0.5429 GB, free: 10.05 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003334/0.4445, allocations: 205.5 kB / 0.5431 GB, free: 9.855 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.001889/0.4464, allocations: 1.589 MB / 0.5446 GB, free: 8.117 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003065/0.4467, allocations: 176 kB / 0.5448 GB, free: 7.938 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001583/0.4469, allocations: 100.8 kB / 0.5449 GB, free: 7.836 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.459e-05/0.4469, allocations: 8 kB / 0.5449 GB, free: 7.828 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.921e-05/0.4469, allocations: 42.5 kB / 0.5449 GB, free: 7.777 MB / 478.1 MB Notification: Performance of pre-optimization done (n=22): time 1.282e-06/0.4469, allocations: 0 / 0.5449 GB, free: 7.777 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.005444/0.4524, allocations: 1.598 MB / 0.5465 GB, free: 6.047 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.819e-05/0.4524, allocations: 59.41 kB / 0.5465 GB, free: 5.977 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002761/0.4527, allocations: 256.9 kB / 0.5468 GB, free: 5.719 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.685e-05/0.4528, allocations: 29.7 kB / 0.5468 GB, free: 5.684 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001368/0.4529, allocations: 184.1 kB / 0.547 GB, free: 5.496 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.73e-05/0.453, allocations: 90.66 kB / 0.5471 GB, free: 5.406 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001342/0.4532, allocations: 81.69 kB / 0.5472 GB, free: 5.32 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.4533, allocations: 338.8 kB / 0.5475 GB, free: 4.98 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001818/0.4535, allocations: 95.89 kB / 0.5476 GB, free: 4.887 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002382/0.4537, allocations: 191.8 kB / 0.5478 GB, free: 4.656 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004329/0.4542, allocations: 300.3 kB / 0.548 GB, free: 4.32 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.4542, allocations: 0 / 0.548 GB, free: 4.32 MB / 478.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006482/0.4548, allocations: 406.6 kB / 0.5484 GB, free: 3.91 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.4549, allocations: 4 kB / 0.5484 GB, free: 3.906 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.869e-06/0.4549, allocations: 8.688 kB / 0.5484 GB, free: 3.898 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002071/0.4551, allocations: 73.67 kB / 0.5485 GB, free: 3.82 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000343/0.4555, allocations: 88.23 kB / 0.5486 GB, free: 3.734 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001416/0.4569, allocations: 1.956 MB / 0.5505 GB, free: 1.617 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001927/0.4571, allocations: 8 kB / 0.5505 GB, free: 1.609 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.736e-05/0.4572, allocations: 43.98 kB / 0.5506 GB, free: 1.566 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.0001716/0.4573, allocations: 154.4 kB / 0.5507 GB, free: 1.406 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.913e-05/0.4574, allocations: 27.72 kB / 0.5507 GB, free: 1.379 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000804/0.4582, allocations: 444.6 kB / 0.5512 GB, free: 0.9297 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.4582, allocations: 4 kB / 0.5512 GB, free: 0.9258 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.4582, allocations: 0 / 0.5512 GB, free: 0.9258 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005202/0.4588, allocations: 0.5669 MB / 0.5517 GB, free: 276 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1577/0.6164, allocations: 0.7319 MB / 0.5524 GB, free: 170.2 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.6165, allocations: 0 / 0.5524 GB, free: 170.2 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003155/0.6168, allocations: 71.55 kB / 0.5525 GB, free: 170.2 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.741e-05/0.6169, allocations: 22.06 kB / 0.5525 GB, free: 170.2 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.678e-05/0.6169, allocations: 12.08 kB / 0.5525 GB, free: 170.2 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006155/0.6176, allocations: 1.38 MB / 0.5539 GB, free: 168.9 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.6176, allocations: 3.719 kB / 0.5539 GB, free: 168.9 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005628/0.6181, allocations: 475.3 kB / 0.5543 GB, free: 168.7 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.414e-05/0.6182, allocations: 109.2 kB / 0.5544 GB, free: 168.6 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.149e-05/0.6183, allocations: 5.844 kB / 0.5544 GB, free: 168.6 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002131/0.6185, allocations: 9.781 kB / 0.5544 GB, free: 168.6 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.325e-05/0.6185, allocations: 24.95 kB / 0.5545 GB, free: 168.6 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.299e-05/0.6186, allocations: 31.52 kB / 0.5545 GB, free: 168.6 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001524/0.6188, allocations: 192 kB / 0.5547 GB, free: 168.6 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.6188, allocations: 0 / 0.5547 GB, free: 168.6 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0005222/0.6193, allocations: 124 kB / 0.5548 GB, free: 168.6 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.001035/0.6203, allocations: 1.06 MB / 0.5558 GB, free: 167.9 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0006212/0.621, allocations: 374.5 kB / 0.5562 GB, free: 167.8 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.621, allocations: 1.094 kB / 0.5562 GB, free: 167.8 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002409/0.6212, allocations: 231.6 kB / 0.5564 GB, free: 167.7 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009026/0.6221, allocations: 162.2 kB / 0.5566 GB, free: 167.6 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003216/0.6254, allocations: 3.187 MB / 0.5597 GB, free: 165.7 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001843/0.6256, allocations: 0.7611 MB / 0.5604 GB, free: 165 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003775/0.6259, allocations: 120.1 kB / 0.5605 GB, free: 165 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002262/0.6262, allocations: 126.2 kB / 0.5607 GB, free: 164.9 MB / 478.1 MB Notification: Performance of SimCode: time 2.3e-07/0.6262, allocations: 3.609 kB / 0.5607 GB, free: 164.9 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03426/0.6604, allocations: 12.05 MB / 0.5724 GB, free: 161.2 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.01/12.67, allocations: 6 kB / 0.5724 GB, free: 161.2 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Nitrogen_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 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.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