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.002311/0.00231, allocations: 186.2 kB / 16.4 MB, free: 5.746 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.947/1.947, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.00112/0.001119, allocations: 87.67 kB / 270.9 MB, free: 8.375 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.5016/0.5016, allocations: 43.55 MB / 362.7 MB, free: 52.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004873/0.0004872, allocations: 20 kB / 431.4 MB, free: 6.152 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1259, allocations: 58.84 MB / 490.2 MB, free: 11.23 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.368/2.494, allocations: 0.6403 GB / 1.119 GB, free: 115.4 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000342/2.494, allocations: 95.14 kB / 1.119 GB, free: 115.3 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.163/3.657, allocations: 232.3 MB / 1.346 GB, free: 74.08 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.536e-06/3.657, allocations: 0 / 1.346 GB, free: 74.08 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.208e-05/3.657, allocations: 19.56 kB / 1.346 GB, free: 74.07 MB / 0.4948 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.00414/3.662, allocations: 1.235 MB / 1.347 GB, free: 73.14 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/3.662, allocations: 9.938 kB / 1.347 GB, free: 73.14 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001248/3.663, allocations: 139.4 kB / 1.347 GB, free: 73.08 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001492/3.664, allocations: 0.5331 MB / 1.348 GB, free: 72.65 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001416/3.665, allocations: 104 kB / 1.348 GB, free: 72.57 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001401/3.665, allocations: 55.66 kB / 1.348 GB, free: 72.55 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001837/3.667, allocations: 0.8134 MB / 1.349 GB, free: 71.95 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.203e-05/3.667, allocations: 3.938 kB / 1.349 GB, free: 71.95 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001168/3.667, allocations: 29.2 kB / 1.349 GB, free: 71.93 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.764e-05/3.667, allocations: 38.78 kB / 1.349 GB, free: 71.92 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001585/3.668, allocations: 0.6169 MB / 1.35 GB, free: 71.62 MB / 0.4948 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.0061/3.675, allocations: 3.945 MB / 1.353 GB, free: 68.09 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007956/3.675, allocations: 330.1 kB / 1.354 GB, free: 67.92 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001186/3.676, allocations: 26.97 kB / 1.354 GB, free: 67.91 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.117e-05/3.676, allocations: 44 kB / 1.354 GB, free: 67.86 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=34): time 4.198e-06/3.676, allocations: 0 / 1.354 GB, free: 67.86 MB / 0.4948 GB Notification: Performance of matching and sorting (n=39): time 0.009471/3.685, allocations: 1.644 MB / 1.355 GB, free: 66.84 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.924e-05/3.685, allocations: 131 kB / 1.355 GB, free: 66.68 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009989/3.686, allocations: 0.5373 MB / 1.356 GB, free: 66.36 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001535/3.686, allocations: 45.03 kB / 1.356 GB, free: 66.32 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002469/3.687, allocations: 391.1 kB / 1.356 GB, free: 65.96 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001589/3.687, allocations: 141.9 kB / 1.357 GB, free: 65.84 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.914e-05/3.687, allocations: 14.81 kB / 1.357 GB, free: 65.83 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.62e-05/3.687, allocations: 336 kB / 1.357 GB, free: 65.5 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005679/3.688, allocations: 199.2 kB / 1.357 GB, free: 65.41 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007259/3.688, allocations: 0.5071 MB / 1.358 GB, free: 64.89 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007549/3.689, allocations: 295 kB / 1.358 GB, free: 64.74 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.194e-06/3.689, allocations: 0 / 1.358 GB, free: 64.74 MB / 0.4948 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002191/3.691, allocations: 0.8423 MB / 1.359 GB, free: 64.31 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.926e-05/3.691, allocations: 10.72 kB / 1.359 GB, free: 64.31 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.753e-05/3.691, allocations: 7.812 kB / 1.359 GB, free: 64.31 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002462/3.694, allocations: 322.4 kB / 1.359 GB, free: 64.18 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008003/3.695, allocations: 125.9 kB / 1.359 GB, free: 64.14 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001673/3.696, allocations: 0.9294 MB / 1.36 GB, free: 63.42 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001153/3.698, allocations: 43.69 kB / 1.36 GB, free: 63.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001322/3.698, allocations: 69.02 kB / 1.36 GB, free: 63.39 MB / 0.4948 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.0005557/3.698, allocations: 245.4 kB / 1.36 GB, free: 63.19 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001802/3.699, allocations: 68.75 kB / 1.36 GB, free: 63.16 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002359/3.701, allocations: 0.683 MB / 1.361 GB, free: 62.74 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/3.701, allocations: 3.875 kB / 1.361 GB, free: 62.74 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.011e-05/3.701, allocations: 0 / 1.361 GB, free: 62.74 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/3.701, allocations: 3.938 kB / 1.361 GB, free: 62.74 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002974/3.704, allocations: 1.26 MB / 1.362 GB, free: 61.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.025e-05/3.704, allocations: 3.984 kB / 1.362 GB, free: 61.79 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002004/3.706, allocations: 200 kB / 1.363 GB, free: 61.75 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001538/3.706, allocations: 26.06 kB / 1.363 GB, free: 61.73 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.869e-05/3.706, allocations: 23.11 kB / 1.363 GB, free: 61.72 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002143/3.708, allocations: 2.687 MB / 1.365 GB, free: 58.93 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/3.709, allocations: 3.953 kB / 1.365 GB, free: 58.93 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001958/3.711, allocations: 0.8372 MB / 1.366 GB, free: 58.37 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005208/3.711, allocations: 185.1 kB / 1.366 GB, free: 58.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001709/3.711, allocations: 19.67 kB / 1.366 GB, free: 58.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008287/3.712, allocations: 26.8 kB / 1.366 GB, free: 58.17 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001656/3.712, allocations: 42.83 kB / 1.366 GB, free: 58.15 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001049/3.712, allocations: 45.52 kB / 1.366 GB, free: 58.14 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0008546/3.713, allocations: 432.3 kB / 1.367 GB, free: 57.89 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.81e-07/3.713, allocations: 0 / 1.367 GB, free: 57.89 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002245/3.716, allocations: 382.3 kB / 1.367 GB, free: 57.79 MB / 0.4948 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.002592/3.718, allocations: 1.05 MB / 1.368 GB, free: 57.1 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001908/3.72, allocations: 0.5311 MB / 1.369 GB, free: 56.57 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.364e-06/3.72, allocations: 5.562 kB / 1.369 GB, free: 56.57 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001483/3.722, allocations: 394.6 kB / 1.369 GB, free: 56.17 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00282/3.725, allocations: 338.4 kB / 1.369 GB, free: 55.85 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002883/3.727, allocations: 1.571 MB / 1.371 GB, free: 54.23 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004588/3.728, allocations: 0.9416 MB / 1.372 GB, free: 53.26 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006668/3.729, allocations: 111.4 kB / 1.372 GB, free: 53.15 MB / 0.4948 GB Notification: Performance of SimCode: time 1.042e-06/3.729, allocations: 0 / 1.372 GB, free: 53.15 MB / 0.4948 GB Notification: Performance of Templates: time 0.03811/3.767, allocations: 20.85 MB / 1.392 GB, free: 32.3 MB / 0.4948 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