Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.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.Air,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001051/0.001052, allocations: 176.2 kB / 16.77 MB, free: 5.043 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.578/1.578, allocations: 205.4 MB / 222.9 MB, free: 9.02 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.0009063/0.0009068, allocations: 97.34 kB / 271.3 MB, free: 8.25 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.4051/0.4051, allocations: 43.56 MB / 363.1 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004146/0.0004146, allocations: 16 kB / 432.6 MB, free: 4.957 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.1347, allocations: 58.84 MB / 491.5 MB, free: 10.03 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.808/1.943, allocations: 0.6406 GB / 1.121 GB, free: 163.8 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003044/1.943, allocations: 98.34 kB / 1.121 GB, free: 163.8 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.7696/2.713, allocations: 230.7 MB / 1.346 GB, free: 96.05 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.485e-06/2.713, allocations: 0 / 1.346 GB, free: 96.05 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.08e-05/2.713, allocations: 21.41 kB / 1.346 GB, free: 96.05 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.003931/2.717, allocations: 1.23 MB / 1.347 GB, free: 95.39 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/2.717, allocations: 14.45 kB / 1.347 GB, free: 95.39 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001128/2.718, allocations: 141.7 kB / 1.347 GB, free: 95.36 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001337/2.719, allocations: 0.5579 MB / 1.348 GB, free: 95.11 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001116/2.719, allocations: 102.4 kB / 1.348 GB, free: 95.05 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001534/2.72, allocations: 53.97 kB / 1.348 GB, free: 95.04 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001466/2.721, allocations: 0.8113 MB / 1.349 GB, free: 94.8 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.374e-05/2.721, allocations: 9.984 kB / 1.349 GB, free: 94.8 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001098/2.721, allocations: 22.56 kB / 1.349 GB, free: 94.8 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.34e-05/2.721, allocations: 40.64 kB / 1.349 GB, free: 94.8 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001161/2.722, allocations: 0.6181 MB / 1.349 GB, free: 94.8 MB / 0.5105 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.004611/2.727, allocations: 3.944 MB / 1.353 GB, free: 92.21 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005449/2.728, allocations: 338.3 kB / 1.354 GB, free: 92.18 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002805/2.728, allocations: 171.7 kB / 1.354 GB, free: 92.17 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004697/2.728, allocations: 372.2 kB / 1.354 GB, free: 91.88 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.598e-05/2.728, allocations: 36.5 kB / 1.354 GB, free: 91.84 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=34): time 3.627e-06/2.728, allocations: 0 / 1.354 GB, free: 91.84 MB / 0.5105 GB Notification: Performance of matching and sorting (n=39): time 0.005492/2.734, allocations: 1.653 MB / 1.356 GB, free: 91.34 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.985e-05/2.734, allocations: 141.2 kB / 1.356 GB, free: 91.18 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009239/2.735, allocations: 0.6102 MB / 1.357 GB, free: 91.04 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 7.132e-05/2.735, allocations: 40.33 kB / 1.357 GB, free: 91.01 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002564/2.735, allocations: 360.7 kB / 1.357 GB, free: 90.82 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001188/2.735, allocations: 143.7 kB / 1.357 GB, free: 90.73 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.563e-05/2.736, allocations: 14.22 kB / 1.357 GB, free: 90.73 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001143/2.736, allocations: 372.8 kB / 1.357 GB, free: 90.42 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003786/2.736, allocations: 199.6 kB / 1.358 GB, free: 90.42 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005706/2.737, allocations: 0.5057 MB / 1.358 GB, free: 90.04 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001021/2.738, allocations: 0.7324 MB / 1.359 GB, free: 89.68 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.058e-05/2.738, allocations: 3.406 kB / 1.359 GB, free: 89.68 MB / 0.5105 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00171/2.739, allocations: 0.8771 MB / 1.36 GB, free: 89.59 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.907e-05/2.739, allocations: 9.125 kB / 1.36 GB, free: 89.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.132e-05/2.739, allocations: 12.72 kB / 1.36 GB, free: 89.59 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001393/2.741, allocations: 307.2 kB / 1.36 GB, free: 89.58 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004107/2.741, allocations: 131.6 kB / 1.36 GB, free: 89.58 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001057/2.742, allocations: 0.9168 MB / 1.361 GB, free: 89.06 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006785/2.743, allocations: 53.14 kB / 1.361 GB, free: 89.06 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000128/2.743, allocations: 68.78 kB / 1.361 GB, free: 89.05 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 () * 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.000415/2.744, allocations: 247.2 kB / 1.361 GB, free: 88.93 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001592/2.744, allocations: 65.16 kB / 1.361 GB, free: 88.9 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001435/2.745, allocations: 0.6732 MB / 1.362 GB, free: 88.82 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.945e-06/2.745, allocations: 6.469 kB / 1.362 GB, free: 88.82 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/2.745, allocations: 3.938 kB / 1.362 GB, free: 88.82 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.343e-06/2.745, allocations: 5.219 kB / 1.362 GB, free: 88.82 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002354/2.748, allocations: 1.597 MB / 1.364 GB, free: 88.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.82e-06/2.748, allocations: 1.031 kB / 1.364 GB, free: 88.09 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001006/2.749, allocations: 213.1 kB / 1.364 GB, free: 88.09 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.75e-05/2.749, allocations: 22.97 kB / 1.364 GB, free: 88.08 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.721e-05/2.749, allocations: 21.61 kB / 1.364 GB, free: 88.08 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001716/2.751, allocations: 2.685 MB / 1.367 GB, free: 85.51 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/2.751, allocations: 1.25 kB / 1.367 GB, free: 85.51 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001462/2.752, allocations: 0.7921 MB / 1.367 GB, free: 85.29 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004583/2.752, allocations: 192.4 kB / 1.368 GB, free: 85.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001548/2.753, allocations: 12.28 kB / 1.368 GB, free: 85.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004876/2.753, allocations: 35.58 kB / 1.368 GB, free: 85.15 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001022/2.753, allocations: 39.73 kB / 1.368 GB, free: 85.15 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.784e-05/2.753, allocations: 46.88 kB / 1.368 GB, free: 85.15 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0005466/2.754, allocations: 424.8 kB / 1.368 GB, free: 85.06 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.5e-07/2.754, allocations: 2.844 kB / 1.368 GB, free: 85.06 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0017/2.756, allocations: 383.6 kB / 1.368 GB, free: 85.02 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 () * 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.002375/2.758, allocations: 1.034 MB / 1.369 GB, free: 84.79 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001404/2.759, allocations: 0.5358 MB / 1.37 GB, free: 84.78 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.598e-06/2.759, allocations: 6.219 kB / 1.37 GB, free: 84.78 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001013/2.76, allocations: 415.5 kB / 1.37 GB, free: 84.67 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00199/2.762, allocations: 336.7 kB / 1.371 GB, free: 84.66 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002348/2.765, allocations: 1.549 MB / 1.372 GB, free: 84.01 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005207/2.765, allocations: 0.9336 MB / 1.373 GB, free: 83.31 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001228/2.767, allocations: 256.1 kB / 1.373 GB, free: 83.3 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003278/2.767, allocations: 100.2 kB / 1.373 GB, free: 83.29 MB / 0.5105 GB Notification: Performance of SimCode: time 1.112e-06/2.767, allocations: 0 / 1.373 GB, free: 83.29 MB / 0.5105 GB Notification: Performance of Templates: time 0.04208/2.809, allocations: 27.71 MB / 1.4 GB, free: 81.6 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Air/Air.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches