Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.001464/0.001464, allocations: 177.3 kB / 17.41 MB, free: 4.289 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.407/1.407, allocations: 205.4 MB / 223.6 MB, free: 9.016 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.0007855/0.0007855, allocations: 90.41 kB / 271.9 MB, free: 8.258 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.3686/0.3686, allocations: 43.56 MB / 363.8 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003774/0.0003775, allocations: 15.98 kB / 432.6 MB, free: 5.641 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1408/0.1412, allocations: 58.84 MB / 491.5 MB, free: 10.71 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.7/1.841, allocations: 0.6406 GB / 1.121 GB, free: 163.9 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003462/1.841, allocations: 97.27 kB / 1.121 GB, free: 163.9 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.7579/2.599, allocations: 230.7 MB / 1.346 GB, free: 96.05 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.383e-06/2.599, allocations: 0 / 1.346 GB, free: 96.05 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.32e-05/2.599, allocations: 19.69 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.003914/2.603, allocations: 1.231 MB / 1.347 GB, free: 95.39 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/2.603, allocations: 12.66 kB / 1.347 GB, free: 95.39 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001091/2.604, allocations: 138.3 kB / 1.347 GB, free: 95.36 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001371/2.606, allocations: 0.5595 MB / 1.348 GB, free: 95.11 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001068/2.606, allocations: 104 kB / 1.348 GB, free: 95.05 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001696/2.606, allocations: 50.31 kB / 1.348 GB, free: 95.05 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001394/2.607, allocations: 0.8234 MB / 1.349 GB, free: 94.81 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.91e-05/2.607, allocations: 7.312 kB / 1.349 GB, free: 94.8 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001035/2.608, allocations: 28.42 kB / 1.349 GB, free: 94.8 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.443e-05/2.608, allocations: 38.19 kB / 1.349 GB, free: 94.8 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001052/2.609, allocations: 0.6144 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.004359/2.613, allocations: 3.948 MB / 1.353 GB, free: 92.22 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005373/2.614, allocations: 332 kB / 1.354 GB, free: 92.2 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002982/2.614, allocations: 170.9 kB / 1.354 GB, free: 92.19 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004563/2.614, allocations: 365.8 kB / 1.354 GB, free: 91.9 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.363e-05/2.614, allocations: 37.38 kB / 1.354 GB, free: 91.86 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=34): time 3.115e-06/2.614, allocations: 3.062 kB / 1.354 GB, free: 91.86 MB / 0.5105 GB Notification: Performance of matching and sorting (n=39): time 0.005737/2.62, allocations: 1.648 MB / 1.356 GB, free: 91.36 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.052e-05/2.62, allocations: 140.8 kB / 1.356 GB, free: 91.2 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001094/2.621, allocations: 0.6079 MB / 1.357 GB, free: 91.06 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 7.216e-05/2.621, allocations: 36.02 kB / 1.357 GB, free: 91.03 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002649/2.622, allocations: 366 kB / 1.357 GB, free: 90.83 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.000131/2.622, allocations: 139.6 kB / 1.357 GB, free: 90.75 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.981e-05/2.622, allocations: 13.09 kB / 1.357 GB, free: 90.75 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000126/2.622, allocations: 380.3 kB / 1.357 GB, free: 90.43 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004151/2.622, allocations: 196.4 kB / 1.358 GB, free: 90.43 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005731/2.623, allocations: 0.5068 MB / 1.358 GB, free: 90.05 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001023/2.624, allocations: 0.7307 MB / 1.359 GB, free: 89.7 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.2e-05/2.624, allocations: 3.125 kB / 1.359 GB, free: 89.7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001802/2.626, allocations: 0.881 MB / 1.36 GB, free: 89.61 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.288e-05/2.626, allocations: 13.33 kB / 1.36 GB, free: 89.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.243e-05/2.626, allocations: 9.875 kB / 1.36 GB, free: 89.61 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001446/2.627, allocations: 317.5 kB / 1.36 GB, free: 89.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004336/2.628, allocations: 122.2 kB / 1.36 GB, free: 89.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00113/2.629, allocations: 0.922 MB / 1.361 GB, free: 89.08 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007408/2.63, allocations: 47.27 kB / 1.361 GB, free: 89.07 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001099/2.63, allocations: 71.55 kB / 1.361 GB, free: 89.07 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.0004782/2.63, allocations: 248.2 kB / 1.361 GB, free: 88.95 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001889/2.631, allocations: 66.03 kB / 1.361 GB, free: 88.92 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001708/2.632, allocations: 0.6701 MB / 1.362 GB, free: 88.84 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.364e-05/2.632, allocations: 4.156 kB / 1.362 GB, free: 88.84 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.23e-05/2.632, allocations: 7.078 kB / 1.362 GB, free: 88.84 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/2.632, allocations: 4.375 kB / 1.362 GB, free: 88.84 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003258/2.636, allocations: 1.605 MB / 1.364 GB, free: 88.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.773e-06/2.636, allocations: 2.25 kB / 1.364 GB, free: 88.11 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001122/2.637, allocations: 205.3 kB / 1.364 GB, free: 88.11 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001344/2.637, allocations: 23 kB / 1.364 GB, free: 88.1 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.31e-05/2.637, allocations: 25.8 kB / 1.364 GB, free: 88.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002107/2.639, allocations: 2.681 MB / 1.367 GB, free: 85.53 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.484e-06/2.639, allocations: 2.781 kB / 1.367 GB, free: 85.53 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001587/2.641, allocations: 0.7971 MB / 1.367 GB, free: 85.3 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000511/2.641, allocations: 185.5 kB / 1.367 GB, free: 85.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000173/2.641, allocations: 18.16 kB / 1.367 GB, free: 85.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005329/2.642, allocations: 31.33 kB / 1.368 GB, free: 85.18 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001089/2.642, allocations: 38.78 kB / 1.368 GB, free: 85.18 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.586e-05/2.642, allocations: 44.19 kB / 1.368 GB, free: 85.18 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0006286/2.643, allocations: 429.4 kB / 1.368 GB, free: 85.08 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.8e-07/2.643, allocations: 0 / 1.368 GB, free: 85.08 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001845/2.645, allocations: 384.5 kB / 1.368 GB, free: 85.04 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.002455/2.647, allocations: 1.04 MB / 1.369 GB, free: 84.81 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001435/2.649, allocations: 0.5309 MB / 1.37 GB, free: 84.8 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.763e-06/2.649, allocations: 1.469 kB / 1.37 GB, free: 84.8 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0009453/2.65, allocations: 406.8 kB / 1.37 GB, free: 84.69 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001823/2.651, allocations: 347.4 kB / 1.371 GB, free: 84.68 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002838/2.654, allocations: 1.583 MB / 1.372 GB, free: 84 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006812/2.655, allocations: 0.9277 MB / 1.373 GB, free: 83.29 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004882/2.655, allocations: 120 kB / 1.373 GB, free: 83.29 MB / 0.5105 GB Notification: Performance of SimCode: time 1.152e-06/2.655, allocations: 0 / 1.373 GB, free: 83.29 MB / 0.5105 GB Notification: Performance of Templates: time 0.03001/2.685, allocations: 20.63 MB / 1.393 GB, free: 81.95 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches