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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001521/0.001521, allocations: 183.8 kB / 18.04 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.383/1.383, allocations: 205.4 MB / 224.2 MB, free: 9.027 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008063/0.0008063, allocations: 86.67 kB / 272.5 MB, free: 8.254 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003101/0.0003103, allocations: 12 kB / 329.5 MB, free: 15.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2361/0.2364, allocations: 47.57 MB / 377 MB, free: 45.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7721/1.009, allocations: 438.1 MB / 0.7961 GB, free: 10.47 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002887/1.009, allocations: 102.1 kB / 0.7962 GB, free: 10.41 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4368/1.446, allocations: 141.3 MB / 0.9341 GB, free: 44.45 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.763e-06/1.446, allocations: 4 kB / 0.9341 GB, free: 44.44 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.701e-05/1.446, allocations: 11.98 kB / 0.9342 GB, free: 44.43 MB / 426.7 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.001094/1.447, allocations: 0.6169 MB / 0.9348 GB, free: 43.76 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/1.447, allocations: 15.97 kB / 0.9348 GB, free: 43.75 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003228/1.447, allocations: 44.55 kB / 0.9348 GB, free: 43.7 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003436/1.448, allocations: 288.1 kB / 0.9351 GB, free: 43.38 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.003e-05/1.448, allocations: 20.94 kB / 0.9351 GB, free: 43.36 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.453e-05/1.448, allocations: 24.38 kB / 0.9351 GB, free: 43.34 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004554/1.448, allocations: 320.2 kB / 0.9354 GB, free: 43 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.737e-05/1.448, allocations: 4.188 kB / 0.9354 GB, free: 42.99 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.022e-05/1.448, allocations: 15.94 kB / 0.9355 GB, free: 42.98 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/1.448, allocations: 4 kB / 0.9355 GB, free: 42.97 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002782/1.449, allocations: 201.6 kB / 0.9357 GB, free: 42.78 MB / 426.7 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.001383/1.45, allocations: 1.593 MB / 0.9372 GB, free: 41.03 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002333/1.45, allocations: 166.5 kB / 0.9374 GB, free: 40.86 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001251/1.45, allocations: 97.14 kB / 0.9375 GB, free: 40.76 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.288e-05/1.45, allocations: 4 kB / 0.9375 GB, free: 40.76 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.103e-05/1.45, allocations: 34.56 kB / 0.9375 GB, free: 40.71 MB / 426.7 MB Notification: Performance of pre-optimization done (n=22): time 2.044e-06/1.45, allocations: 0 / 0.9375 GB, free: 40.71 MB / 426.7 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.004702/1.455, allocations: 1.629 MB / 0.9391 GB, free: 38.95 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.214e-05/1.455, allocations: 59.39 kB / 0.9392 GB, free: 38.88 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002131/1.455, allocations: 249 kB / 0.9394 GB, free: 38.63 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.297e-05/1.455, allocations: 33.7 kB / 0.9394 GB, free: 38.59 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.584e-05/1.456, allocations: 176.2 kB / 0.9396 GB, free: 38.41 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.021e-05/1.456, allocations: 94.64 kB / 0.9397 GB, free: 38.32 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.637e-05/1.456, allocations: 4 kB / 0.9397 GB, free: 38.32 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 5.805e-05/1.456, allocations: 342.8 kB / 0.94 GB, free: 37.97 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001344/1.456, allocations: 87.95 kB / 0.9401 GB, free: 37.89 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001572/1.456, allocations: 183.8 kB / 0.9403 GB, free: 37.66 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003301/1.456, allocations: 300.3 kB / 0.9406 GB, free: 37.33 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/1.456, allocations: 3.938 kB / 0.9406 GB, free: 37.32 MB / 426.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006257/1.457, allocations: 390.7 kB / 0.9409 GB, free: 36.93 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/1.457, allocations: 8 kB / 0.9409 GB, free: 36.92 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/1.457, allocations: 3.938 kB / 0.9409 GB, free: 36.92 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002012/1.457, allocations: 78.02 kB / 0.941 GB, free: 36.84 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000312/1.458, allocations: 87.89 kB / 0.9411 GB, free: 36.75 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009712/1.459, allocations: 1.852 MB / 0.9429 GB, free: 34.74 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002537/1.459, allocations: 12 kB / 0.9429 GB, free: 34.73 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.74e-05/1.459, allocations: 43.98 kB / 0.943 GB, free: 34.69 MB / 426.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001639/1.459, allocations: 157.8 kB / 0.9431 GB, free: 34.52 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.446e-05/1.459, allocations: 39.59 kB / 0.9432 GB, free: 34.48 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008159/1.46, allocations: 432.7 kB / 0.9436 GB, free: 34.05 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/1.46, allocations: 7.938 kB / 0.9436 GB, free: 34.04 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/1.46, allocations: 0 / 0.9436 GB, free: 34.04 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003846/1.46, allocations: 0.5553 MB / 0.9441 GB, free: 33.39 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000841/1.461, allocations: 0.7329 MB / 0.9448 GB, free: 32.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/1.461, allocations: 0 / 0.9448 GB, free: 32.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002797/1.462, allocations: 71.89 kB / 0.9449 GB, free: 32.53 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.488e-05/1.462, allocations: 24.78 kB / 0.9449 GB, free: 32.5 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.342e-05/1.462, allocations: 16.05 kB / 0.9449 GB, free: 32.48 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005283/1.462, allocations: 1.28 MB / 0.9462 GB, free: 31.07 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/1.462, allocations: 16.11 kB / 0.9462 GB, free: 31.05 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005082/1.463, allocations: 474.8 kB / 0.9467 GB, free: 30.57 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.263e-05/1.463, allocations: 104.8 kB / 0.9468 GB, free: 30.45 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.229e-05/1.463, allocations: 8 kB / 0.9468 GB, free: 30.44 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002624/1.463, allocations: 23.98 kB / 0.9468 GB, free: 30.41 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.169e-05/1.463, allocations: 27.84 kB / 0.9468 GB, free: 30.39 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.622e-05/1.463, allocations: 35.98 kB / 0.9468 GB, free: 30.35 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001418/1.463, allocations: 182 kB / 0.947 GB, free: 30.17 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/1.463, allocations: 0 / 0.947 GB, free: 30.17 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006906/1.464, allocations: 184 kB / 0.9472 GB, free: 29.99 MB / 426.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000997/1.465, allocations: 0.765 MB / 0.9479 GB, free: 29.22 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005589/1.466, allocations: 375.2 kB / 0.9483 GB, free: 28.84 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/1.466, allocations: 0 / 0.9483 GB, free: 28.84 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002298/1.466, allocations: 242.4 kB / 0.9485 GB, free: 28.59 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008785/1.467, allocations: 156.3 kB / 0.9487 GB, free: 28.44 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001146/1.468, allocations: 0.8325 MB / 0.9495 GB, free: 27.57 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002183/1.468, allocations: 0.7609 MB / 0.9502 GB, free: 26.79 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0006108/1.469, allocations: 118.9 kB / 0.9503 GB, free: 26.68 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002131/1.469, allocations: 59.42 kB / 0.9504 GB, free: 26.62 MB / 426.7 MB Notification: Performance of SimCode: time 3.81e-07/1.469, allocations: 4 kB / 0.9504 GB, free: 26.61 MB / 426.7 MB Notification: Performance of Templates: time 0.02296/1.492, allocations: 18.13 MB / 0.9681 GB, free: 8.461 MB / 426.7 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","../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