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.00192/0.00192, allocations: 98.66 kB / 21.93 MB, free: 5.207 MB / 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.002119/0.002119, allocations: 202.7 kB / 25.22 MB, free: 3.145 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.491/1.491, allocations: 207.7 MB / 236.1 MB, free: 9.77 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: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen") [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.002076/0.002076, allocations: 53.8 kB / 348.5 MB, free: 9.328 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2563/0.2584, allocations: 49.15 MB / 397.6 MB, free: 9.402 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen): time 0.193/0.4514, allocations: 149.4 MB / 0.5342 GB, free: 13.25 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004315/0.4557, allocations: 2.952 MB / 0.5371 GB, free: 10.29 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002125/0.4559, allocations: 7.938 kB / 0.5371 GB, free: 10.28 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005897/0.4565, allocations: 162.9 kB / 0.5372 GB, free: 10.12 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009666/0.4575, allocations: 413.5 kB / 0.5376 GB, free: 9.719 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009713/0.4584, allocations: 347.2 kB / 0.538 GB, free: 9.379 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001146/0.4596, allocations: 0.9109 MB / 0.5389 GB, free: 8.465 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001972/0.4598, allocations: 72.89 kB / 0.5389 GB, free: 8.395 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002132/0.4619, allocations: 0.8201 MB / 0.5397 GB, free: 7.574 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004437/0.4623, allocations: 266.9 kB / 0.54 GB, free: 7.312 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 6.717e-05/0.4624, allocations: 28 kB / 0.54 GB, free: 7.285 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003461/0.4628, allocations: 115.9 kB / 0.5401 GB, free: 7.172 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001348/0.4629, allocations: 99.66 kB / 0.5402 GB, free: 7.074 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002069/0.4631, allocations: 163.4 kB / 0.5404 GB, free: 6.914 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006924/0.4638, allocations: 0.5253 MB / 0.5409 GB, free: 6.391 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.4638, allocations: 0 / 0.5409 GB, free: 6.391 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.4638, allocations: 4 kB / 0.5409 GB, free: 6.387 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.775e-06/0.4638, allocations: 0 / 0.5409 GB, free: 6.387 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.0008849/0.4647, allocations: 0.5129 MB / 0.5414 GB, free: 5.844 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.4647, allocations: 11.98 kB / 0.5414 GB, free: 5.832 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002984/0.465, allocations: 47.8 kB / 0.5414 GB, free: 5.785 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004985/0.4655, allocations: 232.7 kB / 0.5417 GB, free: 5.531 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.589e-05/0.4656, allocations: 16.5 kB / 0.5417 GB, free: 5.512 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.974e-05/0.4656, allocations: 24 kB / 0.5417 GB, free: 5.488 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006613/0.4663, allocations: 0.545 MB / 0.5422 GB, free: 4.863 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.608e-05/0.4663, allocations: 0 / 0.5422 GB, free: 4.863 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.424e-05/0.4663, allocations: 16 kB / 0.5423 GB, free: 4.848 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.124e-05/0.4663, allocations: 8 kB / 0.5423 GB, free: 4.84 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003439/0.4667, allocations: 197.6 kB / 0.5424 GB, free: 4.648 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.001816/0.4685, allocations: 1.156 MB / 0.5436 GB, free: 3.438 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003321/0.4688, allocations: 162.8 kB / 0.5437 GB, free: 3.27 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001617/0.469, allocations: 93.12 kB / 0.5438 GB, free: 3.176 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.372e-05/0.469, allocations: 8 kB / 0.5438 GB, free: 3.168 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.324e-05/0.4691, allocations: 30.56 kB / 0.5439 GB, free: 3.129 MB / 462.1 MB Notification: Performance of pre-optimization done (n=22): time 1.964e-06/0.4691, allocations: 0 / 0.5439 GB, free: 3.129 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.005782/0.4748, allocations: 1.314 MB / 0.5451 GB, free: 1.754 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.463e-05/0.4749, allocations: 55.41 kB / 0.5452 GB, free: 1.688 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000269/0.4752, allocations: 228 kB / 0.5454 GB, free: 1.457 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.129e-05/0.4752, allocations: 33.7 kB / 0.5454 GB, free: 1.418 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001352/0.4753, allocations: 188.3 kB / 0.5456 GB, free: 1.23 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.127e-05/0.4754, allocations: 99.16 kB / 0.5457 GB, free: 1.133 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001309/0.4756, allocations: 85.64 kB / 0.5458 GB, free: 1.043 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001682/0.4757, allocations: 334.8 kB / 0.5461 GB, free: 0.707 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001791/0.4759, allocations: 91.95 kB / 0.5462 GB, free: 0.6172 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002679/0.4762, allocations: 191.7 kB / 0.5464 GB, free: 396 kB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004548/0.4766, allocations: 303.8 kB / 0.5467 GB, free: 48 kB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.4766, allocations: 3.938 kB / 0.5467 GB, free: 44 kB / 462.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007465/0.4774, allocations: 403.3 kB / 0.5471 GB, free: 15.63 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.4774, allocations: 8 kB / 0.5471 GB, free: 15.62 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/0.4774, allocations: 4 kB / 0.5471 GB, free: 15.62 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002315/0.4776, allocations: 65.69 kB / 0.5471 GB, free: 15.55 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003637/0.478, allocations: 87.89 kB / 0.5472 GB, free: 15.46 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001647/0.4796, allocations: 1.836 MB / 0.549 GB, free: 13.5 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002278/0.4799, allocations: 12 kB / 0.549 GB, free: 13.48 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.74e-05/0.4799, allocations: 32 kB / 0.5491 GB, free: 13.45 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.0002304/0.4802, allocations: 165.6 kB / 0.5492 GB, free: 13.28 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.647e-05/0.4802, allocations: 27.81 kB / 0.5492 GB, free: 13.25 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009188/0.4812, allocations: 431.6 kB / 0.5497 GB, free: 12.82 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/0.4812, allocations: 4 kB / 0.5497 GB, free: 12.81 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.4812, allocations: 0 / 0.5497 GB, free: 12.81 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000629/0.4818, allocations: 0.5669 MB / 0.5502 GB, free: 12.16 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001126/0.4829, allocations: 0.6295 MB / 0.5508 GB, free: 11.48 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.4829, allocations: 0 / 0.5508 GB, free: 11.48 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003424/0.4833, allocations: 71.89 kB / 0.5509 GB, free: 11.41 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001057/0.4834, allocations: 24.91 kB / 0.5509 GB, free: 11.39 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.274e-05/0.4834, allocations: 8 kB / 0.5509 GB, free: 11.38 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001105/0.4845, allocations: 1.256 MB / 0.5522 GB, free: 10.02 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.4845, allocations: 4.031 kB / 0.5522 GB, free: 10.02 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000732/0.4852, allocations: 471.4 kB / 0.5526 GB, free: 9.531 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.661e-05/0.4853, allocations: 24.09 kB / 0.5526 GB, free: 9.508 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.715e-05/0.4853, allocations: 12 kB / 0.5526 GB, free: 9.496 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002261/0.4856, allocations: 11.94 kB / 0.5527 GB, free: 9.484 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.354e-05/0.4856, allocations: 31.89 kB / 0.5527 GB, free: 9.453 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.077e-05/0.4857, allocations: 27.98 kB / 0.5527 GB, free: 9.426 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.000181/0.4859, allocations: 168.5 kB / 0.5529 GB, free: 9.262 MB / 478.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4859, allocations: 0 / 0.5529 GB, free: 9.262 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0005423/0.4864, allocations: 123.9 kB / 0.553 GB, free: 9.141 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.0003815/0.4868, allocations: 155.1 kB / 0.5531 GB, free: 8.977 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0007304/0.4875, allocations: 359.4 kB / 0.5535 GB, free: 8.613 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.4875, allocations: 4 kB / 0.5535 GB, free: 8.609 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003175/0.4878, allocations: 230.5 kB / 0.5537 GB, free: 8.371 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000811/0.4886, allocations: 134.4 kB / 0.5538 GB, free: 8.242 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001313/0.49, allocations: 0.7323 MB / 0.5545 GB, free: 7.469 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001726/0.4901, allocations: 159.2 kB / 0.5547 GB, free: 7.293 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002166/0.4903, allocations: 67.41 kB / 0.5548 GB, free: 7.227 MB / 478.1 MB Notification: Performance of SimCode: time 5.91e-07/0.4903, allocations: 0 / 0.5548 GB, free: 7.227 MB / 478.1 MB Notification: Performance of Templates: time 0.18/0.6703, allocations: 7.363 MB / 0.562 GB, free: 164.8 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.makefile [Timeout 660] (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) [Timeout 480] 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: 8.916639286093414]