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.001508/0.001508, allocations: 116.9 kB / 17.08 MB, free: 5.984 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.001489/0.001489, allocations: 198.9 kB / 18.01 MB, free: 5.07 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.376/1.376, allocations: 205.1 MB / 223.9 MB, free: 12.28 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.1982/0.1982, allocations: 43.52 MB / 314.8 MB, free: 452 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.001415/0.001415, allocations: 69.47 kB / 442.5 MB, free: 5.621 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.1103, allocations: 57.78 MB / 0.4886 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.4076/0.518, allocations: 179.7 MB / 0.664 GB, free: 6.75 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01056/0.5286, allocations: 8.189 MB / 0.672 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007837/0.5294, allocations: 19.88 kB / 0.6721 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0009871/0.5304, allocations: 317.9 kB / 0.6724 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003947/0.5344, allocations: 1.484 MB / 0.6738 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002923/0.5373, allocations: 1.146 MB / 0.6749 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002298/0.5397, allocations: 1.853 MB / 0.6767 GB, free: 9.715 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006649/0.5403, allocations: 453.3 kB / 0.6772 GB, free: 9.273 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002941/0.5433, allocations: 1.238 MB / 0.6784 GB, free: 8.031 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001029/0.5443, allocations: 0.6579 MB / 0.679 GB, free: 7.371 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001297/0.5445, allocations: 64 kB / 0.6791 GB, free: 7.309 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001786/0.5463, allocations: 0.8373 MB / 0.6799 GB, free: 6.473 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002842/0.5466, allocations: 251.3 kB / 0.6801 GB, free: 6.227 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0004961/0.5471, allocations: 398.2 kB / 0.6805 GB, free: 5.836 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002142/0.5492, allocations: 1.418 MB / 0.6819 GB, free: 4.414 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.5492, allocations: 0 / 0.6819 GB, free: 4.414 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.563e-06/0.5492, allocations: 0 / 0.6819 GB, free: 4.414 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.357e-05/0.5493, allocations: 0 / 0.6819 GB, free: 4.414 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.002231/0.5515, allocations: 1.126 MB / 0.683 GB, free: 3.234 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.5516, allocations: 8.031 kB / 0.683 GB, free: 3.227 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007958/0.5524, allocations: 138.9 kB / 0.6831 GB, free: 3.09 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000836/0.5532, allocations: 0.5431 MB / 0.6837 GB, free: 2.508 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001121/0.5533, allocations: 100.4 kB / 0.6838 GB, free: 2.395 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.8e-05/0.5534, allocations: 51.98 kB / 0.6838 GB, free: 2.344 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001246/0.5547, allocations: 0.8097 MB / 0.6846 GB, free: 1.465 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.443e-05/0.5547, allocations: 7.938 kB / 0.6846 GB, free: 1.457 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.132e-05/0.5548, allocations: 27.92 kB / 0.6846 GB, free: 1.43 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.441e-05/0.5548, allocations: 36.98 kB / 0.6847 GB, free: 1.395 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009995/0.5558, allocations: 0.6166 MB / 0.6853 GB, free: 0.7773 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.00449/0.5603, allocations: 3.988 MB / 0.6892 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005629/0.5609, allocations: 351.6 kB / 0.6895 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002682/0.5612, allocations: 173.3 kB / 0.6897 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004074/0.5616, allocations: 365.3 kB / 0.69 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.194e-05/0.5617, allocations: 42.78 kB / 0.6901 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=34): time 2.825e-06/0.5617, allocations: 0 / 0.6901 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of matching and sorting (n=39): time 0.00537/0.5671, allocations: 1.672 MB / 0.6917 GB, free: 9.809 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.684e-05/0.5672, allocations: 136.5 kB / 0.6918 GB, free: 9.645 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007101/0.5679, allocations: 0.6132 MB / 0.6924 GB, free: 9.023 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.042e-05/0.5679, allocations: 37.7 kB / 0.6925 GB, free: 8.98 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000252/0.5682, allocations: 359 kB / 0.6928 GB, free: 8.625 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001177/0.5683, allocations: 153.9 kB / 0.693 GB, free: 8.473 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001979/0.5685, allocations: 154.5 kB / 0.6931 GB, free: 8.316 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001514/0.5687, allocations: 374.8 kB / 0.6935 GB, free: 7.941 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003531/0.569, allocations: 205.9 kB / 0.6937 GB, free: 7.738 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005683/0.5696, allocations: 0.5124 MB / 0.6942 GB, free: 7.078 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009679/0.5706, allocations: 0.7485 MB / 0.6949 GB, free: 6.191 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/0.5706, allocations: 4 kB / 0.6949 GB, free: 6.188 MB / 0.5294 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001531/0.5721, allocations: 0.8761 MB / 0.6957 GB, free: 5.301 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/0.5722, allocations: 11.94 kB / 0.6958 GB, free: 5.289 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.583e-05/0.5722, allocations: 8 kB / 0.6958 GB, free: 5.281 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00136/0.5736, allocations: 310.6 kB / 0.6961 GB, free: 4.977 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003851/0.574, allocations: 115.8 kB / 0.6962 GB, free: 4.863 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001141/0.5751, allocations: 0.9424 MB / 0.6971 GB, free: 3.895 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004984/0.5756, allocations: 27.98 kB / 0.6971 GB, free: 3.867 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.314e-05/0.5757, allocations: 64 kB / 0.6972 GB, free: 3.805 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.0003804/0.5761, allocations: 245.5 kB / 0.6974 GB, free: 3.555 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001174/0.5762, allocations: 75.25 kB / 0.6975 GB, free: 3.48 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001338/0.5776, allocations: 0.6777 MB / 0.6981 GB, free: 2.777 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/0.5776, allocations: 4 kB / 0.6982 GB, free: 2.773 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.717e-06/0.5776, allocations: 4 kB / 0.6982 GB, free: 2.77 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.744e-06/0.5776, allocations: 3.984 kB / 0.6982 GB, free: 2.766 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00222/0.5799, allocations: 1.61 MB / 0.6997 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/0.5799, allocations: 7.938 kB / 0.6997 GB, free: 1.004 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001022/0.5809, allocations: 207.9 kB / 0.6999 GB, free: 0.8008 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.291e-05/0.581, allocations: 24.84 kB / 0.7 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.818e-05/0.5811, allocations: 15.98 kB / 0.7 GB, free: 0.7578 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002069/0.5831, allocations: 2.877 MB / 0.7028 GB, free: 13.6 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.5832, allocations: 4.031 kB / 0.7028 GB, free: 13.59 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001294/0.5845, allocations: 0.8087 MB / 0.7036 GB, free: 12.75 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000333/0.5848, allocations: 196.2 kB / 0.7038 GB, free: 12.54 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.49e-05/0.5849, allocations: 8 kB / 0.7038 GB, free: 12.54 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003754/0.5853, allocations: 23.92 kB / 0.7038 GB, free: 12.51 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.706e-05/0.5854, allocations: 40.02 kB / 0.7038 GB, free: 12.47 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.713e-05/0.5855, allocations: 39.98 kB / 0.7039 GB, free: 12.43 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000577/0.586, allocations: 443 kB / 0.7043 GB, free: 12.01 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.586, allocations: 0 / 0.7043 GB, free: 12.01 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001027/0.5871, allocations: 292 kB / 0.7046 GB, free: 11.72 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.0009649/0.5881, allocations: 376.1 kB / 0.7049 GB, free: 11.35 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001229/0.5893, allocations: 0.5472 MB / 0.7055 GB, free: 10.8 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.738e-06/0.5893, allocations: 4 kB / 0.7055 GB, free: 10.8 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0009323/0.5903, allocations: 398.8 kB / 0.7059 GB, free: 10.4 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001625/0.5919, allocations: 370.4 kB / 0.7062 GB, free: 10.04 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002276/0.5942, allocations: 1.352 MB / 0.7075 GB, free: 8.645 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004865/0.5947, allocations: 0.9261 MB / 0.7084 GB, free: 7.691 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003315/0.595, allocations: 115.4 kB / 0.7085 GB, free: 7.578 MB / 0.545 GB Notification: Performance of SimCode: time 6.11e-07/0.595, allocations: 0 / 0.7085 GB, free: 7.578 MB / 0.545 GB Notification: Performance of Templates: time 0.02292/0.618, allocations: 17.18 MB / 0.7253 GB, free: 6.402 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins1/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