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.002305/0.002305, allocations: 181.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.325/2.325, 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.00158/0.001579, allocations: 78.7 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2805/0.2805, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.074e-05/3.085e-05, allocations: 4 kB / 425.3 MB, free: 23.36 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.1109, allocations: 58.86 MB / 484.1 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.789/1.9, allocations: 0.5084 GB / 0.9812 GB, free: 123.3 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003307/1.9, allocations: 94.41 kB / 0.9812 GB, free: 123.2 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.11/3.011, allocations: 218.9 MB / 1.195 GB, free: 117.4 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.754e-06/3.011, allocations: 0 / 1.195 GB, free: 117.4 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.983e-05/3.011, allocations: 18.75 kB / 1.195 GB, free: 117.4 MB / 0.5105 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.003776/3.014, allocations: 1.091 MB / 1.196 GB, free: 116.6 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.154e-05/3.015, allocations: 13.91 kB / 1.196 GB, free: 116.6 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001337/3.016, allocations: 133.2 kB / 1.196 GB, free: 116.5 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001707/3.018, allocations: 0.5343 MB / 1.197 GB, free: 116.1 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001249/3.018, allocations: 110.2 kB / 1.197 GB, free: 116 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001413/3.018, allocations: 48.47 kB / 1.197 GB, free: 116 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001756/3.02, allocations: 0.8005 MB / 1.198 GB, free: 115.4 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.741e-05/3.02, allocations: 3.938 kB / 1.198 GB, free: 115.4 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001161/3.02, allocations: 25.16 kB / 1.198 GB, free: 115.4 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-05/3.02, allocations: 45.08 kB / 1.198 GB, free: 115.4 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001505/3.021, allocations: 0.5967 MB / 1.198 GB, free: 115.1 MB / 0.5105 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.006327/3.028, allocations: 3.943 MB / 1.202 GB, free: 111.6 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007595/3.029, allocations: 330.8 kB / 1.203 GB, free: 111.5 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003786/3.029, allocations: 163.2 kB / 1.203 GB, free: 111.4 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001243/3.029, allocations: 30.23 kB / 1.203 GB, free: 111.4 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.563e-05/3.029, allocations: 38.31 kB / 1.203 GB, free: 111.3 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=34): time 2.805e-06/3.029, allocations: 0 / 1.203 GB, free: 111.3 MB / 0.5105 GB Notification: Performance of matching and sorting (n=39): time 0.00866/3.038, allocations: 1.51 MB / 1.204 GB, free: 110.4 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.964e-05/3.038, allocations: 130.9 kB / 1.204 GB, free: 110.2 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009445/3.039, allocations: 0.543 MB / 1.205 GB, free: 109.9 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001175/3.039, allocations: 33.17 kB / 1.205 GB, free: 109.9 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.000241/3.039, allocations: 394.9 kB / 1.205 GB, free: 109.5 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001542/3.04, allocations: 140.3 kB / 1.205 GB, free: 109.4 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.458e-05/3.04, allocations: 15.56 kB / 1.205 GB, free: 109.4 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.533e-05/3.04, allocations: 342.5 kB / 1.206 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000501/3.04, allocations: 190 kB / 1.206 GB, free: 109 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006707/3.041, allocations: 0.5004 MB / 1.206 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006537/3.042, allocations: 291.8 kB / 1.207 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.686e-06/3.042, allocations: 4 kB / 1.207 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002/3.044, allocations: 0.8198 MB / 1.208 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.75e-05/3.044, allocations: 10.91 kB / 1.208 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.616e-05/3.044, allocations: 12 kB / 1.208 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002159/3.046, allocations: 304.5 kB / 1.208 GB, free: 107 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007669/3.047, allocations: 127.8 kB / 1.208 GB, free: 106.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001447/3.048, allocations: 0.9205 MB / 1.209 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001129/3.049, allocations: 45.36 kB / 1.209 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001346/3.049, allocations: 67.98 kB / 1.209 GB, free: 105.8 MB / 0.5105 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.0002495/3.05, allocations: 160.7 kB / 1.209 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001607/3.05, allocations: 67.28 kB / 1.209 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00221/3.052, allocations: 0.664 MB / 1.21 GB, free: 104.9 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.765e-06/3.052, allocations: 4 kB / 1.21 GB, free: 104.9 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.217e-06/3.052, allocations: 4 kB / 1.21 GB, free: 104.9 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.456e-06/3.052, allocations: 3.984 kB / 1.21 GB, free: 104.9 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002666/3.055, allocations: 1.246 MB / 1.211 GB, free: 103.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/3.055, allocations: 0 / 1.211 GB, free: 103.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001963/3.057, allocations: 207.8 kB / 1.211 GB, free: 103.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001369/3.057, allocations: 36.86 kB / 1.211 GB, free: 103.3 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.191e-05/3.057, allocations: 15.98 kB / 1.211 GB, free: 103.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002088/3.059, allocations: 2.688 MB / 1.214 GB, free: 100.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.197e-06/3.059, allocations: 3.984 kB / 1.214 GB, free: 100.3 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001788/3.061, allocations: 0.8262 MB / 1.215 GB, free: 99.45 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004409/3.062, allocations: 188.1 kB / 1.215 GB, free: 99.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001513/3.062, allocations: 11.95 kB / 1.215 GB, free: 99.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008075/3.063, allocations: 32.03 kB / 1.215 GB, free: 99.2 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001235/3.063, allocations: 31.97 kB / 1.215 GB, free: 99.17 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.76e-05/3.063, allocations: 47.97 kB / 1.215 GB, free: 99.12 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0007301/3.063, allocations: 419.2 kB / 1.215 GB, free: 98.72 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.61e-07/3.064, allocations: 0 / 1.215 GB, free: 98.72 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001854/3.065, allocations: 383.8 kB / 1.216 GB, free: 98.34 MB / 0.5105 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 () * 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.002326/3.068, allocations: 1.024 MB / 1.217 GB, free: 97.45 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001737/3.069, allocations: 0.5301 MB / 1.217 GB, free: 96.92 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/3.07, allocations: 4 kB / 1.217 GB, free: 96.92 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001441/3.071, allocations: 383.8 kB / 1.218 GB, free: 96.53 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00281/3.074, allocations: 339.8 kB / 1.218 GB, free: 96.2 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002391/3.076, allocations: 0.9721 MB / 1.219 GB, free: 95.18 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004658/3.077, allocations: 0.9492 MB / 1.22 GB, free: 94.2 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006945/3.077, allocations: 111.4 kB / 1.22 GB, free: 94.09 MB / 0.5105 GB Notification: Performance of SimCode: time 1.603e-06/3.077, allocations: 3.938 kB / 1.22 GB, free: 94.09 MB / 0.5105 GB Notification: Performance of Templates: time 0.03894/3.116, allocations: 20.7 MB / 1.24 GB, free: 73.38 MB / 0.5105 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