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.002261/0.002261, allocations: 181.2 kB / 17.01 MB, free: 5.121 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.802/1.802, allocations: 205.4 MB / 223.1 MB, free: 9.117 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.001067/0.001067, allocations: 92.11 kB / 271.5 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005119/0.0005119, allocations: 4 kB / 328.3 MB, free: 15.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4021/0.4027, allocations: 47.57 MB / 375.8 MB, free: 45.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9985/1.401, allocations: 438 MB / 0.7948 GB, free: 10.82 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003009/1.402, allocations: 101.7 kB / 0.7949 GB, free: 10.76 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5209/1.923, allocations: 142.2 MB / 0.9337 GB, free: 43.96 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.485e-06/1.923, allocations: 0 / 0.9337 GB, free: 43.96 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.891e-05/1.923, allocations: 12 kB / 0.9337 GB, free: 43.95 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.0009662/1.924, allocations: 0.6167 MB / 0.9344 GB, free: 43.29 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/1.924, allocations: 8.031 kB / 0.9344 GB, free: 43.28 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000271/1.924, allocations: 43.62 kB / 0.9344 GB, free: 43.23 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003133/1.924, allocations: 286.8 kB / 0.9347 GB, free: 42.91 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.237e-05/1.924, allocations: 20.56 kB / 0.9347 GB, free: 42.89 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.469e-05/1.924, allocations: 24 kB / 0.9347 GB, free: 42.87 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004094/1.925, allocations: 319.5 kB / 0.935 GB, free: 42.53 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/1.925, allocations: 0 / 0.935 GB, free: 42.53 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.419e-05/1.925, allocations: 16 kB / 0.935 GB, free: 42.52 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/1.925, allocations: 8 kB / 0.935 GB, free: 42.51 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002582/1.925, allocations: 205.5 kB / 0.9352 GB, free: 42.31 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.001372/1.926, allocations: 1.574 MB / 0.9368 GB, free: 40.58 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002333/1.927, allocations: 163.1 kB / 0.9369 GB, free: 40.41 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.379e-05/1.927, allocations: 4.188 kB / 0.9369 GB, free: 40.41 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/1.927, allocations: 42.69 kB / 0.937 GB, free: 40.36 MB / 426.7 MB Notification: Performance of pre-optimization done (n=22): time 1.372e-06/1.927, allocations: 0 / 0.937 GB, free: 40.36 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.004959/1.932, allocations: 1.623 MB / 0.9386 GB, free: 38.61 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.899e-05/1.932, allocations: 63.39 kB / 0.9386 GB, free: 38.53 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001884/1.932, allocations: 232 kB / 0.9388 GB, free: 38.3 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.918e-05/1.932, allocations: 29.7 kB / 0.9389 GB, free: 38.27 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.168e-05/1.932, allocations: 176.2 kB / 0.939 GB, free: 38.09 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.771e-05/1.932, allocations: 90.66 kB / 0.9391 GB, free: 38 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.704e-05/1.932, allocations: 8 kB / 0.9391 GB, free: 37.99 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.912e-05/1.932, allocations: 342.8 kB / 0.9395 GB, free: 37.64 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001328/1.932, allocations: 79.97 kB / 0.9395 GB, free: 37.57 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001707/1.933, allocations: 187.8 kB / 0.9397 GB, free: 37.34 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001686/1.933, allocations: 119.9 kB / 0.9398 GB, free: 37.22 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-06/1.933, allocations: 0 / 0.9398 GB, free: 37.22 MB / 426.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005137/1.933, allocations: 395.6 kB / 0.9402 GB, free: 36.82 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/1.933, allocations: 8 kB / 0.9402 GB, free: 36.82 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/1.933, allocations: 4 kB / 0.9402 GB, free: 36.81 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001922/1.933, allocations: 73.67 kB / 0.9403 GB, free: 36.73 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000326/1.934, allocations: 83.84 kB / 0.9404 GB, free: 36.65 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009727/1.935, allocations: 1.86 MB / 0.9422 GB, free: 34.64 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002334/1.935, allocations: 24.19 kB / 0.9422 GB, free: 34.61 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.617e-05/1.935, allocations: 39.98 kB / 0.9422 GB, free: 34.57 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.0001519/1.935, allocations: 165.6 kB / 0.9424 GB, free: 34.4 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.959e-05/1.935, allocations: 27.72 kB / 0.9424 GB, free: 34.38 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008193/1.936, allocations: 444.7 kB / 0.9429 GB, free: 33.92 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/1.936, allocations: 4 kB / 0.9429 GB, free: 33.92 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/1.936, allocations: 0 / 0.9429 GB, free: 33.92 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003866/1.937, allocations: 0.563 MB / 0.9434 GB, free: 33.27 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007696/1.937, allocations: 0.7173 MB / 0.9441 GB, free: 32.48 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/1.937, allocations: 0 / 0.9441 GB, free: 32.48 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003267/1.938, allocations: 76.02 kB / 0.9442 GB, free: 32.41 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.899e-05/1.938, allocations: 24.78 kB / 0.9442 GB, free: 32.38 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.45e-05/1.938, allocations: 15.98 kB / 0.9442 GB, free: 32.37 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005711/1.938, allocations: 1.284 MB / 0.9455 GB, free: 30.95 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.205e-06/1.938, allocations: 4.031 kB / 0.9455 GB, free: 30.95 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005163/1.939, allocations: 497.9 kB / 0.946 GB, free: 30.42 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.011e-05/1.939, allocations: 104.8 kB / 0.9461 GB, free: 30.3 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.296e-05/1.939, allocations: 8 kB / 0.9461 GB, free: 30.29 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002497/1.939, allocations: 19.94 kB / 0.9461 GB, free: 30.27 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.436e-05/1.939, allocations: 31.84 kB / 0.9461 GB, free: 30.24 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-05/1.939, allocations: 32.05 kB / 0.9461 GB, free: 30.21 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001466/1.94, allocations: 186 kB / 0.9463 GB, free: 30.03 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/1.94, allocations: 0 / 0.9463 GB, free: 30.03 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007418/1.94, allocations: 187.9 kB / 0.9465 GB, free: 29.84 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.001013/1.941, allocations: 0.7738 MB / 0.9473 GB, free: 29.06 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005686/1.942, allocations: 366.7 kB / 0.9476 GB, free: 28.69 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/1.942, allocations: 7.875 kB / 0.9476 GB, free: 28.68 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000219/1.942, allocations: 235.4 kB / 0.9478 GB, free: 28.44 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007608/1.943, allocations: 161 kB / 0.948 GB, free: 28.29 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001089/1.944, allocations: 0.8225 MB / 0.9488 GB, free: 27.44 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001946/1.944, allocations: 0.7726 MB / 0.9495 GB, free: 26.64 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005342/1.945, allocations: 110.9 kB / 0.9497 GB, free: 26.53 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001955/1.945, allocations: 63.41 kB / 0.9497 GB, free: 26.46 MB / 426.7 MB Notification: Performance of SimCode: time 6.32e-07/1.945, allocations: 0 / 0.9497 GB, free: 26.46 MB / 426.7 MB Notification: Performance of Templates: time 0.0209/1.966, allocations: 17.45 MB / 0.9668 GB, free: 9.008 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/jenkins/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