Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.001135/0.001134, allocations: 181.3 kB / 17.41 MB, free: 4.289 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.409/1.409, allocations: 205.4 MB / 223.6 MB, free: 9.035 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.0008366/0.0008366, allocations: 85.42 kB / 271.9 MB, free: 8.273 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003762/0.0003765, allocations: 12 kB / 328.2 MB, free: 15.95 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2483/0.2487, allocations: 47.57 MB / 375.7 MB, free: 45.46 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7352/0.9839, allocations: 438.1 MB / 0.7948 GB, free: 13.91 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002406/0.9842, allocations: 94.75 kB / 0.7949 GB, free: 13.86 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4409/1.425, allocations: 141.3 MB / 0.9329 GB, free: 47.72 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.084e-06/1.425, allocations: 0 / 0.9329 GB, free: 47.72 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.264e-05/1.425, allocations: 7.984 kB / 0.9329 GB, free: 47.71 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.001091/1.426, allocations: 0.6208 MB / 0.9335 GB, free: 47.04 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/1.426, allocations: 8.031 kB / 0.9335 GB, free: 47.04 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003042/1.427, allocations: 40.56 kB / 0.9335 GB, free: 47 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003431/1.427, allocations: 292 kB / 0.9338 GB, free: 46.67 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.2e-05/1.427, allocations: 16.94 kB / 0.9338 GB, free: 46.66 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.146e-05/1.427, allocations: 24.38 kB / 0.9339 GB, free: 46.63 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000461/1.428, allocations: 320.2 kB / 0.9342 GB, free: 46.29 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.708e-05/1.428, allocations: 4.188 kB / 0.9342 GB, free: 46.29 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.77e-05/1.428, allocations: 15.94 kB / 0.9342 GB, free: 46.27 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.123e-05/1.428, allocations: 4 kB / 0.9342 GB, free: 46.27 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002859/1.428, allocations: 197.6 kB / 0.9344 GB, free: 46.08 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.001411/1.429, allocations: 1.597 MB / 0.9359 GB, free: 44.33 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00024/1.43, allocations: 161 kB / 0.9361 GB, free: 44.16 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001254/1.43, allocations: 101.1 kB / 0.9362 GB, free: 44.06 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.995e-05/1.43, allocations: 7.984 kB / 0.9362 GB, free: 44.05 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.763e-05/1.43, allocations: 46.44 kB / 0.9362 GB, free: 44 MB / 426.7 MB Notification: Performance of pre-optimization done (n=22): time 1.553e-06/1.43, allocations: 0 / 0.9362 GB, free: 44 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.004751/1.435, allocations: 1.624 MB / 0.9378 GB, free: 42.25 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.86e-05/1.435, allocations: 63.39 kB / 0.9379 GB, free: 42.17 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002023/1.435, allocations: 249 kB / 0.9381 GB, free: 41.92 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.849e-05/1.435, allocations: 33.7 kB / 0.9381 GB, free: 41.88 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.207e-05/1.435, allocations: 176.2 kB / 0.9383 GB, free: 41.7 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.892e-05/1.435, allocations: 94.64 kB / 0.9384 GB, free: 41.61 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.918e-05/1.435, allocations: 4 kB / 0.9384 GB, free: 41.61 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.16e-05/1.435, allocations: 338.8 kB / 0.9387 GB, free: 41.27 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000138/1.435, allocations: 87.95 kB / 0.9388 GB, free: 41.18 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001661/1.435, allocations: 183.8 kB / 0.939 GB, free: 40.96 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003254/1.436, allocations: 304.3 kB / 0.9393 GB, free: 40.62 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/1.436, allocations: 7.875 kB / 0.9393 GB, free: 40.61 MB / 426.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005229/1.436, allocations: 386.9 kB / 0.9397 GB, free: 40.22 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/1.436, allocations: 8 kB / 0.9397 GB, free: 40.21 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/1.436, allocations: 0 / 0.9397 GB, free: 40.21 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001859/1.437, allocations: 77.61 kB / 0.9397 GB, free: 40.13 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000297/1.437, allocations: 79.91 kB / 0.9398 GB, free: 40.05 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009364/1.438, allocations: 1.856 MB / 0.9416 GB, free: 38.04 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002153/1.438, allocations: 20.05 kB / 0.9416 GB, free: 38.02 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.579e-05/1.438, allocations: 47.92 kB / 0.9417 GB, free: 37.97 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.0001328/1.438, allocations: 149.7 kB / 0.9418 GB, free: 37.82 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.715e-05/1.438, allocations: 31.66 kB / 0.9419 GB, free: 37.79 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000841/1.439, allocations: 444.7 kB / 0.9423 GB, free: 37.34 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/1.439, allocations: 7.984 kB / 0.9423 GB, free: 37.33 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/1.439, allocations: 0 / 0.9423 GB, free: 37.33 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003877/1.44, allocations: 0.5552 MB / 0.9428 GB, free: 36.68 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007818/1.44, allocations: 0.7368 MB / 0.9436 GB, free: 35.88 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/1.44, allocations: 3.938 kB / 0.9436 GB, free: 35.88 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002784/1.441, allocations: 71.83 kB / 0.9436 GB, free: 35.81 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.069e-05/1.441, allocations: 24.84 kB / 0.9437 GB, free: 35.78 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.384e-05/1.441, allocations: 8 kB / 0.9437 GB, free: 35.77 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005338/1.441, allocations: 1.28 MB / 0.9449 GB, free: 34.36 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/1.441, allocations: 8.031 kB / 0.9449 GB, free: 34.35 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005148/1.442, allocations: 482.6 kB / 0.9454 GB, free: 33.86 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.768e-05/1.442, allocations: 104.8 kB / 0.9455 GB, free: 33.73 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.239e-05/1.442, allocations: 8 kB / 0.9455 GB, free: 33.73 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002307/1.442, allocations: 15.94 kB / 0.9455 GB, free: 33.71 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.597e-05/1.442, allocations: 31.97 kB / 0.9455 GB, free: 33.68 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.62e-05/1.442, allocations: 31.98 kB / 0.9456 GB, free: 33.65 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001393/1.442, allocations: 186 kB / 0.9457 GB, free: 33.46 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/1.442, allocations: 0 / 0.9457 GB, free: 33.46 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006752/1.443, allocations: 184 kB / 0.9459 GB, free: 33.29 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.0009181/1.444, allocations: 0.7612 MB / 0.9467 GB, free: 32.52 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005384/1.445, allocations: 378.3 kB / 0.947 GB, free: 32.14 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/1.445, allocations: 0 / 0.947 GB, free: 32.14 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000222/1.445, allocations: 227.5 kB / 0.9472 GB, free: 31.9 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008488/1.446, allocations: 168 kB / 0.9474 GB, free: 31.74 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001011/1.447, allocations: 0.8588 MB / 0.9482 GB, free: 30.84 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001784/1.447, allocations: 0.7609 MB / 0.949 GB, free: 30.05 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000242/1.447, allocations: 87.33 kB / 0.9491 GB, free: 29.97 MB / 426.7 MB Notification: Performance of SimCode: time 2.5e-07/1.447, allocations: 0 / 0.9491 GB, free: 29.97 MB / 426.7 MB Notification: Performance of Templates: time 0.01109/1.458, allocations: 11.23 MB / 0.96 GB, free: 18.73 MB / 426.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches