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.001479/0.001479, allocations: 186.3 kB / 16.41 MB, free: 5.727 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.968/1.968, 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.00115/0.00115, allocations: 97.08 kB / 270.9 MB, free: 8.371 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.5114/0.5114, allocations: 43.55 MB / 362.7 MB, free: 52.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004808/0.000481, allocations: 12 kB / 431.4 MB, free: 6.156 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.1234, allocations: 58.84 MB / 490.2 MB, free: 11.23 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.19/2.314, allocations: 0.6404 GB / 1.119 GB, free: 115.4 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003705/2.314, allocations: 96 kB / 1.119 GB, free: 115.3 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.119/3.433, allocations: 232.3 MB / 1.346 GB, free: 74.12 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.934e-06/3.433, allocations: 192 / 1.346 GB, free: 74.12 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.396e-05/3.433, allocations: 21.75 kB / 1.346 GB, free: 74.12 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.00376/3.437, allocations: 1.243 MB / 1.347 GB, free: 73.18 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/3.437, allocations: 7.188 kB / 1.347 GB, free: 73.18 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001137/3.438, allocations: 132.9 kB / 1.347 GB, free: 73.12 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001339/3.439, allocations: 0.5327 MB / 1.348 GB, free: 72.7 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001123/3.439, allocations: 104.6 kB / 1.348 GB, free: 72.61 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001333/3.44, allocations: 56.03 kB / 1.348 GB, free: 72.59 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001744/3.441, allocations: 0.8178 MB / 1.349 GB, free: 71.99 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.982e-05/3.441, allocations: 3.938 kB / 1.349 GB, free: 71.99 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000118/3.441, allocations: 25.97 kB / 1.349 GB, free: 71.97 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.54e-05/3.442, allocations: 38.86 kB / 1.349 GB, free: 71.96 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001573/3.443, allocations: 0.6133 MB / 1.35 GB, free: 71.66 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.005599/3.449, allocations: 3.947 MB / 1.353 GB, free: 68.13 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008042/3.45, allocations: 332.9 kB / 1.354 GB, free: 67.96 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001176/3.45, allocations: 26.69 kB / 1.354 GB, free: 67.95 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.661e-05/3.45, allocations: 37.94 kB / 1.354 GB, free: 67.91 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=34): time 3.307e-06/3.45, allocations: 0 / 1.354 GB, free: 67.91 MB / 0.4948 GB Notification: Performance of matching and sorting (n=39): time 0.008808/3.459, allocations: 1.65 MB / 1.355 GB, free: 66.88 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.458e-05/3.459, allocations: 132.1 kB / 1.355 GB, free: 66.72 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008863/3.46, allocations: 0.5374 MB / 1.356 GB, free: 66.4 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 6.659e-05/3.46, allocations: 37.39 kB / 1.356 GB, free: 66.36 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000228/3.46, allocations: 389 kB / 1.356 GB, free: 66.01 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001369/3.46, allocations: 149 kB / 1.357 GB, free: 65.88 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.913e-05/3.46, allocations: 11.97 kB / 1.357 GB, free: 65.88 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.192e-05/3.46, allocations: 338.2 kB / 1.357 GB, free: 65.54 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005356/3.461, allocations: 197.2 kB / 1.357 GB, free: 65.45 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007267/3.461, allocations: 0.5067 MB / 1.358 GB, free: 64.93 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006959/3.462, allocations: 289.5 kB / 1.358 GB, free: 64.79 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.235e-06/3.462, allocations: 9.844 kB / 1.358 GB, free: 64.78 MB / 0.4948 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002049/3.464, allocations: 0.841 MB / 1.359 GB, free: 64.35 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.504e-05/3.464, allocations: 11.66 kB / 1.359 GB, free: 64.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.669e-05/3.464, allocations: 11.53 kB / 1.359 GB, free: 64.34 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002303/3.467, allocations: 320.5 kB / 1.359 GB, free: 64.21 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006797/3.467, allocations: 120.8 kB / 1.359 GB, free: 64.19 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001457/3.469, allocations: 0.932 MB / 1.36 GB, free: 63.46 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009538/3.47, allocations: 44.69 kB / 1.36 GB, free: 63.44 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001192/3.47, allocations: 61.81 kB / 1.36 GB, free: 63.43 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.0004815/3.47, allocations: 249.9 kB / 1.36 GB, free: 63.23 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000148/3.471, allocations: 70.59 kB / 1.36 GB, free: 63.2 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002177/3.473, allocations: 0.669 MB / 1.361 GB, free: 62.79 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.875e-06/3.473, allocations: 6.969 kB / 1.361 GB, free: 62.79 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/3.473, allocations: 2.844 kB / 1.361 GB, free: 62.79 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.626e-06/3.473, allocations: 7.984 kB / 1.361 GB, free: 62.78 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0025/3.475, allocations: 1.253 MB / 1.362 GB, free: 61.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.631e-06/3.475, allocations: 6.281 kB / 1.362 GB, free: 61.84 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0019/3.477, allocations: 210.2 kB / 1.363 GB, free: 61.79 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001329/3.477, allocations: 24.5 kB / 1.363 GB, free: 61.77 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.379e-05/3.477, allocations: 19.83 kB / 1.363 GB, free: 61.76 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002015/3.479, allocations: 2.688 MB / 1.365 GB, free: 58.97 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/3.48, allocations: 7.828 kB / 1.365 GB, free: 58.97 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001785/3.481, allocations: 0.8311 MB / 1.366 GB, free: 58.41 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004059/3.482, allocations: 183.6 kB / 1.366 GB, free: 58.24 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001503/3.482, allocations: 15.88 kB / 1.366 GB, free: 58.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007321/3.483, allocations: 30.94 kB / 1.366 GB, free: 58.21 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001261/3.483, allocations: 44.67 kB / 1.366 GB, free: 58.19 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.803e-05/3.483, allocations: 41.3 kB / 1.366 GB, free: 58.18 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.000737/3.484, allocations: 428.4 kB / 1.367 GB, free: 57.94 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.01e-07/3.484, allocations: 3.875 kB / 1.367 GB, free: 57.94 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001766/3.485, allocations: 383 kB / 1.367 GB, free: 57.83 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.002247/3.488, allocations: 1.052 MB / 1.368 GB, free: 57.13 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001675/3.489, allocations: 0.5357 MB / 1.369 GB, free: 56.6 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/3.489, allocations: 0 / 1.369 GB, free: 56.6 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001405/3.491, allocations: 395.5 kB / 1.369 GB, free: 56.2 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002656/3.493, allocations: 342.3 kB / 1.369 GB, free: 55.88 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002681/3.496, allocations: 1.571 MB / 1.371 GB, free: 54.26 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004531/3.497, allocations: 0.9455 MB / 1.372 GB, free: 53.29 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005973/3.497, allocations: 111.4 kB / 1.372 GB, free: 53.18 MB / 0.4948 GB Notification: Performance of SimCode: time 1.052e-06/3.497, allocations: 0 / 1.372 GB, free: 53.18 MB / 0.4948 GB Notification: Performance of Templates: time 0.03541/3.533, allocations: 20.84 MB / 1.392 GB, free: 32.33 MB / 0.4948 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