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.001191/0.001191, allocations: 109.5 kB / 17.09 MB, free: 5.805 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.001173/0.001173, allocations: 196.2 kB / 18.02 MB, free: 4.918 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.426/1.426, allocations: 205.1 MB / 223.9 MB, free: 12.21 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.2161/0.2161, allocations: 43.52 MB / 314.8 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.001531/0.001531, allocations: 64.38 kB / 442.5 MB, free: 5.633 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.1241, allocations: 57.79 MB / 0.4886 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.5303/0.6545, allocations: 179.7 MB / 0.664 GB, free: 6.766 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01134/0.6659, allocations: 8.187 MB / 0.672 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008392/0.6667, allocations: 23.81 kB / 0.6721 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.00112/0.6679, allocations: 318 kB / 0.6724 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004188/0.6722, allocations: 1.476 MB / 0.6738 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003005/0.6752, allocations: 1.157 MB / 0.6749 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.00236/0.6775, allocations: 1.845 MB / 0.6767 GB, free: 9.734 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000847/0.6784, allocations: 461.3 kB / 0.6772 GB, free: 9.285 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00283/0.6812, allocations: 1.234 MB / 0.6784 GB, free: 8.047 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001159/0.6824, allocations: 0.6617 MB / 0.679 GB, free: 7.383 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002034/0.6826, allocations: 60 kB / 0.6791 GB, free: 7.324 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00199/0.6846, allocations: 0.8308 MB / 0.6799 GB, free: 6.492 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003791/0.685, allocations: 259.3 kB / 0.6802 GB, free: 6.238 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0006473/0.6857, allocations: 390.2 kB / 0.6805 GB, free: 5.855 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002355/0.688, allocations: 1.426 MB / 0.6819 GB, free: 4.426 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.6881, allocations: 0 / 0.6819 GB, free: 4.426 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.024e-06/0.6881, allocations: 0 / 0.6819 GB, free: 4.426 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.55e-05/0.6881, allocations: 0 / 0.6819 GB, free: 4.426 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.003047/0.6912, allocations: 1.126 MB / 0.683 GB, free: 3.25 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.6912, allocations: 12.03 kB / 0.683 GB, free: 3.238 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009533/0.6922, allocations: 135 kB / 0.6832 GB, free: 3.105 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001177/0.6934, allocations: 0.5314 MB / 0.6837 GB, free: 2.531 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000129/0.6935, allocations: 108.4 kB / 0.6838 GB, free: 2.414 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001413/0.6937, allocations: 44 kB / 0.6838 GB, free: 2.371 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001347/0.695, allocations: 0.8174 MB / 0.6846 GB, free: 1.484 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.196e-05/0.6951, allocations: 4 kB / 0.6846 GB, free: 1.48 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.51e-05/0.6952, allocations: 27.98 kB / 0.6846 GB, free: 1.453 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.291e-05/0.6952, allocations: 36.98 kB / 0.6847 GB, free: 1.414 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001045/0.6963, allocations: 0.6243 MB / 0.6853 GB, free: 0.793 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.004535/0.7008, allocations: 3.977 MB / 0.6892 GB, free: 12.56 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005648/0.7014, allocations: 359.9 kB / 0.6895 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002701/0.7017, allocations: 173.3 kB / 0.6897 GB, free: 12.03 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004409/0.7021, allocations: 365.3 kB / 0.69 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.709e-05/0.7022, allocations: 42.84 kB / 0.6901 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=34): time 2.825e-06/0.7022, allocations: 3.938 kB / 0.6901 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of matching and sorting (n=39): time 0.0055/0.7077, allocations: 1.673 MB / 0.6917 GB, free: 9.824 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.15e-05/0.7078, allocations: 132.5 kB / 0.6918 GB, free: 9.664 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007523/0.7085, allocations: 0.6171 MB / 0.6924 GB, free: 9.039 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.578e-05/0.7086, allocations: 37.7 kB / 0.6925 GB, free: 8.996 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002583/0.7089, allocations: 363 kB / 0.6928 GB, free: 8.637 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001343/0.709, allocations: 149.9 kB / 0.693 GB, free: 8.488 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002055/0.7092, allocations: 150.5 kB / 0.6931 GB, free: 8.336 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001648/0.7094, allocations: 382.7 kB / 0.6935 GB, free: 7.953 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003325/0.7097, allocations: 201.9 kB / 0.6937 GB, free: 7.758 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005507/0.7103, allocations: 0.5125 MB / 0.6942 GB, free: 7.098 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009269/0.7112, allocations: 0.7485 MB / 0.6949 GB, free: 6.211 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.7112, allocations: 7.938 kB / 0.6949 GB, free: 6.203 MB / 0.5294 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001384/0.7126, allocations: 0.872 MB / 0.6958 GB, free: 5.32 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.185e-05/0.7127, allocations: 12 kB / 0.6958 GB, free: 5.309 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.25e-05/0.7127, allocations: 8 kB / 0.6958 GB, free: 5.301 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001389/0.7141, allocations: 314.1 kB / 0.6961 GB, free: 4.992 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003945/0.7145, allocations: 115.8 kB / 0.6962 GB, free: 4.879 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001077/0.7156, allocations: 0.9385 MB / 0.6971 GB, free: 3.914 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000517/0.7161, allocations: 24.61 kB / 0.6971 GB, free: 3.891 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.842e-05/0.7162, allocations: 68 kB / 0.6972 GB, free: 3.824 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.0003885/0.7166, allocations: 249.5 kB / 0.6974 GB, free: 3.57 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001668/0.7168, allocations: 71.19 kB / 0.6975 GB, free: 3.5 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001428/0.7182, allocations: 0.6764 MB / 0.6982 GB, free: 2.797 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/0.7182, allocations: 0 / 0.6982 GB, free: 2.797 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.7182, allocations: 7.984 kB / 0.6982 GB, free: 2.789 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003155/0.7186, allocations: 192.3 kB / 0.6983 GB, free: 2.582 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001276/0.7187, allocations: 11.84 kB / 0.6984 GB, free: 2.57 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003639/0.7191, allocations: 16 kB / 0.6984 GB, free: 2.555 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.058e-05/0.7192, allocations: 35.89 kB / 0.6984 GB, free: 2.52 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001528/0.7207, allocations: 0.6154 MB / 0.699 GB, free: 1.891 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001119/0.7218, allocations: 0.83 MB / 0.6998 GB, free: 1.043 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002806/0.7221, allocations: 179.9 kB / 0.7 GB, free: 0.8672 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0005308/0.7227, allocations: 435 kB / 0.7004 GB, free: 460 kB / 0.5294 GB Notification: Performance of Backend: time 3.01e-07/0.7227, allocations: 4 kB / 0.7004 GB, free: 456 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0025/0.7252, allocations: 0.8186 MB / 0.7012 GB, free: 15.62 MB / 0.545 GB Notification: Performance of SimCode: time 0.003234/0.7284, allocations: 1.915 MB / 0.7031 GB, free: 13.66 MB / 0.545 GB Notification: Performance of Templates: time 0.03451/0.763, allocations: 19.54 MB / 0.7222 GB, free: 10.14 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