Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_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_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001054/0.001054, allocations: 110.6 kB / 16.41 MB, free: 6.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001172/0.001172, allocations: 189.5 kB / 17.34 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.557/1.557, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.231/0.231, allocations: 43.52 MB / 314.1 MB, free: 456 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00135/0.00135, allocations: 75.89 kB / 441.8 MB, free: 5.633 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1527/0.154, allocations: 57.78 MB / 499.6 MB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.6241/0.7782, allocations: 179.7 MB / 0.6634 GB, free: 6.895 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01342/0.7917, allocations: 8.174 MB / 0.6714 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001189/0.793, allocations: 23.81 kB / 0.6714 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001268/0.7943, allocations: 318 kB / 0.6717 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.005069/0.7994, allocations: 1.504 MB / 0.6732 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003644/0.803, allocations: 1.15 MB / 0.6743 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002933/0.806, allocations: 1.846 MB / 0.6761 GB, free: 9.855 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008115/0.8068, allocations: 464.8 kB / 0.6765 GB, free: 9.402 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003923/0.8108, allocations: 1.253 MB / 0.6778 GB, free: 8.145 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00117/0.8119, allocations: 0.6656 MB / 0.6784 GB, free: 7.477 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001181/0.8121, allocations: 60 kB / 0.6785 GB, free: 7.418 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002254/0.8143, allocations: 0.823 MB / 0.6793 GB, free: 6.594 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003405/0.8147, allocations: 259.3 kB / 0.6795 GB, free: 6.34 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0004949/0.8152, allocations: 394.2 kB / 0.6799 GB, free: 5.953 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.00228/0.8175, allocations: 1.43 MB / 0.6813 GB, free: 4.52 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.8175, allocations: 0 / 0.6813 GB, free: 4.52 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.515e-06/0.8175, allocations: 0 / 0.6813 GB, free: 4.52 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.064e-05/0.8175, allocations: 4 kB / 0.6813 GB, free: 4.516 MB / 0.5137 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.002316/0.8199, allocations: 1.126 MB / 0.6824 GB, free: 3.34 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/0.8199, allocations: 8.031 kB / 0.6824 GB, free: 3.332 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008073/0.8207, allocations: 135 kB / 0.6825 GB, free: 3.199 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000881/0.8216, allocations: 0.5314 MB / 0.6831 GB, free: 2.625 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001136/0.8217, allocations: 104.4 kB / 0.6832 GB, free: 2.512 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.987e-05/0.8218, allocations: 48 kB / 0.6832 GB, free: 2.465 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001223/0.8231, allocations: 0.8136 MB / 0.684 GB, free: 1.582 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.535e-05/0.8231, allocations: 11.92 kB / 0.684 GB, free: 1.57 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.443e-05/0.8232, allocations: 24 kB / 0.684 GB, free: 1.547 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.563e-05/0.8233, allocations: 36.98 kB / 0.6841 GB, free: 1.508 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001082/0.8243, allocations: 0.6204 MB / 0.6847 GB, free: 0.8906 MB / 0.5137 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.005059/0.8294, allocations: 3.988 MB / 0.6886 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006067/0.83, allocations: 359.1 kB / 0.6889 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003098/0.8304, allocations: 169.3 kB / 0.6891 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005225/0.8309, allocations: 365.4 kB / 0.6894 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.958e-05/0.8309, allocations: 38.84 kB / 0.6895 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=34): time 2.735e-06/0.831, allocations: 0 / 0.6895 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of matching and sorting (n=39): time 0.005314/0.8363, allocations: 1.667 MB / 0.6911 GB, free: 9.926 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.12e-05/0.8364, allocations: 136.5 kB / 0.6912 GB, free: 9.762 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007303/0.8371, allocations: 0.6171 MB / 0.6918 GB, free: 9.137 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.584e-05/0.8372, allocations: 37.7 kB / 0.6918 GB, free: 9.094 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002651/0.8374, allocations: 363 kB / 0.6922 GB, free: 8.734 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.00012/0.8376, allocations: 149.9 kB / 0.6923 GB, free: 8.586 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002153/0.8378, allocations: 150.5 kB / 0.6925 GB, free: 8.434 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001865/0.838, allocations: 382.7 kB / 0.6928 GB, free: 8.051 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003533/0.8383, allocations: 201.9 kB / 0.693 GB, free: 7.855 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005692/0.8389, allocations: 0.5086 MB / 0.6935 GB, free: 7.199 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009232/0.8399, allocations: 0.7524 MB / 0.6943 GB, free: 6.309 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/0.8399, allocations: 11.88 kB / 0.6943 GB, free: 6.297 MB / 0.5294 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001389/0.8413, allocations: 0.8719 MB / 0.6951 GB, free: 5.414 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.298e-05/0.8413, allocations: 12 kB / 0.6951 GB, free: 5.402 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.577e-05/0.8413, allocations: 13.73 kB / 0.6952 GB, free: 5.391 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001324/0.8426, allocations: 312.6 kB / 0.6955 GB, free: 5.082 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003706/0.843, allocations: 116.6 kB / 0.6956 GB, free: 4.969 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001116/0.8442, allocations: 0.9346 MB / 0.6965 GB, free: 4.008 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004336/0.8446, allocations: 27.98 kB / 0.6965 GB, free: 3.98 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.626e-05/0.8447, allocations: 68 kB / 0.6966 GB, free: 3.914 MB / 0.5294 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0003315/0.8451, allocations: 249.5 kB / 0.6968 GB, free: 3.66 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001174/0.8452, allocations: 71.19 kB / 0.6969 GB, free: 3.59 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001317/0.8465, allocations: 0.6725 MB / 0.6975 GB, free: 2.891 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.8465, allocations: 4 kB / 0.6975 GB, free: 2.887 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.8465, allocations: 4 kB / 0.6975 GB, free: 2.883 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.187e-06/0.8465, allocations: 3.984 kB / 0.6975 GB, free: 2.879 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002228/0.8488, allocations: 1.599 MB / 0.6991 GB, free: 1.137 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.8488, allocations: 3.938 kB / 0.6991 GB, free: 1.133 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009873/0.8498, allocations: 215.9 kB / 0.6993 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.16e-05/0.8499, allocations: 24.83 kB / 0.6993 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.221e-05/0.85, allocations: 23.98 kB / 0.6994 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002162/0.8521, allocations: 2.873 MB / 0.7022 GB, free: 13.71 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.131e-06/0.8521, allocations: 8.016 kB / 0.7022 GB, free: 13.71 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001244/0.8534, allocations: 0.8087 MB / 0.703 GB, free: 12.87 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000306/0.8537, allocations: 188.2 kB / 0.7031 GB, free: 12.66 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.992e-05/0.8538, allocations: 15.94 kB / 0.7032 GB, free: 12.65 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000373/0.8542, allocations: 24.05 kB / 0.7032 GB, free: 12.62 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.46e-05/0.8543, allocations: 31.97 kB / 0.7032 GB, free: 12.59 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.497e-05/0.8544, allocations: 43.97 kB / 0.7033 GB, free: 12.55 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005351/0.8549, allocations: 443 kB / 0.7037 GB, free: 12.12 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8549, allocations: 0 / 0.7037 GB, free: 12.12 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001086/0.856, allocations: 292 kB / 0.704 GB, free: 11.84 MB / 0.545 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 (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009102/0.8569, allocations: 374.1 kB / 0.7043 GB, free: 11.47 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001174/0.8581, allocations: 0.5423 MB / 0.7048 GB, free: 10.93 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.8581, allocations: 4 kB / 0.7048 GB, free: 10.93 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001035/0.8592, allocations: 419.8 kB / 0.7052 GB, free: 10.5 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001449/0.8606, allocations: 375.5 kB / 0.7056 GB, free: 10.14 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002149/0.8628, allocations: 1.306 MB / 0.7069 GB, free: 8.797 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005348/0.8633, allocations: 0.93 MB / 0.7078 GB, free: 7.84 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0007403/0.8641, allocations: 261.9 kB / 0.708 GB, free: 7.582 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002614/0.8643, allocations: 107.3 kB / 0.7081 GB, free: 7.477 MB / 0.545 GB Notification: Performance of SimCode: time 3.7e-07/0.8644, allocations: 0 / 0.7081 GB, free: 7.477 MB / 0.545 GB Notification: Performance of Templates: time 0.03139/0.8958, allocations: 18.48 MB / 0.7262 GB, free: 5.02 MB / 0.5606 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches