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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001673/0.001673, allocations: 108.5 kB / 18.39 MB, free: 4.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001887/0.001888, allocations: 193.2 kB / 21.34 MB, free: 1.719 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.505/1.505, allocations: 205.1 MB / 229.2 MB, free: 4.52 MB / 174.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.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=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.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.001765/0.001766, allocations: 55.73 kB / 335.3 MB, free: 14.27 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1102, allocations: 46.63 MB / 381.9 MB, free: 432 kB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen): time 0.4444/0.5546, allocations: 172.7 MB / 0.5416 GB, free: 2.5 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004483/0.5592, allocations: 3.213 MB / 0.5447 GB, free: 15.27 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001935/0.5594, allocations: 7.938 kB / 0.5447 GB, free: 15.27 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005955/0.56, allocations: 174.9 kB / 0.5449 GB, free: 15.09 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009087/0.561, allocations: 409.3 kB / 0.5453 GB, free: 14.7 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000871/0.5619, allocations: 344.4 kB / 0.5456 GB, free: 14.36 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001067/0.5629, allocations: 0.8876 MB / 0.5465 GB, free: 13.47 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002267/0.5632, allocations: 108.6 kB / 0.5466 GB, free: 13.37 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002169/0.5653, allocations: 0.7969 MB / 0.5474 GB, free: 12.57 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003931/0.5657, allocations: 266.9 kB / 0.5476 GB, free: 12.31 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.322e-05/0.5658, allocations: 32 kB / 0.5477 GB, free: 12.28 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003381/0.5662, allocations: 131.8 kB / 0.5478 GB, free: 12.15 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001353/0.5663, allocations: 87.8 kB / 0.5479 GB, free: 12.07 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002365/0.5666, allocations: 187.2 kB / 0.5481 GB, free: 11.88 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006984/0.5673, allocations: 0.517 MB / 0.5486 GB, free: 11.37 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.5673, allocations: 0 / 0.5486 GB, free: 11.37 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.5673, allocations: 0 / 0.5486 GB, free: 11.37 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.524e-06/0.5673, allocations: 4 kB / 0.5486 GB, free: 11.36 MB / 430.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.00104/0.5683, allocations: 0.5921 MB / 0.5491 GB, free: 10.72 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/0.5684, allocations: 15.89 kB / 0.5492 GB, free: 10.71 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003042/0.5687, allocations: 43.8 kB / 0.5492 GB, free: 10.66 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005167/0.5692, allocations: 286.6 kB / 0.5495 GB, free: 10.34 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.466e-05/0.5693, allocations: 20.56 kB / 0.5495 GB, free: 10.32 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.106e-05/0.5693, allocations: 24 kB / 0.5495 GB, free: 10.3 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005373/0.5699, allocations: 319.7 kB / 0.5498 GB, free: 9.957 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.067e-05/0.5699, allocations: 3.938 kB / 0.5498 GB, free: 9.953 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.867e-05/0.5699, allocations: 12 kB / 0.5498 GB, free: 9.941 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.124e-05/0.57, allocations: 7.984 kB / 0.5498 GB, free: 9.934 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000344/0.5703, allocations: 209.5 kB / 0.55 GB, free: 9.73 MB / 430.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.001997/0.5723, allocations: 1.585 MB / 0.5516 GB, free: 7.996 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003518/0.5727, allocations: 179.1 kB / 0.5518 GB, free: 7.812 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001595/0.5728, allocations: 104.8 kB / 0.5519 GB, free: 7.707 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.524e-05/0.5729, allocations: 4 kB / 0.5519 GB, free: 7.703 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.2e-05/0.5729, allocations: 34.56 kB / 0.5519 GB, free: 7.66 MB / 430.1 MB Notification: Performance of pre-optimization done (n=22): time 1.954e-06/0.5729, allocations: 0 / 0.5519 GB, free: 7.66 MB / 430.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.005574/0.5785, allocations: 1.623 MB / 0.5535 GB, free: 5.91 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.901e-05/0.5786, allocations: 55.41 kB / 0.5535 GB, free: 5.844 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002917/0.5789, allocations: 249 kB / 0.5538 GB, free: 5.594 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.286e-05/0.5789, allocations: 33.7 kB / 0.5538 GB, free: 5.555 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001357/0.5791, allocations: 184.4 kB / 0.554 GB, free: 5.371 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.491e-05/0.5792, allocations: 103.2 kB / 0.5541 GB, free: 5.27 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001282/0.5793, allocations: 81.64 kB / 0.5542 GB, free: 5.184 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000165/0.5795, allocations: 334.8 kB / 0.5545 GB, free: 4.848 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001734/0.5797, allocations: 95.95 kB / 0.5546 GB, free: 4.754 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002473/0.5799, allocations: 183.8 kB / 0.5547 GB, free: 4.531 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004516/0.5804, allocations: 304.2 kB / 0.555 GB, free: 4.191 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.5804, allocations: 4 kB / 0.555 GB, free: 4.188 MB / 430.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007009/0.5811, allocations: 402.8 kB / 0.5554 GB, free: 3.781 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.14e-05/0.5811, allocations: 11.91 kB / 0.5554 GB, free: 3.77 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.5812, allocations: 4 kB / 0.5554 GB, free: 3.766 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002315/0.5814, allocations: 69.67 kB / 0.5555 GB, free: 3.691 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000355/0.5818, allocations: 92.23 kB / 0.5556 GB, free: 3.602 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001614/0.5834, allocations: 1.954 MB / 0.5575 GB, free: 1.48 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001876/0.5836, allocations: 11.81 kB / 0.5575 GB, free: 1.473 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.887e-05/0.5836, allocations: 39.98 kB / 0.5576 GB, free: 1.434 MB / 430.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.0001814/0.5838, allocations: 157.6 kB / 0.5577 GB, free: 1.27 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.995e-05/0.5839, allocations: 35.97 kB / 0.5577 GB, free: 1.234 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008854/0.5848, allocations: 431.7 kB / 0.5581 GB, free: 0.793 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.5848, allocations: 3.984 kB / 0.5582 GB, free: 0.7891 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.5848, allocations: 0 / 0.5582 GB, free: 0.7891 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005861/0.5854, allocations: 0.563 MB / 0.5587 GB, free: 140 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001065/0.5865, allocations: 0.7353 MB / 0.5594 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.5865, allocations: 0.9375 kB / 0.5594 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003149/0.5868, allocations: 71.95 kB / 0.5595 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.889e-05/0.5869, allocations: 20.78 kB / 0.5595 GB, free: 15.24 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.681e-05/0.587, allocations: 12 kB / 0.5595 GB, free: 15.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001057/0.588, allocations: 1.387 MB / 0.5609 GB, free: 13.7 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.588, allocations: 3.938 kB / 0.5609 GB, free: 13.7 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007466/0.5888, allocations: 475.3 kB / 0.5613 GB, free: 13.21 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.9e-05/0.5889, allocations: 104.9 kB / 0.5614 GB, free: 13.09 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.07e-05/0.589, allocations: 8.625 kB / 0.5614 GB, free: 13.08 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002247/0.5892, allocations: 12 kB / 0.5615 GB, free: 13.07 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.448e-05/0.5893, allocations: 31.84 kB / 0.5615 GB, free: 13.04 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.325e-05/0.5893, allocations: 35.98 kB / 0.5615 GB, free: 13 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002046/0.5895, allocations: 186 kB / 0.5617 GB, free: 12.82 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5895, allocations: 0 / 0.5617 GB, free: 12.82 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005132/0.5901, allocations: 127.9 kB / 0.5618 GB, free: 12.7 MB / 446.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.0003717/0.5904, allocations: 147.1 kB / 0.562 GB, free: 12.54 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007242/0.5912, allocations: 375.4 kB / 0.5623 GB, free: 12.16 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.5912, allocations: 0 / 0.5623 GB, free: 12.16 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003235/0.5915, allocations: 238.5 kB / 0.5625 GB, free: 11.92 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009486/0.5925, allocations: 168.3 kB / 0.5627 GB, free: 11.75 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00124/0.5937, allocations: 0.6985 MB / 0.5634 GB, free: 11.02 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004009/0.5941, allocations: 0.7567 MB / 0.5641 GB, free: 10.24 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004052/0.5946, allocations: 110.9 kB / 0.5642 GB, free: 10.13 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000178/0.5947, allocations: 71.41 kB / 0.5643 GB, free: 10.06 MB / 446.1 MB Notification: Performance of SimCode: time 3.91e-07/0.5947, allocations: 0 / 0.5643 GB, free: 10.06 MB / 446.1 MB Notification: Performance of Templates: time 0.01562/0.6104, allocations: 8.771 MB / 0.5729 GB, free: 1.27 MB / 446.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/jenkins/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/jenkins/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: 5.193480420857668]