Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.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.SimpleAir,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.SimpleAir") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,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.SimpleAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009617/0.0009616, allocations: 167.8 kB / 16.76 MB, free: 4.93 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.53/1.53, allocations: 205.4 MB / 222.9 MB, free: 9.012 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.0007776/0.0007775, allocations: 86.41 kB / 271.3 MB, free: 8.246 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.3803/0.3803, allocations: 43.56 MB / 363.1 MB, free: 52.22 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004454/0.0004455, allocations: 20 kB / 432.6 MB, free: 5.184 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1392/0.1397, allocations: 58.84 MB / 491.5 MB, free: 10.26 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.272/1.412, allocations: 429.8 MB / 0.8997 GB, free: 169.7 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003157/1.412, allocations: 91.41 kB / 0.8998 GB, free: 169.7 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.2838/1.696, allocations: 132.8 MB / 1.029 GB, free: 62 MB / 0.5105 GB Notification: Performance of FrontEnd: time 4.218e-06/1.696, allocations: 4 kB / 1.03 GB, free: 61.99 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.638e-05/1.696, allocations: 19.98 kB / 1.03 GB, free: 61.97 MB / 0.5105 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.002963/1.699, allocations: 0.9744 MB / 1.03 GB, free: 60.95 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.072e-05/1.699, allocations: 8.031 kB / 1.03 GB, free: 60.94 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006342/1.7, allocations: 91.98 kB / 1.031 GB, free: 60.85 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001484/1.701, allocations: 0.5608 MB / 1.031 GB, free: 60.25 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001389/1.701, allocations: 97.53 kB / 1.031 GB, free: 60.14 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001881/1.701, allocations: 51.98 kB / 1.031 GB, free: 60.09 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001474/1.703, allocations: 0.8166 MB / 1.032 GB, free: 59.21 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.668e-05/1.703, allocations: 15.78 kB / 1.032 GB, free: 59.19 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001099/1.703, allocations: 20 kB / 1.032 GB, free: 59.17 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.509e-05/1.703, allocations: 36.98 kB / 1.032 GB, free: 59.13 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001119/1.704, allocations: 0.6361 MB / 1.033 GB, free: 58.5 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004774/1.709, allocations: 3.65 MB / 1.036 GB, free: 54.64 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008391/1.71, allocations: 405.6 kB / 1.037 GB, free: 54.23 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003067/1.71, allocations: 201.4 kB / 1.037 GB, free: 54.03 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005913/1.711, allocations: 0.7288 MB / 1.038 GB, free: 53.14 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.989e-05/1.711, allocations: 42.88 kB / 1.038 GB, free: 53.09 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=40): time 4.548e-06/1.711, allocations: 0 / 1.038 GB, free: 53.09 MB / 0.5105 GB Notification: Performance of matching and sorting (n=45): time 0.00374/1.715, allocations: 1.525 MB / 1.039 GB, free: 51.49 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001027/1.715, allocations: 140.5 kB / 1.039 GB, free: 51.32 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008208/1.716, allocations: 0.5653 MB / 1.04 GB, free: 50.75 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 7.283e-05/1.716, allocations: 33.7 kB / 1.04 GB, free: 50.71 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002293/1.716, allocations: 355 kB / 1.04 GB, free: 50.36 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001286/1.716, allocations: 157.8 kB / 1.04 GB, free: 50.2 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.938e-05/1.716, allocations: 16 kB / 1.04 GB, free: 50.18 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001617/1.716, allocations: 378.8 kB / 1.041 GB, free: 49.8 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003002/1.717, allocations: 209.9 kB / 1.041 GB, free: 49.6 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004278/1.717, allocations: 0.5049 MB / 1.041 GB, free: 48.96 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007977/1.718, allocations: 0.7527 MB / 1.042 GB, free: 48.08 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/1.718, allocations: 0 / 1.042 GB, free: 48.08 MB / 0.5105 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001365/1.719, allocations: 0.8981 MB / 1.043 GB, free: 47.17 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.776e-05/1.719, allocations: 12 kB / 1.043 GB, free: 47.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.839e-05/1.719, allocations: 8 kB / 1.043 GB, free: 47.15 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001344/1.721, allocations: 281 kB / 1.043 GB, free: 46.88 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003672/1.721, allocations: 123.8 kB / 1.043 GB, free: 46.75 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008638/1.722, allocations: 0.8826 MB / 1.044 GB, free: 45.85 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000654/1.723, allocations: 55.94 kB / 1.044 GB, free: 45.79 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.965e-05/1.723, allocations: 32 kB / 1.044 GB, free: 45.76 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (71): * Single equations (assignments): 70 * 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 16} Notification: Performance of prepare postOptimizeDAE: time 0.0003873/1.723, allocations: 249.5 kB / 1.045 GB, free: 45.51 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001327/1.723, allocations: 67.25 kB / 1.045 GB, free: 45.44 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001141/1.724, allocations: 0.7567 MB / 1.045 GB, free: 44.64 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.111e-05/1.724, allocations: 8 kB / 1.045 GB, free: 44.64 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.367e-06/1.724, allocations: 4 kB / 1.045 GB, free: 44.63 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/1.724, allocations: 3.938 kB / 1.045 GB, free: 44.63 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001955/1.726, allocations: 1.399 MB / 1.047 GB, free: 43.13 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/1.726, allocations: 4.188 kB / 1.047 GB, free: 43.13 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009156/1.727, allocations: 203.7 kB / 1.047 GB, free: 42.93 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.006e-05/1.727, allocations: 24.84 kB / 1.047 GB, free: 42.9 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.91e-05/1.727, allocations: 11.98 kB / 1.047 GB, free: 42.89 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001554/1.729, allocations: 2.691 MB / 1.05 GB, free: 39.93 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/1.729, allocations: 4.031 kB / 1.05 GB, free: 39.93 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00118/1.73, allocations: 0.9954 MB / 1.051 GB, free: 38.88 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003146/1.731, allocations: 196.2 kB / 1.051 GB, free: 38.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001115/1.731, allocations: 16.06 kB / 1.051 GB, free: 38.65 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004715/1.731, allocations: 31.98 kB / 1.051 GB, free: 38.62 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.726e-05/1.731, allocations: 35.94 kB / 1.051 GB, free: 38.58 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.029e-05/1.731, allocations: 19.98 kB / 1.051 GB, free: 38.56 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0004602/1.732, allocations: 407.1 kB / 1.051 GB, free: 38.17 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9.92e-07/1.732, allocations: 0 / 1.051 GB, free: 38.17 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001033/1.733, allocations: 251.8 kB / 1.052 GB, free: 37.92 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0008617/1.734, allocations: 374.9 kB / 1.052 GB, free: 37.56 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00121/1.735, allocations: 0.5874 MB / 1.052 GB, free: 36.98 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/1.735, allocations: 0 / 1.052 GB, free: 36.98 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0009466/1.736, allocations: 450.6 kB / 1.053 GB, free: 36.52 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001692/1.738, allocations: 329.7 kB / 1.053 GB, free: 36.21 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002327/1.74, allocations: 1.611 MB / 1.055 GB, free: 34.55 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004373/1.74, allocations: 0.9387 MB / 1.056 GB, free: 33.58 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0007672/1.741, allocations: 201.8 kB / 1.056 GB, free: 33.38 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002056/1.741, allocations: 63.42 kB / 1.056 GB, free: 33.32 MB / 0.5105 GB Notification: Performance of SimCode: time 4.81e-07/1.741, allocations: 0 / 1.056 GB, free: 33.32 MB / 0.5105 GB Notification: Performance of Templates: time 0.02416/1.766, allocations: 15.23 MB / 1.071 GB, free: 18.14 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/SimpleAir/SimpleAir.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches