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.002107/0.002107, allocations: 177.8 kB / 8.36 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.044/2.044, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001126/0.001125, allocations: 92.05 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.934e-05/2.945e-05, allocations: 4 kB / 314.8 MB, free: 9.129 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4439/0.4439, allocations: 47.56 MB / 362.3 MB, free: 45.85 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.155/1.599, allocations: 437.3 MB / 0.7809 GB, free: 43.27 MB / 427.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003711/1.599, allocations: 93.38 kB / 0.781 GB, free: 43.21 MB / 427.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.7395/2.339, allocations: 140.1 MB / 0.9178 GB, free: 83.71 MB / 427.1 MB Notification: Performance of FrontEnd: time 1.593e-06/2.339, allocations: 0 / 0.9178 GB, free: 83.71 MB / 427.1 MB Notification: Performance of Transformations before backend: time 2.46e-05/2.339, allocations: 7.984 kB / 0.9178 GB, free: 83.7 MB / 427.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.001125/2.34, allocations: 0.603 MB / 0.9184 GB, free: 83.05 MB / 427.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/2.34, allocations: 12.03 kB / 0.9184 GB, free: 83.04 MB / 427.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003552/2.34, allocations: 39.67 kB / 0.9185 GB, free: 83 MB / 427.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004367/2.341, allocations: 286.4 kB / 0.9187 GB, free: 82.68 MB / 427.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.919e-05/2.341, allocations: 8 kB / 0.9187 GB, free: 82.68 MB / 427.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.8e-05/2.341, allocations: 16 kB / 0.9188 GB, free: 82.66 MB / 427.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004382/2.341, allocations: 177.1 kB / 0.9189 GB, free: 82.48 MB / 427.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005596/2.342, allocations: 270.6 kB / 0.9192 GB, free: 82.19 MB / 427.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.889e-05/2.342, allocations: 0 / 0.9192 GB, free: 82.19 MB / 427.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.855e-05/2.342, allocations: 4 kB / 0.9192 GB, free: 82.19 MB / 427.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.208e-06/2.342, allocations: 4 kB / 0.9192 GB, free: 82.18 MB / 427.1 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.0021/2.344, allocations: 1.563 MB / 0.9207 GB, free: 80.48 MB / 427.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002901/2.345, allocations: 140.7 kB / 0.9209 GB, free: 80.34 MB / 427.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001591/2.345, allocations: 80.84 kB / 0.9209 GB, free: 80.25 MB / 427.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.821e-05/2.345, allocations: 8 kB / 0.9209 GB, free: 80.25 MB / 427.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.758e-05/2.345, allocations: 30.56 kB / 0.921 GB, free: 80.21 MB / 427.1 MB Notification: Performance of pre-optimization done (n=20): time 2.385e-06/2.345, allocations: 4 kB / 0.921 GB, free: 80.2 MB / 427.1 MB Notification: Performance of matching and sorting (n=25): time 0.006703/2.351, allocations: 0.992 MB / 0.9219 GB, free: 79.13 MB / 427.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3e-05/2.352, allocations: 59.41 kB / 0.922 GB, free: 79.06 MB / 427.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002777/2.352, allocations: 196 kB / 0.9222 GB, free: 78.86 MB / 427.1 MB Notification: Performance of collectPreVariables (initialization): time 3.816e-05/2.352, allocations: 25.7 kB / 0.9222 GB, free: 78.83 MB / 427.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001071/2.352, allocations: 250.1 kB / 0.9224 GB, free: 78.59 MB / 427.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.677e-05/2.352, allocations: 94.67 kB / 0.9225 GB, free: 78.49 MB / 427.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.688e-05/2.352, allocations: 0 / 0.9225 GB, free: 78.49 MB / 427.1 MB Notification: Performance of setup shared object (initialization): time 7.15e-05/2.352, allocations: 322.8 kB / 0.9228 GB, free: 78.17 MB / 427.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001856/2.352, allocations: 72 kB / 0.9229 GB, free: 78.1 MB / 427.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000238/2.353, allocations: 176 kB / 0.9231 GB, free: 77.88 MB / 427.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002539/2.353, allocations: 112.4 kB / 0.9232 GB, free: 77.77 MB / 427.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/2.353, allocations: 0 / 0.9232 GB, free: 77.77 MB / 427.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008274/2.354, allocations: 350.8 kB / 0.9235 GB, free: 77.42 MB / 427.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/2.354, allocations: 4 kB / 0.9235 GB, free: 77.41 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/2.354, allocations: 4 kB / 0.9235 GB, free: 77.41 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000274/2.354, allocations: 66.09 kB / 0.9236 GB, free: 77.34 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005819/2.355, allocations: 83.89 kB / 0.9237 GB, free: 77.26 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00141/2.356, allocations: 1.805 MB / 0.9254 GB, free: 75.31 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004193/2.357, allocations: 19.97 kB / 0.9255 GB, free: 75.29 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.294e-05/2.357, allocations: 36 kB / 0.9255 GB, free: 75.26 MB / 427.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 () * 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.0001478/2.357, allocations: 117.6 kB / 0.9256 GB, free: 75.14 MB / 427.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.605e-05/2.357, allocations: 23.72 kB / 0.9256 GB, free: 75.11 MB / 427.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001115/2.358, allocations: 361.1 kB / 0.926 GB, free: 74.75 MB / 427.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/2.358, allocations: 4 kB / 0.926 GB, free: 74.75 MB / 427.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/2.358, allocations: 4 kB / 0.926 GB, free: 74.75 MB / 427.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005761/2.359, allocations: 0.5399 MB / 0.9265 GB, free: 74.12 MB / 427.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00122/2.36, allocations: 0.6588 MB / 0.9271 GB, free: 73.41 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.588e-06/2.36, allocations: 0 / 0.9271 GB, free: 73.41 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005374/2.36, allocations: 68.02 kB / 0.9272 GB, free: 73.34 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001153/2.361, allocations: 24.84 kB / 0.9272 GB, free: 73.31 MB / 427.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.447e-05/2.361, allocations: 11.92 kB / 0.9272 GB, free: 73.3 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008169/2.362, allocations: 1.229 MB / 0.9284 GB, free: 71.96 MB / 427.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.451e-06/2.362, allocations: 3.984 kB / 0.9285 GB, free: 71.96 MB / 427.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007816/2.362, allocations: 469.2 kB / 0.9289 GB, free: 71.46 MB / 427.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.758e-05/2.362, allocations: 100.8 kB / 0.929 GB, free: 71.34 MB / 427.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.661e-05/2.363, allocations: 7.953 kB / 0.929 GB, free: 71.34 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004176/2.363, allocations: 11.98 kB / 0.929 GB, free: 71.32 MB / 427.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.112e-05/2.363, allocations: 19.97 kB / 0.929 GB, free: 71.3 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.193e-05/2.363, allocations: 31.98 kB / 0.9291 GB, free: 71.27 MB / 427.1 MB Notification: Performance of sorting global known variables: time 0.0001794/2.363, allocations: 160.6 kB / 0.9292 GB, free: 71.12 MB / 427.1 MB Notification: Performance of sort global known variables: time 4e-07/2.363, allocations: 0 / 0.9292 GB, free: 71.12 MB / 427.1 MB Notification: Performance of remove unused functions: time 0.0009499/2.364, allocations: 159.9 kB / 0.9294 GB, free: 70.96 MB / 427.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 () * 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.001534/2.366, allocations: 0.906 MB / 0.9303 GB, free: 70.04 MB / 427.1 MB Notification: Performance of simCode: created initialization part: time 0.0007846/2.367, allocations: 349.9 kB / 0.9306 GB, free: 69.69 MB / 427.1 MB Notification: Performance of simCode: created event and clocks part: time 4.117e-06/2.367, allocations: 0 / 0.9306 GB, free: 69.69 MB / 427.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003113/2.367, allocations: 205.8 kB / 0.9308 GB, free: 69.48 MB / 427.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001215/2.368, allocations: 124.8 kB / 0.9309 GB, free: 69.36 MB / 427.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001132/2.369, allocations: 0.5163 MB / 0.9314 GB, free: 68.81 MB / 427.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002452/2.37, allocations: 0.7679 MB / 0.9322 GB, free: 68.01 MB / 427.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000412/2.37, allocations: 75.41 kB / 0.9322 GB, free: 67.93 MB / 427.1 MB Notification: Performance of SimCode: time 8.82e-07/2.37, allocations: 0 / 0.9322 GB, free: 67.93 MB / 427.1 MB Notification: Performance of Templates: time 0.01975/2.39, allocations: 11.03 MB / 0.943 GB, free: 56.9 MB / 427.1 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