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.002109/0.002109, allocations: 182.4 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.387/2.387, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001154/0.001154, allocations: 86.64 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.645e-05/2.661e-05, allocations: 0 / 321.5 MB, free: 17.83 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09527/0.09532, allocations: 47.58 MB / 369.1 MB, free: 2.188 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.399/1.495, allocations: 437.9 MB / 0.7881 GB, free: 67.24 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000338/1.495, allocations: 103.1 kB / 0.7882 GB, free: 67.18 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7398/2.235, allocations: 141.8 MB / 0.9267 GB, free: 98.36 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.267e-06/2.235, allocations: 0 / 0.9267 GB, free: 98.36 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.599e-05/2.235, allocations: 4 kB / 0.9267 GB, free: 98.36 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.001845/2.237, allocations: 0.6008 MB / 0.9272 GB, free: 97.71 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.273e-05/2.237, allocations: 12.03 kB / 0.9273 GB, free: 97.7 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006676/2.238, allocations: 35.72 kB / 0.9273 GB, free: 97.67 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006157/2.238, allocations: 282.5 kB / 0.9276 GB, free: 97.35 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.363e-05/2.238, allocations: 20.55 kB / 0.9276 GB, free: 97.33 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.917e-05/2.239, allocations: 24 kB / 0.9276 GB, free: 97.3 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009844/2.24, allocations: 315.7 kB / 0.9279 GB, free: 96.97 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.797e-05/2.24, allocations: 4 kB / 0.9279 GB, free: 96.96 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.243e-05/2.24, allocations: 12 kB / 0.9279 GB, free: 96.95 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.369e-05/2.24, allocations: 4 kB / 0.9279 GB, free: 96.95 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007054/2.24, allocations: 197.6 kB / 0.9281 GB, free: 96.76 MB / 426.7 MB Warning: The model contains alias variables with conflicting start and/or 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.003263/2.244, allocations: 1.581 MB / 0.9297 GB, free: 95.02 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005831/2.244, allocations: 167 kB / 0.9298 GB, free: 94.85 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003102/2.245, allocations: 97.22 kB / 0.9299 GB, free: 94.75 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.885e-05/2.245, allocations: 4.188 kB / 0.9299 GB, free: 94.75 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.276e-05/2.245, allocations: 34.69 kB / 0.9299 GB, free: 94.7 MB / 426.7 MB Notification: Performance of pre-optimization done (n=22): time 4.608e-06/2.245, allocations: 0 / 0.9299 GB, free: 94.7 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.01222/2.257, allocations: 1.246 MB / 0.9312 GB, free: 93.39 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.291e-05/2.257, allocations: 67.39 kB / 0.9312 GB, free: 93.31 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004493/2.258, allocations: 221 kB / 0.9314 GB, free: 93.09 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.746e-05/2.258, allocations: 33.7 kB / 0.9315 GB, free: 93.05 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000128/2.258, allocations: 226.4 kB / 0.9317 GB, free: 92.83 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001228/2.258, allocations: 102.6 kB / 0.9318 GB, free: 92.73 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.446e-05/2.258, allocations: 4 kB / 0.9318 GB, free: 92.72 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.725e-05/2.258, allocations: 326.8 kB / 0.9321 GB, free: 92.39 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000364/2.259, allocations: 84 kB / 0.9322 GB, free: 92.31 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004376/2.259, allocations: 191.7 kB / 0.9324 GB, free: 92.08 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004669/2.26, allocations: 116.5 kB / 0.9325 GB, free: 91.97 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/2.26, allocations: 0 / 0.9325 GB, free: 91.97 MB / 426.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001476/2.261, allocations: 382.8 kB / 0.9328 GB, free: 91.58 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.023e-05/2.261, allocations: 8 kB / 0.9328 GB, free: 91.57 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.395e-05/2.261, allocations: 7.938 kB / 0.9329 GB, free: 91.57 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004897/2.262, allocations: 78.08 kB / 0.9329 GB, free: 91.48 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000911/2.263, allocations: 79.91 kB / 0.933 GB, free: 91.41 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001974/2.265, allocations: 1.856 MB / 0.9348 GB, free: 89.39 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000704/2.265, allocations: 23.86 kB / 0.9348 GB, free: 89.37 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001087/2.265, allocations: 40.19 kB / 0.9349 GB, free: 89.33 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 () * 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.0002059/2.266, allocations: 121.2 kB / 0.935 GB, free: 89.2 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001541/2.266, allocations: 31.62 kB / 0.935 GB, free: 89.17 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002208/2.268, allocations: 451.6 kB / 0.9355 GB, free: 88.71 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.628e-06/2.268, allocations: 4 kB / 0.9355 GB, free: 88.71 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/2.268, allocations: 0 / 0.9355 GB, free: 88.71 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009476/2.269, allocations: 0.5591 MB / 0.936 GB, free: 88.06 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001943/2.271, allocations: 0.7094 MB / 0.9367 GB, free: 87.29 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/2.271, allocations: 0 / 0.9367 GB, free: 87.29 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008535/2.272, allocations: 75.89 kB / 0.9368 GB, free: 87.21 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001827/2.272, allocations: 28.84 kB / 0.9368 GB, free: 87.18 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.468e-05/2.272, allocations: 12 kB / 0.9368 GB, free: 87.17 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001249/2.274, allocations: 1.284 MB / 0.9381 GB, free: 85.75 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/2.274, allocations: 0 / 0.9381 GB, free: 85.75 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001394/2.275, allocations: 493.6 kB / 0.9385 GB, free: 85.23 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001604/2.275, allocations: 108.9 kB / 0.9386 GB, free: 85.11 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001115/2.275, allocations: 8 kB / 0.9386 GB, free: 85.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006805/2.276, allocations: 12 kB / 0.9387 GB, free: 85.09 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001109/2.276, allocations: 23.97 kB / 0.9387 GB, free: 85.07 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.815e-05/2.276, allocations: 35.98 kB / 0.9387 GB, free: 85.03 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003734/2.277, allocations: 183.1 kB / 0.9389 GB, free: 84.85 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.22e-07/2.277, allocations: 4 kB / 0.9389 GB, free: 84.84 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001459/2.278, allocations: 187.9 kB / 0.9391 GB, free: 84.66 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 () * 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.001978/2.28, allocations: 0.7691 MB / 0.9398 GB, free: 83.88 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001291/2.281, allocations: 375.1 kB / 0.9402 GB, free: 83.5 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/2.282, allocations: 0 / 0.9402 GB, free: 83.5 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005275/2.282, allocations: 226.7 kB / 0.9404 GB, free: 83.27 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002386/2.284, allocations: 160.5 kB / 0.9405 GB, free: 83.11 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00171/2.286, allocations: 0.5192 MB / 0.9411 GB, free: 82.57 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000325/2.287, allocations: 0.7686 MB / 0.9418 GB, free: 81.77 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000642/2.287, allocations: 75.41 kB / 0.9419 GB, free: 81.7 MB / 426.7 MB Notification: Performance of SimCode: time 2.164e-06/2.287, allocations: 8 kB / 0.9419 GB, free: 81.69 MB / 426.7 MB Notification: Performance of Templates: time 0.03341/2.321, allocations: 11.47 MB / 0.9531 GB, free: 70.2 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