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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001274/0.001274, allocations: 103.6 kB / 21.18 MB, free: 332 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001416/0.001416, allocations: 212 kB / 24.47 MB, free: 3.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.364/1.364, allocations: 207.7 MB / 235.3 MB, free: 9.809 MB / 190.1 MB " [Timeout remaining time 178] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001751/0.001751, allocations: 55.91 kB / 347.2 MB, free: 9.852 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.255/0.2568, allocations: 49.15 MB / 396.4 MB, free: 8.891 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen): time 0.1813/0.438, allocations: 149.4 MB / 0.533 GB, free: 13.24 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00425/0.4423, allocations: 2.956 MB / 0.5359 GB, free: 10.27 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003204/0.4426, allocations: 7.938 kB / 0.5359 GB, free: 10.27 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007201/0.4433, allocations: 166.9 kB / 0.536 GB, free: 10.1 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001085/0.4444, allocations: 409.5 kB / 0.5364 GB, free: 9.703 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001008/0.4454, allocations: 347.3 kB / 0.5367 GB, free: 9.363 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001217/0.4466, allocations: 0.9109 MB / 0.5376 GB, free: 8.449 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002081/0.4468, allocations: 68.89 kB / 0.5377 GB, free: 8.383 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002099/0.4489, allocations: 0.8174 MB / 0.5385 GB, free: 7.562 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005128/0.4495, allocations: 270.9 kB / 0.5388 GB, free: 7.297 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 8.234e-05/0.4495, allocations: 32 kB / 0.5388 GB, free: 7.266 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003814/0.4499, allocations: 119.9 kB / 0.5389 GB, free: 7.148 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001436/0.4501, allocations: 103.6 kB / 0.539 GB, free: 7.047 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002294/0.4503, allocations: 155.5 kB / 0.5391 GB, free: 6.895 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007006/0.451, allocations: 0.5187 MB / 0.5396 GB, free: 6.379 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.339e-06/0.451, allocations: 0 / 0.5396 GB, free: 6.379 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.451, allocations: 0 / 0.5396 GB, free: 6.379 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.305e-05/0.451, allocations: 0 / 0.5396 GB, free: 6.379 MB / 462.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.0009294/0.4519, allocations: 0.5284 MB / 0.5402 GB, free: 5.82 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.452, allocations: 19.98 kB / 0.5402 GB, free: 5.801 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.535e-05/0.4521, allocations: 58.55 kB / 0.5402 GB, free: 5.734 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002832/0.4524, allocations: 43.8 kB / 0.5403 GB, free: 5.691 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004841/0.4528, allocations: 220.7 kB / 0.5405 GB, free: 5.449 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.78e-05/0.4529, allocations: 20.5 kB / 0.5405 GB, free: 5.426 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.023e-05/0.4529, allocations: 24 kB / 0.5405 GB, free: 5.402 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006437/0.4536, allocations: 0.5489 MB / 0.5411 GB, free: 4.773 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.764e-05/0.4536, allocations: 4 kB / 0.5411 GB, free: 4.77 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.895e-05/0.4536, allocations: 19.98 kB / 0.5411 GB, free: 4.75 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/0.4536, allocations: 4 kB / 0.5411 GB, free: 4.746 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003469/0.454, allocations: 205.5 kB / 0.5413 GB, free: 4.547 MB / 462.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.001837/0.4558, allocations: 1.191 MB / 0.5425 GB, free: 3.289 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003234/0.4561, allocations: 170.7 kB / 0.5426 GB, free: 3.113 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001565/0.4563, allocations: 84.83 kB / 0.5427 GB, free: 3.027 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.012e-05/0.4563, allocations: 4 kB / 0.5427 GB, free: 3.023 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.889e-05/0.4564, allocations: 42.55 kB / 0.5427 GB, free: 2.973 MB / 462.1 MB Notification: Performance of pre-optimization done (n=22): time 1.623e-06/0.4564, allocations: 0 / 0.5427 GB, free: 2.973 MB / 462.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.005533/0.4619, allocations: 1.303 MB / 0.544 GB, free: 1.609 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.189e-05/0.4619, allocations: 59.41 kB / 0.5441 GB, free: 1.539 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002885/0.4622, allocations: 260.9 kB / 0.5443 GB, free: 1.273 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.132e-05/0.4623, allocations: 33.7 kB / 0.5444 GB, free: 1.234 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000126/0.4624, allocations: 180.5 kB / 0.5445 GB, free: 1.055 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.383e-05/0.4625, allocations: 95.17 kB / 0.5446 GB, free: 0.9609 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001251/0.4626, allocations: 85.64 kB / 0.5447 GB, free: 0.8711 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.4628, allocations: 338.8 kB / 0.545 GB, free: 0.5312 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00017/0.4629, allocations: 91.95 kB / 0.5451 GB, free: 452 kB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002488/0.4632, allocations: 191.6 kB / 0.5453 GB, free: 216 kB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004606/0.4636, allocations: 311.8 kB / 0.5456 GB, free: 15.86 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.4636, allocations: 4 kB / 0.5456 GB, free: 15.86 MB / 478.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006842/0.4643, allocations: 398.9 kB / 0.546 GB, free: 15.45 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/0.4643, allocations: 8 kB / 0.546 GB, free: 15.45 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.4644, allocations: 4 kB / 0.546 GB, free: 15.44 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000242/0.4646, allocations: 70.08 kB / 0.5461 GB, free: 15.37 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003537/0.4649, allocations: 87.89 kB / 0.5461 GB, free: 15.28 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00153/0.4665, allocations: 1.851 MB / 0.5479 GB, free: 13.29 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001988/0.4667, allocations: 8 kB / 0.548 GB, free: 13.28 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.268e-05/0.4667, allocations: 39.98 kB / 0.548 GB, free: 13.24 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.0001827/0.4669, allocations: 154 kB / 0.5481 GB, free: 13.08 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.176e-05/0.467, allocations: 27.86 kB / 0.5482 GB, free: 13.05 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008587/0.4679, allocations: 451.7 kB / 0.5486 GB, free: 12.59 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.4679, allocations: 0 / 0.5486 GB, free: 12.59 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.4679, allocations: 7.938 kB / 0.5486 GB, free: 12.59 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005945/0.4685, allocations: 0.5591 MB / 0.5491 GB, free: 11.94 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001067/0.4695, allocations: 0.6642 MB / 0.5498 GB, free: 11.21 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.4695, allocations: 0 / 0.5498 GB, free: 11.21 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003148/0.4698, allocations: 75.89 kB / 0.5499 GB, free: 11.14 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.533e-05/0.4699, allocations: 16.84 kB / 0.5499 GB, free: 11.12 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.901e-05/0.4699, allocations: 15.98 kB / 0.5499 GB, free: 11.11 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009737/0.4709, allocations: 1.271 MB / 0.5511 GB, free: 9.723 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.4709, allocations: 3.984 kB / 0.5511 GB, free: 9.719 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006893/0.4716, allocations: 483.4 kB / 0.5516 GB, free: 9.223 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.415e-05/0.4717, allocations: 23.84 kB / 0.5516 GB, free: 9.199 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.158e-05/0.4717, allocations: 11.98 kB / 0.5516 GB, free: 9.188 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002194/0.4719, allocations: 8 kB / 0.5516 GB, free: 9.18 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.886e-05/0.472, allocations: 27.95 kB / 0.5517 GB, free: 9.152 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.711e-05/0.472, allocations: 31.98 kB / 0.5517 GB, free: 9.121 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001968/0.4722, allocations: 189.4 kB / 0.5519 GB, free: 8.934 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4722, allocations: 4 kB / 0.5519 GB, free: 8.93 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.000489/0.4727, allocations: 127.9 kB / 0.552 GB, free: 8.805 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.001221/0.4739, allocations: 1.07 MB / 0.5531 GB, free: 7.703 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.000649/0.4746, allocations: 354.4 kB / 0.5534 GB, free: 7.344 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/0.4746, allocations: 4 kB / 0.5534 GB, free: 7.34 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002916/0.4749, allocations: 223.3 kB / 0.5536 GB, free: 7.109 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009007/0.4758, allocations: 162.4 kB / 0.5538 GB, free: 6.953 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004027/0.4798, allocations: 3.197 MB / 0.5569 GB, free: 3.566 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001574/0.48, allocations: 163.8 kB / 0.557 GB, free: 3.387 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004255/0.4804, allocations: 110.9 kB / 0.5571 GB, free: 3.281 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002527/0.4806, allocations: 123.4 kB / 0.5573 GB, free: 3.16 MB / 478.1 MB Notification: Performance of SimCode: time 6.01e-07/0.4806, allocations: 0 / 0.5573 GB, free: 3.16 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2064/0.687, allocations: 12.86 MB / 0.5698 GB, free: 161.9 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.51/13.19, allocations: 12.94 kB / 0.5698 GB, free: 161.9 MB / 478.1 MB " [Timeout remaining time 647] (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 --stepSize=0.000201919 --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) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.55890702875331]