Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.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.Air.DryAirNasa,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.Air.DryAirNasa") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa,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.Air.DryAirNasa") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009639/0.0009637, allocations: 178.1 kB / 17.41 MB, free: 4.41 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.372/1.372, allocations: 205.4 MB / 223.6 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.000766/0.000766, allocations: 85.42 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.339/0.339, allocations: 43.56 MB / 363.8 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004207/0.0004208, allocations: 8 kB / 432.6 MB, free: 5.648 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/0.1203, allocations: 58.85 MB / 491.4 MB, free: 10.71 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.611/1.732, allocations: 0.6406 GB / 1.121 GB, free: 164.1 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002594/1.732, allocations: 97.17 kB / 1.121 GB, free: 164.1 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.7472/2.479, allocations: 230.7 MB / 1.346 GB, free: 96.07 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.385e-06/2.479, allocations: 0 / 1.346 GB, free: 96.07 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.356e-05/2.479, allocations: 20.53 kB / 1.346 GB, free: 96.06 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.003808/2.483, allocations: 1.231 MB / 1.347 GB, free: 95.41 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/2.483, allocations: 11.03 kB / 1.347 GB, free: 95.41 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001076/2.484, allocations: 136.9 kB / 1.347 GB, free: 95.37 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001358/2.486, allocations: 0.5579 MB / 1.348 GB, free: 95.13 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001197/2.486, allocations: 105.5 kB / 1.348 GB, free: 95.07 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001772/2.486, allocations: 56.67 kB / 1.348 GB, free: 95.06 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001473/2.488, allocations: 0.8178 MB / 1.349 GB, free: 94.82 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.874e-05/2.488, allocations: 3.938 kB / 1.349 GB, free: 94.82 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001156/2.488, allocations: 23.81 kB / 1.349 GB, free: 94.82 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.697e-05/2.488, allocations: 39.06 kB / 1.349 GB, free: 94.82 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00108/2.489, allocations: 0.6193 MB / 1.349 GB, free: 94.82 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.004509/2.493, allocations: 3.947 MB / 1.353 GB, free: 92.24 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005958/2.494, allocations: 340.1 kB / 1.354 GB, free: 92.21 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000302/2.494, allocations: 167.9 kB / 1.354 GB, free: 92.2 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004802/2.495, allocations: 367.9 kB / 1.354 GB, free: 91.91 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.118e-05/2.495, allocations: 40.41 kB / 1.354 GB, free: 91.88 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=34): time 4.298e-06/2.495, allocations: 0 / 1.354 GB, free: 91.88 MB / 0.5105 GB Notification: Performance of matching and sorting (n=39): time 0.006101/2.501, allocations: 1.654 MB / 1.356 GB, free: 91.37 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.527e-05/2.501, allocations: 136.8 kB / 1.356 GB, free: 91.21 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001227/2.502, allocations: 0.6094 MB / 1.357 GB, free: 91.07 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 8.556e-05/2.502, allocations: 34.58 kB / 1.357 GB, free: 91.04 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002817/2.503, allocations: 362.1 kB / 1.357 GB, free: 90.84 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.000163/2.503, allocations: 151.8 kB / 1.357 GB, free: 90.76 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.637e-05/2.503, allocations: 10 kB / 1.357 GB, free: 90.76 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001394/2.503, allocations: 375 kB / 1.357 GB, free: 90.45 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004416/2.504, allocations: 199.4 kB / 1.358 GB, free: 90.45 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005877/2.504, allocations: 0.5102 MB / 1.358 GB, free: 90.06 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001026/2.505, allocations: 0.7304 MB / 1.359 GB, free: 89.71 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.608e-05/2.505, allocations: 3.438 kB / 1.359 GB, free: 89.71 MB / 0.5105 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001856/2.507, allocations: 0.8777 MB / 1.36 GB, free: 89.62 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.911e-05/2.507, allocations: 11.56 kB / 1.36 GB, free: 89.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.091e-05/2.507, allocations: 9.438 kB / 1.36 GB, free: 89.62 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001612/2.509, allocations: 310.8 kB / 1.36 GB, free: 89.61 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004413/2.509, allocations: 123.8 kB / 1.36 GB, free: 89.61 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001198/2.51, allocations: 0.9221 MB / 1.361 GB, free: 89.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007951/2.511, allocations: 49.62 kB / 1.361 GB, free: 89.09 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001175/2.511, allocations: 71.73 kB / 1.361 GB, free: 89.08 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.0005138/2.512, allocations: 248.5 kB / 1.361 GB, free: 88.96 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002101/2.512, allocations: 65.81 kB / 1.361 GB, free: 88.93 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001695/2.514, allocations: 0.6717 MB / 1.362 GB, free: 88.85 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.021e-05/2.514, allocations: 5.531 kB / 1.362 GB, free: 88.85 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.618e-06/2.514, allocations: 3.938 kB / 1.362 GB, free: 88.85 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.239e-06/2.514, allocations: 1.062 kB / 1.362 GB, free: 88.85 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002814/2.517, allocations: 1.604 MB / 1.364 GB, free: 88.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.754e-06/2.517, allocations: 4.469 kB / 1.364 GB, free: 88.12 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001073/2.518, allocations: 209.3 kB / 1.364 GB, free: 88.12 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001119/2.518, allocations: 22.38 kB / 1.364 GB, free: 88.11 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.632e-05/2.518, allocations: 21.23 kB / 1.364 GB, free: 88.11 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001757/2.52, allocations: 2.685 MB / 1.367 GB, free: 85.54 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/2.52, allocations: 1.375 kB / 1.367 GB, free: 85.54 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001361/2.521, allocations: 0.7977 MB / 1.367 GB, free: 85.32 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004396/2.522, allocations: 189.9 kB / 1.367 GB, free: 85.19 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001855/2.522, allocations: 13.69 kB / 1.368 GB, free: 85.19 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005332/2.522, allocations: 29.52 kB / 1.368 GB, free: 85.19 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001113/2.522, allocations: 39.17 kB / 1.368 GB, free: 85.19 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.852e-05/2.523, allocations: 42.67 kB / 1.368 GB, free: 85.19 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0006368/2.523, allocations: 428 kB / 1.368 GB, free: 85.09 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.1e-07/2.523, allocations: 0 / 1.368 GB, free: 85.09 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001975/2.525, allocations: 382 kB / 1.368 GB, free: 85.05 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.002436/2.528, allocations: 1.046 MB / 1.369 GB, free: 84.82 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001391/2.529, allocations: 0.534 MB / 1.37 GB, free: 84.82 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/2.529, allocations: 0 / 1.37 GB, free: 84.82 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0009343/2.53, allocations: 409.1 kB / 1.37 GB, free: 84.7 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002082/2.532, allocations: 336.4 kB / 1.371 GB, free: 84.69 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002598/2.535, allocations: 1.594 MB / 1.372 GB, free: 84 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004595/2.535, allocations: 0.9293 MB / 1.373 GB, free: 83.3 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004334/2.536, allocations: 112.4 kB / 1.373 GB, free: 83.29 MB / 0.5105 GB Notification: Performance of SimCode: time 1.222e-06/2.536, allocations: 0 / 1.373 GB, free: 83.29 MB / 0.5105 GB Notification: Performance of Templates: time 0.03234/2.568, 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.Air.DryAirNasa.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/DryAirNasa/DryAirNasa.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches