Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002083/0.002083, allocations: 178.4 kB / 8.362 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.183/2.183, allocations: 205.3 MB / 214.1 MB, free: 14.15 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.001108/0.001108, allocations: 96.03 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2962/0.2962, allocations: 43.5 MB / 353.6 MB, free: 2.266 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.12e-05/2.13e-05, allocations: 0 / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4076/0.4077, allocations: 58.86 MB / 477.1 MB, free: 5.262 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.397/1.804, allocations: 0.5077 GB / 0.9736 GB, free: 40.93 MB / 0.4952 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003266/1.805, allocations: 94.77 kB / 0.9737 GB, free: 40.88 MB / 0.4952 GB Notification: Performance of FrontEnd - DAE generated: time 1.07/2.875, allocations: 216.3 MB / 1.185 GB, free: 33.72 MB / 0.4952 GB Notification: Performance of FrontEnd: time 1.853e-06/2.875, allocations: 0 / 1.185 GB, free: 33.72 MB / 0.4952 GB Notification: Performance of Transformations before backend: time 7.613e-05/2.875, allocations: 24 kB / 1.185 GB, free: 33.7 MB / 0.4952 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.00377/2.879, allocations: 1.093 MB / 1.186 GB, free: 32.56 MB / 0.4952 GB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/2.879, allocations: 15.97 kB / 1.186 GB, free: 32.55 MB / 0.4952 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001362/2.88, allocations: 131 kB / 1.186 GB, free: 32.42 MB / 0.4952 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001756/2.882, allocations: 0.539 MB / 1.187 GB, free: 31.84 MB / 0.4952 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001212/2.882, allocations: 84.7 kB / 1.187 GB, free: 31.74 MB / 0.4952 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001375/2.882, allocations: 28 kB / 1.187 GB, free: 31.71 MB / 0.4952 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001364/2.884, allocations: 0.5335 MB / 1.187 GB, free: 31.18 MB / 0.4952 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001482/2.885, allocations: 0.7267 MB / 1.188 GB, free: 30.38 MB / 0.4952 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.227e-05/2.885, allocations: 7.938 kB / 1.188 GB, free: 30.37 MB / 0.4952 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001098/2.886, allocations: 11.98 kB / 1.188 GB, free: 30.36 MB / 0.4952 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.35e-05/2.886, allocations: 37.3 kB / 1.188 GB, free: 30.32 MB / 0.4952 GB 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.006479/2.892, allocations: 3.885 MB / 1.192 GB, free: 26.19 MB / 0.4952 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000547/2.893, allocations: 253.4 kB / 1.192 GB, free: 25.94 MB / 0.4952 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002715/2.893, allocations: 133.3 kB / 1.192 GB, free: 25.8 MB / 0.4952 GB Notification: Performance of preOpt evalFunc (simulation): time 9.795e-05/2.893, allocations: 24.98 kB / 1.192 GB, free: 25.78 MB / 0.4952 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.636e-05/2.893, allocations: 42.8 kB / 1.192 GB, free: 25.73 MB / 0.4952 GB Notification: Performance of pre-optimization done (n=28): time 3.327e-06/2.893, allocations: 0 / 1.192 GB, free: 25.73 MB / 0.4952 GB Notification: Performance of matching and sorting (n=33): time 0.0087/2.902, allocations: 1.438 MB / 1.194 GB, free: 24.21 MB / 0.4952 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.563e-05/2.902, allocations: 132.5 kB / 1.194 GB, free: 24.05 MB / 0.4952 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007614/2.903, allocations: 466 kB / 1.194 GB, free: 23.59 MB / 0.4952 GB Notification: Performance of collectPreVariables (initialization): time 0.0001059/2.903, allocations: 29.7 kB / 1.194 GB, free: 23.55 MB / 0.4952 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002523/2.903, allocations: 437.3 kB / 1.195 GB, free: 23.12 MB / 0.4952 GB Notification: Performance of collectInitialBindings (initialization): time 0.000129/2.903, allocations: 118.3 kB / 1.195 GB, free: 23.01 MB / 0.4952 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.941e-05/2.903, allocations: 4 kB / 1.195 GB, free: 23 MB / 0.4952 GB Notification: Performance of setup shared object (initialization): time 9.013e-05/2.903, allocations: 338.8 kB / 1.195 GB, free: 22.66 MB / 0.4952 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004162/2.904, allocations: 177.5 kB / 1.195 GB, free: 22.49 MB / 0.4952 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005614/2.904, allocations: 493.1 kB / 1.196 GB, free: 21.86 MB / 0.4952 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009818/2.905, allocations: 335.3 kB / 1.196 GB, free: 21.54 MB / 0.4952 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.506e-06/2.905, allocations: 4 kB / 1.196 GB, free: 21.53 MB / 0.4952 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002102/2.908, allocations: 0.7791 MB / 1.197 GB, free: 20.74 MB / 0.4952 GB Notification: Performance of prepare postOptimizeDAE: time 2.761e-05/2.908, allocations: 11.94 kB / 1.197 GB, free: 20.73 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.714e-05/2.908, allocations: 12 kB / 1.197 GB, free: 20.72 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001805/2.91, allocations: 276.8 kB / 1.197 GB, free: 20.45 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007804/2.91, allocations: 119.8 kB / 1.197 GB, free: 20.33 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001554/2.912, allocations: 0.9541 MB / 1.198 GB, free: 19.35 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00108/2.913, allocations: 31.97 kB / 1.198 GB, free: 19.32 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001296/2.913, allocations: 63.98 kB / 1.198 GB, free: 19.26 MB / 0.4952 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * 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: 0 * Non-linear torn systems: 1 {2 17} Notification: Performance of prepare postOptimizeDAE: time 0.0002341/2.913, allocations: 136.8 kB / 1.198 GB, free: 19.12 MB / 0.4952 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001463/2.914, allocations: 63.25 kB / 1.198 GB, free: 19.05 MB / 0.4952 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00176/2.915, allocations: 0.5081 MB / 1.199 GB, free: 18.53 MB / 0.4952 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.163e-06/2.915, allocations: 4 kB / 1.199 GB, free: 18.53 MB / 0.4952 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/2.915, allocations: 8 kB / 1.199 GB, free: 18.52 MB / 0.4952 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.795e-06/2.915, allocations: 3.984 kB / 1.199 GB, free: 18.52 MB / 0.4952 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002296/2.918, allocations: 0.9882 MB / 1.2 GB, free: 17.48 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.511e-06/2.918, allocations: 0 / 1.2 GB, free: 17.48 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001913/2.92, allocations: 199.8 kB / 1.2 GB, free: 17.28 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001453/2.92, allocations: 20.84 kB / 1.2 GB, free: 17.26 MB / 0.4952 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.722e-05/2.92, allocations: 15.98 kB / 1.2 GB, free: 17.24 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001949/2.922, allocations: 2.577 MB / 1.203 GB, free: 14.43 MB / 0.4952 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.501e-06/2.922, allocations: 3.953 kB / 1.203 GB, free: 14.43 MB / 0.4952 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001557/2.924, allocations: 0.6816 MB / 1.203 GB, free: 13.72 MB / 0.4952 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000423/2.924, allocations: 176.3 kB / 1.204 GB, free: 13.53 MB / 0.4952 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001362/2.924, allocations: 7.984 kB / 1.204 GB, free: 13.52 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007349/2.925, allocations: 15.98 kB / 1.204 GB, free: 13.5 MB / 0.4952 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001218/2.925, allocations: 31.95 kB / 1.204 GB, free: 13.47 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.705e-05/2.925, allocations: 44.05 kB / 1.204 GB, free: 13.43 MB / 0.4952 GB Notification: Performance of sorting global known variables: time 0.0005638/2.926, allocations: 338.9 kB / 1.204 GB, free: 13.1 MB / 0.4952 GB Notification: Performance of sort global known variables: time 4.61e-07/2.926, allocations: 0 / 1.204 GB, free: 13.1 MB / 0.4952 GB Notification: Performance of remove unused functions: time 0.001916/2.928, allocations: 343.8 kB / 1.204 GB, free: 12.77 MB / 0.4952 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (34): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 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.002577/2.93, allocations: 1.165 MB / 1.205 GB, free: 11.59 MB / 0.4952 GB Notification: Performance of simCode: created initialization part: time 0.001647/2.932, allocations: 495.6 kB / 1.206 GB, free: 11.11 MB / 0.4952 GB Notification: Performance of simCode: created event and clocks part: time 6.282e-06/2.932, allocations: 0 / 1.206 GB, free: 11.11 MB / 0.4952 GB Notification: Performance of simCode: created simulation system equations: time 0.001284/2.933, allocations: 354.3 kB / 1.206 GB, free: 10.75 MB / 0.4952 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002222/2.936, allocations: 251.2 kB / 1.206 GB, free: 10.51 MB / 0.4952 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002449/2.938, allocations: 0.9111 MB / 1.207 GB, free: 9.562 MB / 0.4952 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005029/2.939, allocations: 0.9373 MB / 1.208 GB, free: 8.598 MB / 0.4952 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007358/2.939, allocations: 103.4 kB / 1.208 GB, free: 8.496 MB / 0.4952 GB Notification: Performance of SimCode: time 1.924e-06/2.939, allocations: 0 / 1.208 GB, free: 8.496 MB / 0.4952 GB Notification: Performance of Templates: time 0.3963/3.336, allocations: 19.8 MB / 1.228 GB, free: 94.05 MB / 0.4952 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Nitrogen/Nitrogen.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches