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.0009843/0.0009843, allocations: 177.3 kB / 17.41 MB, free: 4.414 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.433/1.433, allocations: 205.4 MB / 223.6 MB, free: 9.039 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.0007946/0.0007946, allocations: 108.9 kB / 271.9 MB, free: 8.277 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3854/0.3854, allocations: 43.55 MB / 363.8 MB, free: 52.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003773/0.0003773, allocations: 12 kB / 432.6 MB, free: 5.898 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.1341, allocations: 58.85 MB / 491.5 MB, free: 10.96 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.31/1.444, allocations: 0.5086 GB / 0.9886 GB, free: 73.69 MB / 0.4949 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003292/1.444, allocations: 97.75 kB / 0.9887 GB, free: 73.6 MB / 0.4949 GB Notification: Performance of FrontEnd - DAE generated: time 0.7386/2.183, allocations: 218.1 MB / 1.202 GB, free: 52.24 MB / 0.4949 GB Notification: Performance of FrontEnd: time 3.256e-06/2.183, allocations: 4 kB / 1.202 GB, free: 52.23 MB / 0.4949 GB Notification: Performance of Transformations before backend: time 6.369e-05/2.183, allocations: 20.34 kB / 1.202 GB, free: 52.21 MB / 0.4949 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.003201/2.186, allocations: 1.17 MB / 1.203 GB, free: 51 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 5.299e-05/2.186, allocations: 12.03 kB / 1.203 GB, free: 50.98 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007998/2.187, allocations: 132 kB / 1.203 GB, free: 50.86 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001002/2.188, allocations: 0.557 MB / 1.204 GB, free: 50.26 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.365e-05/2.188, allocations: 101.5 kB / 1.204 GB, free: 50.15 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.438e-05/2.188, allocations: 55.89 kB / 1.204 GB, free: 50.09 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001184/2.19, allocations: 0.8161 MB / 1.204 GB, free: 49.2 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.193e-05/2.19, allocations: 4 kB / 1.204 GB, free: 49.2 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.555e-05/2.19, allocations: 28 kB / 1.205 GB, free: 49.17 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.877e-05/2.19, allocations: 40.92 kB / 1.205 GB, free: 49.12 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008987/2.191, allocations: 0.6166 MB / 1.205 GB, free: 48.51 MB / 0.4949 GB 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.003759/2.194, allocations: 3.96 MB / 1.209 GB, free: 44.29 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004586/2.195, allocations: 340.9 kB / 1.209 GB, free: 43.95 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002272/2.195, allocations: 161.3 kB / 1.209 GB, free: 43.79 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004104/2.195, allocations: 361.5 kB / 1.21 GB, free: 43.39 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.993e-05/2.196, allocations: 42.78 kB / 1.21 GB, free: 43.34 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=34): time 3.065e-06/2.196, allocations: 0 / 1.21 GB, free: 43.34 MB / 0.4949 GB Notification: Performance of matching and sorting (n=39): time 0.005098/2.201, allocations: 1.657 MB / 1.211 GB, free: 41.6 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.972e-05/2.201, allocations: 132.5 kB / 1.212 GB, free: 41.44 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006896/2.201, allocations: 0.6094 MB / 1.212 GB, free: 40.82 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 4.979e-05/2.201, allocations: 37.7 kB / 1.212 GB, free: 40.78 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001746/2.202, allocations: 362.8 kB / 1.213 GB, free: 40.42 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 9.076e-05/2.202, allocations: 138 kB / 1.213 GB, free: 40.29 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.779e-05/2.202, allocations: 20 kB / 1.213 GB, free: 40.27 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0001213/2.202, allocations: 370.8 kB / 1.213 GB, free: 39.89 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002939/2.202, allocations: 197.9 kB / 1.213 GB, free: 39.7 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004299/2.203, allocations: 0.5092 MB / 1.214 GB, free: 39.05 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007108/2.203, allocations: 0.7367 MB / 1.215 GB, free: 38.17 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/2.203, allocations: 4 kB / 1.215 GB, free: 38.17 MB / 0.4949 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00123/2.205, allocations: 0.8759 MB / 1.215 GB, free: 37.28 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 2.341e-05/2.205, allocations: 8 kB / 1.215 GB, free: 37.27 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/2.205, allocations: 8 kB / 1.215 GB, free: 37.27 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001376/2.206, allocations: 325 kB / 1.216 GB, free: 36.95 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003525/2.206, allocations: 127.7 kB / 1.216 GB, free: 36.82 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008948/2.207, allocations: 0.9215 MB / 1.217 GB, free: 35.88 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006137/2.208, allocations: 51.88 kB / 1.217 GB, free: 35.82 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.679e-05/2.208, allocations: 64 kB / 1.217 GB, free: 35.76 MB / 0.4949 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 () * Number of clocked 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.000387/2.208, allocations: 249.5 kB / 1.217 GB, free: 35.51 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001043/2.209, allocations: 67.25 kB / 1.217 GB, free: 35.44 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001335/2.21, allocations: 0.6743 MB / 1.218 GB, free: 34.75 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-06/2.21, allocations: 7.938 kB / 1.218 GB, free: 34.74 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.78e-06/2.21, allocations: 8 kB / 1.218 GB, free: 34.73 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/2.21, allocations: 3.984 kB / 1.218 GB, free: 34.73 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001931/2.212, allocations: 1.59 MB / 1.219 GB, free: 32.99 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.212e-06/2.212, allocations: 7.984 kB / 1.219 GB, free: 32.98 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009523/2.213, allocations: 203.8 kB / 1.22 GB, free: 32.78 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.931e-05/2.213, allocations: 24.84 kB / 1.22 GB, free: 32.75 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.776e-05/2.213, allocations: 15.98 kB / 1.22 GB, free: 32.74 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001379/2.214, allocations: 2.691 MB / 1.222 GB, free: 29.78 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/2.214, allocations: 0 / 1.222 GB, free: 29.78 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001028/2.215, allocations: 0.7917 MB / 1.223 GB, free: 28.95 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002965/2.216, allocations: 188.3 kB / 1.223 GB, free: 28.75 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.321e-05/2.216, allocations: 8 kB / 1.223 GB, free: 28.74 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004126/2.216, allocations: 43.88 kB / 1.223 GB, free: 28.7 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.44e-05/2.216, allocations: 35.83 kB / 1.223 GB, free: 28.66 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.957e-05/2.216, allocations: 43.97 kB / 1.223 GB, free: 28.62 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.0005044/2.217, allocations: 431 kB / 1.224 GB, free: 28.21 MB / 0.4949 GB Notification: Performance of sort global known variables: time 1.61e-07/2.217, allocations: 0 / 1.224 GB, free: 28.21 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.00151/2.218, allocations: 383.8 kB / 1.224 GB, free: 27.83 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (39): * Single equations (assignments): 37 * 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.001778/2.22, allocations: 1.024 MB / 1.225 GB, free: 26.8 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.001166/2.221, allocations: 0.5365 MB / 1.226 GB, free: 26.27 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 4.97e-06/2.221, allocations: 0 / 1.226 GB, free: 26.27 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.0008342/2.222, allocations: 406.6 kB / 1.226 GB, free: 25.86 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001775/2.224, allocations: 335.6 kB / 1.226 GB, free: 25.53 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002089/2.226, allocations: 1.583 MB / 1.228 GB, free: 23.91 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003313/2.227, allocations: 0.9338 MB / 1.229 GB, free: 22.95 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003783/2.227, allocations: 115.4 kB / 1.229 GB, free: 22.84 MB / 0.4949 GB Notification: Performance of SimCode: time 1.012e-06/2.227, allocations: 3.938 kB / 1.229 GB, free: 22.83 MB / 0.4949 GB Notification: Performance of Templates: time 0.02608/2.253, allocations: 20.54 MB / 1.249 GB, free: 2.297 MB / 0.4949 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