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.002163/0.002162, allocations: 177.8 kB / 8.36 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.041/2.041, allocations: 205.3 MB / 214.1 MB, free: 14.12 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001186/0.001185, allocations: 91.23 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2928/0.2928, allocations: 43.49 MB / 353.6 MB, free: 2.258 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.922e-05/1.934e-05, allocations: 224 / 418.2 MB, free: 41.02 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4369/0.437, allocations: 58.86 MB / 477.1 MB, free: 5.266 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.895/2.332, allocations: 0.6183 GB / 1.084 GB, free: 118.9 MB / 0.4952 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004413/2.333, allocations: 97.67 kB / 1.084 GB, free: 118.9 MB / 0.4952 GB Notification: Performance of FrontEnd - DAE generated: time 1.276/3.608, allocations: 226.3 MB / 1.305 GB, free: 95.42 MB / 0.4952 GB Notification: Performance of FrontEnd: time 2.475e-06/3.609, allocations: 3.5 kB / 1.305 GB, free: 95.42 MB / 0.4952 GB Notification: Performance of Transformations before backend: time 8.3e-05/3.609, allocations: 22.05 kB / 1.305 GB, free: 95.41 MB / 0.4952 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.003949/3.613, allocations: 1.154 MB / 1.306 GB, free: 94.54 MB / 0.4952 GB Notification: Performance of prepare preOptimizeDAE: time 4.958e-05/3.613, allocations: 11.72 kB / 1.306 GB, free: 94.53 MB / 0.4952 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001383/3.614, allocations: 143.6 kB / 1.307 GB, free: 94.46 MB / 0.4952 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001772/3.616, allocations: 0.5327 MB / 1.307 GB, free: 94.04 MB / 0.4952 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001093/3.616, allocations: 81.84 kB / 1.307 GB, free: 93.98 MB / 0.4952 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001294/3.616, allocations: 27.56 kB / 1.307 GB, free: 93.98 MB / 0.4952 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001339/3.617, allocations: 0.5238 MB / 1.308 GB, free: 93.74 MB / 0.4952 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001494/3.619, allocations: 0.7353 MB / 1.308 GB, free: 93.21 MB / 0.4952 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.049e-05/3.619, allocations: 3.375 kB / 1.308 GB, free: 93.21 MB / 0.4952 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000105/3.619, allocations: 3.953 kB / 1.308 GB, free: 93.21 MB / 0.4952 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.435e-05/3.619, allocations: 43.61 kB / 1.308 GB, free: 93.2 MB / 0.4952 GB Warning: The model contains alias variables with conflicting start and/or 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.006251/3.626, allocations: 3.895 MB / 1.312 GB, free: 89.25 MB / 0.4952 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005525/3.626, allocations: 255.2 kB / 1.313 GB, free: 88.99 MB / 0.4952 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002747/3.626, allocations: 137.2 kB / 1.313 GB, free: 88.86 MB / 0.4952 GB Notification: Performance of preOpt evalFunc (simulation): time 9.292e-05/3.627, allocations: 24.95 kB / 1.313 GB, free: 88.83 MB / 0.4952 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.343e-05/3.627, allocations: 42.78 kB / 1.313 GB, free: 88.78 MB / 0.4952 GB Notification: Performance of pre-optimization done (n=28): time 3.166e-06/3.627, allocations: 4 kB / 1.313 GB, free: 88.78 MB / 0.4952 GB Notification: Performance of matching and sorting (n=33): time 0.008652/3.635, allocations: 1.444 MB / 1.314 GB, free: 87.26 MB / 0.4952 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.552e-05/3.635, allocations: 132.5 kB / 1.314 GB, free: 87.1 MB / 0.4952 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007803/3.636, allocations: 466 kB / 1.315 GB, free: 86.64 MB / 0.4952 GB Notification: Performance of collectPreVariables (initialization): time 0.0001019/3.636, allocations: 29.7 kB / 1.315 GB, free: 86.61 MB / 0.4952 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002499/3.637, allocations: 433.3 kB / 1.315 GB, free: 86.18 MB / 0.4952 GB Notification: Performance of collectInitialBindings (initialization): time 0.000131/3.637, allocations: 118.3 kB / 1.315 GB, free: 86.06 MB / 0.4952 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.262e-05/3.637, allocations: 4 kB / 1.315 GB, free: 86.06 MB / 0.4952 GB Notification: Performance of setup shared object (initialization): time 8.646e-05/3.637, allocations: 342.8 kB / 1.316 GB, free: 85.71 MB / 0.4952 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004271/3.637, allocations: 173.5 kB / 1.316 GB, free: 85.55 MB / 0.4952 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005957/3.638, allocations: 493.1 kB / 1.316 GB, free: 84.92 MB / 0.4952 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001083/3.639, allocations: 319.4 kB / 1.317 GB, free: 84.61 MB / 0.4952 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.003e-05/3.639, allocations: 8 kB / 1.317 GB, free: 84.6 MB / 0.4952 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00226/3.641, allocations: 0.7838 MB / 1.317 GB, free: 83.8 MB / 0.4952 GB Notification: Performance of prepare postOptimizeDAE: time 3.324e-05/3.641, allocations: 19.14 kB / 1.317 GB, free: 83.79 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.732e-05/3.641, allocations: 8 kB / 1.317 GB, free: 83.78 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00188/3.643, allocations: 268.6 kB / 1.318 GB, free: 83.52 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007951/3.644, allocations: 131.7 kB / 1.318 GB, free: 83.39 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001535/3.646, allocations: 0.95 MB / 1.319 GB, free: 82.41 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001132/3.647, allocations: 39.97 kB / 1.319 GB, free: 82.38 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001364/3.647, allocations: 64 kB / 1.319 GB, free: 82.31 MB / 0.4952 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 () * 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.000251/3.647, allocations: 132.7 kB / 1.319 GB, free: 82.18 MB / 0.4952 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001608/3.647, allocations: 59.34 kB / 1.319 GB, free: 82.12 MB / 0.4952 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001718/3.649, allocations: 0.509 MB / 1.319 GB, free: 81.59 MB / 0.4952 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.07e-05/3.649, allocations: 11.95 kB / 1.319 GB, free: 81.58 MB / 0.4952 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-06/3.649, allocations: 0 / 1.319 GB, free: 81.58 MB / 0.4952 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/3.649, allocations: 0 / 1.319 GB, free: 81.58 MB / 0.4952 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002401/3.652, allocations: 0.9841 MB / 1.32 GB, free: 80.55 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/3.652, allocations: 0 / 1.32 GB, free: 80.55 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001879/3.654, allocations: 203.8 kB / 1.321 GB, free: 80.35 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001357/3.654, allocations: 16.84 kB / 1.321 GB, free: 80.33 MB / 0.4952 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.602e-05/3.654, allocations: 12 kB / 1.321 GB, free: 80.32 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001997/3.656, allocations: 2.589 MB / 1.323 GB, free: 77.5 MB / 0.4952 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/3.656, allocations: 4.031 kB / 1.323 GB, free: 77.5 MB / 0.4952 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001506/3.657, allocations: 0.6813 MB / 1.324 GB, free: 76.79 MB / 0.4952 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004255/3.658, allocations: 180.5 kB / 1.324 GB, free: 76.59 MB / 0.4952 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001664/3.658, allocations: 0 / 1.324 GB, free: 76.59 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007421/3.659, allocations: 23.91 kB / 1.324 GB, free: 76.57 MB / 0.4952 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001138/3.659, allocations: 31.97 kB / 1.324 GB, free: 76.54 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.439e-05/3.659, allocations: 35.98 kB / 1.324 GB, free: 76.5 MB / 0.4952 GB Notification: Performance of sorting global known variables: time 0.000571/3.66, allocations: 346.9 kB / 1.324 GB, free: 76.17 MB / 0.4952 GB Notification: Performance of sort global known variables: time 4.31e-07/3.66, allocations: 3.938 kB / 1.324 GB, free: 76.16 MB / 0.4952 GB Notification: Performance of remove unused functions: time 0.001939/3.662, allocations: 343 kB / 1.325 GB, free: 75.83 MB / 0.4952 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 32 * 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.002673/3.664, allocations: 1.18 MB / 1.326 GB, free: 74.78 MB / 0.4952 GB Notification: Performance of simCode: created initialization part: time 0.001574/3.666, allocations: 495.8 kB / 1.326 GB, free: 74.29 MB / 0.4952 GB Notification: Performance of simCode: created event and clocks part: time 6.572e-06/3.666, allocations: 0 / 1.326 GB, free: 74.29 MB / 0.4952 GB Notification: Performance of simCode: created simulation system equations: time 0.00128/3.667, allocations: 345.6 kB / 1.327 GB, free: 73.95 MB / 0.4952 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002189/3.669, allocations: 251.8 kB / 1.327 GB, free: 73.7 MB / 0.4952 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002351/3.672, allocations: 0.9117 MB / 1.328 GB, free: 72.75 MB / 0.4952 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004838/3.672, allocations: 0.9412 MB / 1.329 GB, free: 71.79 MB / 0.4952 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006291/3.673, allocations: 107.4 kB / 1.329 GB, free: 71.68 MB / 0.4952 GB Notification: Performance of SimCode: time 1.242e-06/3.673, allocations: 0 / 1.329 GB, free: 71.68 MB / 0.4952 GB Notification: Performance of Templates: time 0.03806/3.711, allocations: 19.9 MB / 1.348 GB, free: 51.78 MB / 0.4952 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