Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) 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_4.0.0_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_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001532/0.001532, allocations: 187.1 kB / 18.09 MB, free: 3.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.311/1.311, allocations: 223.3 MB / 242.1 MB, free: 9.973 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007806/0.0007806, allocations: 95.38 kB / 293.3 MB, free: 10.57 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.33/0.33, allocations: 44.14 MB / 388.5 MB, free: 38.47 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004312/0.0004312, allocations: 12 kB / 461.1 MB, free: 1.312 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3535/0.354, allocations: 61.87 MB / 0.5107 GB, free: 37.86 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.078/1.432, allocations: 430.7 MB / 0.9313 GB, free: 166.3 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002608/1.433, allocations: 100 kB / 0.9314 GB, free: 166.2 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.27/1.703, allocations: 135.2 MB / 1.063 GB, free: 33.98 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.926e-06/1.703, allocations: 3.938 kB / 1.063 GB, free: 33.97 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.072e-05/1.703, allocations: 24.16 kB / 1.063 GB, free: 33.95 MB / 0.5261 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.002571/1.705, allocations: 0.9693 MB / 1.064 GB, free: 32.93 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/1.705, allocations: 15.95 kB / 1.064 GB, free: 32.92 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000551/1.706, allocations: 88 kB / 1.064 GB, free: 32.83 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001185/1.707, allocations: 0.5608 MB / 1.065 GB, free: 32.23 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001094/1.707, allocations: 105.5 kB / 1.065 GB, free: 32.12 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001439/1.707, allocations: 51.98 kB / 1.065 GB, free: 32.07 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001291/1.709, allocations: 0.8127 MB / 1.066 GB, free: 31.18 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.812e-05/1.709, allocations: 4 kB / 1.066 GB, free: 31.18 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.181e-05/1.709, allocations: 20 kB / 1.066 GB, free: 31.16 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.305e-05/1.709, allocations: 44.97 kB / 1.066 GB, free: 31.11 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009969/1.71, allocations: 0.6322 MB / 1.067 GB, free: 30.48 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003972/1.714, allocations: 3.65 MB / 1.07 GB, free: 26.62 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006632/1.715, allocations: 404.1 kB / 1.071 GB, free: 26.21 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002761/1.715, allocations: 197.1 kB / 1.071 GB, free: 26.02 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004629/1.715, allocations: 0.7366 MB / 1.071 GB, free: 25.12 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.553e-05/1.715, allocations: 42.83 kB / 1.072 GB, free: 25.07 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=40): time 2.995e-06/1.715, allocations: 0 / 1.072 GB, free: 25.07 MB / 0.5261 GB Notification: Performance of matching and sorting (n=45): time 0.002991/1.718, allocations: 1.52 MB / 1.073 GB, free: 23.47 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.287e-05/1.718, allocations: 144.5 kB / 1.073 GB, free: 23.3 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005965/1.719, allocations: 0.5653 MB / 1.074 GB, free: 22.73 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.255e-05/1.719, allocations: 33.7 kB / 1.074 GB, free: 22.69 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001871/1.719, allocations: 354.9 kB / 1.074 GB, free: 22.34 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001042/1.719, allocations: 169.7 kB / 1.074 GB, free: 22.17 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.564e-05/1.719, allocations: 12 kB / 1.074 GB, free: 22.16 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.53e-05/1.72, allocations: 370.8 kB / 1.075 GB, free: 21.79 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003228/1.72, allocations: 213.9 kB / 1.075 GB, free: 21.58 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004287/1.72, allocations: 0.5084 MB / 1.075 GB, free: 20.93 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007953/1.721, allocations: 0.7484 MB / 1.076 GB, free: 20.05 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.736e-06/1.721, allocations: 4 kB / 1.076 GB, free: 20.05 MB / 0.5261 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001434/1.723, allocations: 0.8942 MB / 1.077 GB, free: 19.15 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.801e-05/1.723, allocations: 9.25 kB / 1.077 GB, free: 19.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.769e-05/1.723, allocations: 15.98 kB / 1.077 GB, free: 19.12 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00129/1.724, allocations: 277 kB / 1.077 GB, free: 18.85 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003557/1.724, allocations: 123.8 kB / 1.077 GB, free: 18.73 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008418/1.725, allocations: 0.8862 MB / 1.078 GB, free: 17.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006415/1.726, allocations: 51.89 kB / 1.078 GB, free: 17.77 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.884e-05/1.726, allocations: 39.98 kB / 1.078 GB, free: 17.73 MB / 0.5261 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.0003929/1.726, allocations: 249.4 kB / 1.079 GB, free: 17.48 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001824/1.727, allocations: 63.25 kB / 1.079 GB, free: 17.41 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00117/1.728, allocations: 0.7529 MB / 1.079 GB, free: 16.62 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-05/1.728, allocations: 8 kB / 1.079 GB, free: 16.61 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/1.728, allocations: 0 / 1.079 GB, free: 16.61 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.694e-06/1.728, allocations: 7.922 kB / 1.079 GB, free: 16.61 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001905/1.73, allocations: 1.395 MB / 1.081 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/1.73, allocations: 4.188 kB / 1.081 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009077/1.731, allocations: 195.8 kB / 1.081 GB, free: 14.92 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.672e-05/1.731, allocations: 28.78 kB / 1.081 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.343e-05/1.731, allocations: 15.98 kB / 1.081 GB, free: 14.87 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001689/1.732, allocations: 2.68 MB / 1.084 GB, free: 11.92 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/1.732, allocations: 3.984 kB / 1.084 GB, free: 11.92 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001381/1.734, allocations: 0.9917 MB / 1.085 GB, free: 10.87 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004547/1.734, allocations: 196.2 kB / 1.085 GB, free: 10.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001729/1.735, allocations: 20.05 kB / 1.085 GB, free: 10.64 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005546/1.735, allocations: 23.98 kB / 1.085 GB, free: 10.62 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001193/1.735, allocations: 39.89 kB / 1.085 GB, free: 10.58 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.569e-05/1.735, allocations: 23.98 kB / 1.085 GB, free: 10.55 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0006137/1.736, allocations: 411 kB / 1.085 GB, free: 10.16 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.01e-07/1.736, allocations: 0 / 1.085 GB, free: 10.16 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001265/1.737, allocations: 247.9 kB / 1.085 GB, free: 9.914 MB / 0.5261 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.0009966/1.738, allocations: 381.1 kB / 1.086 GB, free: 9.547 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.00138/1.74, allocations: 0.591 MB / 1.086 GB, free: 8.961 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/1.74, allocations: 448 / 1.086 GB, free: 8.961 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.000942/1.741, allocations: 458.2 kB / 1.087 GB, free: 8.5 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001761/1.742, allocations: 326.4 kB / 1.087 GB, free: 8.188 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002262/1.745, allocations: 1.618 MB / 1.089 GB, free: 6.516 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004039/1.745, allocations: 0.927 MB / 1.09 GB, free: 5.562 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0007231/1.746, allocations: 205.2 kB / 1.09 GB, free: 5.363 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001499/1.746, allocations: 67.36 kB / 1.09 GB, free: 5.297 MB / 0.5261 GB Notification: Performance of SimCode: time 5.92e-07/1.746, allocations: 0 / 1.09 GB, free: 5.297 MB / 0.5261 GB Notification: Performance of Templates: time 0.3371/2.083, allocations: 15.22 MB / 1.105 GB, free: 110.8 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/SimpleAir/SimpleAir.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches