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: 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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001637/0.001636, allocations: 100.2 kB / 18.39 MB, free: 4.66 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.002508/0.002508, allocations: 188.3 kB / 19.33 MB, free: 3.738 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.529/1.529, allocations: 205.1 MB / 225.2 MB, free: 12.2 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.001311/0.001311, allocations: 51.92 kB / 329.2 MB, free: 3.258 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.1072, allocations: 46.62 MB / 375.9 MB, free: 4.527 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen): time 0.4223/0.5295, allocations: 172.7 MB / 0.5357 GB, free: 2.355 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003792/0.5334, allocations: 3.217 MB / 0.5389 GB, free: 15.12 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000168/0.5336, allocations: 4 kB / 0.5389 GB, free: 15.12 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000642/0.5342, allocations: 170.9 kB / 0.539 GB, free: 14.95 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008607/0.5351, allocations: 415.2 kB / 0.5394 GB, free: 14.54 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008293/0.536, allocations: 338.3 kB / 0.5397 GB, free: 14.21 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009447/0.5369, allocations: 0.8953 MB / 0.5406 GB, free: 13.32 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000202/0.5371, allocations: 104.7 kB / 0.5407 GB, free: 13.22 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001715/0.5388, allocations: 0.8093 MB / 0.5415 GB, free: 12.41 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003247/0.5392, allocations: 266.9 kB / 0.5418 GB, free: 12.15 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 4.827e-05/0.5392, allocations: 32 kB / 0.5418 GB, free: 12.12 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002937/0.5395, allocations: 119.9 kB / 0.5419 GB, free: 12 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001167/0.5397, allocations: 95.77 kB / 0.542 GB, free: 11.91 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002068/0.5399, allocations: 187.2 kB / 0.5422 GB, free: 11.72 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006133/0.5405, allocations: 0.5102 MB / 0.5427 GB, free: 11.21 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.5405, allocations: 8 kB / 0.5427 GB, free: 11.2 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.5405, allocations: 0 / 0.5427 GB, free: 11.2 MB / 478.1 MB Notification: Performance of Transformations before backend: time 9.789e-06/0.5405, allocations: 0 / 0.5427 GB, free: 11.2 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.001053/0.5416, allocations: 0.5892 MB / 0.5433 GB, free: 10.56 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.305e-05/0.5417, allocations: 15.89 kB / 0.5433 GB, free: 10.55 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003649/0.542, allocations: 39.62 kB / 0.5433 GB, free: 10.51 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005334/0.5426, allocations: 294.4 kB / 0.5436 GB, free: 10.18 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.158e-05/0.5426, allocations: 20.56 kB / 0.5436 GB, free: 10.16 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.681e-05/0.5427, allocations: 24 kB / 0.5436 GB, free: 10.14 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004923/0.5432, allocations: 319.7 kB / 0.5439 GB, free: 9.801 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.535e-05/0.5432, allocations: 7.875 kB / 0.544 GB, free: 9.793 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.801e-05/0.5432, allocations: 12 kB / 0.544 GB, free: 9.781 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.277e-06/0.5433, allocations: 4.875 kB / 0.544 GB, free: 9.777 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003283/0.5436, allocations: 205.6 kB / 0.5442 GB, free: 9.578 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.001796/0.5454, allocations: 1.593 MB / 0.5457 GB, free: 7.836 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003065/0.5457, allocations: 176.8 kB / 0.5459 GB, free: 7.656 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001548/0.5459, allocations: 96.77 kB / 0.546 GB, free: 7.559 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.357e-05/0.5459, allocations: 7.984 kB / 0.546 GB, free: 7.551 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.39e-05/0.5459, allocations: 30.56 kB / 0.546 GB, free: 7.512 MB / 478.1 MB Notification: Performance of pre-optimization done (n=22): time 1.432e-06/0.546, allocations: 4 kB / 0.546 GB, free: 7.508 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.005533/0.5515, allocations: 1.61 MB / 0.5476 GB, free: 5.766 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.777e-05/0.5516, allocations: 55.41 kB / 0.5476 GB, free: 5.699 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002669/0.5518, allocations: 256.8 kB / 0.5479 GB, free: 5.441 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.642e-05/0.5519, allocations: 33.7 kB / 0.5479 GB, free: 5.402 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001182/0.552, allocations: 184.1 kB / 0.5481 GB, free: 5.215 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.706e-05/0.5521, allocations: 90.66 kB / 0.5482 GB, free: 5.125 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001179/0.5522, allocations: 81.69 kB / 0.5483 GB, free: 5.039 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.5523, allocations: 334.8 kB / 0.5486 GB, free: 4.703 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001527/0.5525, allocations: 87.95 kB / 0.5487 GB, free: 4.617 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002198/0.5527, allocations: 191.7 kB / 0.5488 GB, free: 4.387 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004161/0.5531, allocations: 308.2 kB / 0.5491 GB, free: 4.043 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.5531, allocations: 0 / 0.5491 GB, free: 4.043 MB / 478.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006331/0.5538, allocations: 399 kB / 0.5495 GB, free: 3.641 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.5538, allocations: 12.06 kB / 0.5495 GB, free: 3.629 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.5538, allocations: 4 kB / 0.5495 GB, free: 3.625 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002207/0.5541, allocations: 77.61 kB / 0.5496 GB, free: 3.547 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003421/0.5544, allocations: 83.91 kB / 0.5497 GB, free: 3.465 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001442/0.5559, allocations: 1.954 MB / 0.5516 GB, free: 1.348 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001922/0.5561, allocations: 16.22 kB / 0.5516 GB, free: 1.332 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.218e-05/0.5561, allocations: 32 kB / 0.5516 GB, free: 1.301 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.0001867/0.5563, allocations: 166.4 kB / 0.5518 GB, free: 1.129 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.669e-05/0.5564, allocations: 23.72 kB / 0.5518 GB, free: 1.105 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008499/0.5573, allocations: 438.2 kB / 0.5522 GB, free: 0.6602 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.5573, allocations: 0 / 0.5522 GB, free: 0.6602 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.5573, allocations: 4 kB / 0.5523 GB, free: 0.6562 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005681/0.5578, allocations: 0.5669 MB / 0.5528 GB, free: 0 / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1958/0.7537, allocations: 0.7241 MB / 0.5535 GB, free: 170.4 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.7537, allocations: 1.094 kB / 0.5535 GB, free: 170.4 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003202/0.7541, allocations: 71.33 kB / 0.5536 GB, free: 170.4 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.731e-05/0.7542, allocations: 25.09 kB / 0.5536 GB, free: 170.4 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.945e-05/0.7542, allocations: 13.61 kB / 0.5536 GB, free: 170.4 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007165/0.7549, allocations: 1.377 MB / 0.555 GB, free: 169.1 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.755, allocations: 5.031 kB / 0.555 GB, free: 169.1 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006001/0.7556, allocations: 477.9 kB / 0.5554 GB, free: 168.9 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.184e-05/0.7556, allocations: 100.1 kB / 0.5555 GB, free: 168.8 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.238e-05/0.7557, allocations: 12.72 kB / 0.5555 GB, free: 168.8 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002266/0.7559, allocations: 10.31 kB / 0.5555 GB, free: 168.8 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.3e-05/0.756, allocations: 27.22 kB / 0.5556 GB, free: 168.8 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.91e-05/0.7561, allocations: 31.23 kB / 0.5556 GB, free: 168.8 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001886/0.7562, allocations: 189.2 kB / 0.5558 GB, free: 168.8 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.7563, allocations: 1.719 kB / 0.5558 GB, free: 168.8 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0005857/0.7568, allocations: 117.7 kB / 0.5559 GB, free: 168.8 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.0003656/0.7572, allocations: 159.2 kB / 0.556 GB, free: 168.7 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0007622/0.758, allocations: 369.1 kB / 0.5564 GB, free: 168.6 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.758, allocations: 4.25 kB / 0.5564 GB, free: 168.6 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003116/0.7583, allocations: 234.5 kB / 0.5566 GB, free: 168.5 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009193/0.7593, allocations: 171.9 kB / 0.5568 GB, free: 168.5 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001095/0.7604, allocations: 0.7177 MB / 0.5575 GB, free: 168.2 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002083/0.7606, allocations: 0.7681 MB / 0.5582 GB, free: 167.5 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002119/0.7608, allocations: 76.91 kB / 0.5583 GB, free: 167.4 MB / 478.1 MB Notification: Performance of SimCode: time 3.71e-07/0.7608, allocations: 4 kB / 0.5583 GB, free: 167.4 MB / 478.1 MB Notification: Performance of Templates: time 0.01256/0.7734, allocations: 7.536 MB / 0.5657 GB, free: 166.3 MB / 478.1 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/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