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.0009855/0.0009856, allocations: 179.6 kB / 14.15 MB, free: 1.176 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.262/1.262, allocations: 221.3 MB / 236 MB, free: 2.945 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008687/0.0008687, allocations: 84.05 kB / 287 MB, free: 232 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1953/0.1953, allocations: 44.16 MB / 382 MB, free: 14.66 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.165e-05/3.167e-05, allocations: 12.2 kB / 451.8 MB, free: 9.395 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.1397, allocations: 61.91 MB / 0.5017 GB, free: 11.43 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.334/1.474, allocations: 430.5 MB / 0.9221 GB, free: 193.7 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003309/1.474, allocations: 93.86 kB / 0.9222 GB, free: 193.7 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.2669/1.741, allocations: 135.9 MB / 1.055 GB, free: 82.07 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.843e-06/1.741, allocations: 0 / 1.055 GB, free: 82.07 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.812e-05/1.741, allocations: 23.92 kB / 1.055 GB, free: 82.05 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.001623/1.743, allocations: 0.8964 MB / 1.056 GB, free: 81.11 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/1.743, allocations: 12.03 kB / 1.056 GB, free: 81.09 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002977/1.743, allocations: 91.05 kB / 1.056 GB, free: 81 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008784/1.744, allocations: 0.5481 MB / 1.056 GB, free: 80.42 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.882e-05/1.744, allocations: 108.4 kB / 1.057 GB, free: 80.3 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.004e-05/1.744, allocations: 48 kB / 1.057 GB, free: 80.25 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009939/1.745, allocations: 0.7902 MB / 1.057 GB, free: 79.39 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/1.745, allocations: 0 / 1.057 GB, free: 79.39 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.677e-05/1.745, allocations: 27.98 kB / 1.057 GB, free: 79.36 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.626e-05/1.746, allocations: 44.92 kB / 1.057 GB, free: 79.32 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007714/1.746, allocations: 0.6168 MB / 1.058 GB, free: 78.7 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003303/1.75, allocations: 3.671 MB / 1.062 GB, free: 74.81 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00061/1.75, allocations: 400.2 kB / 1.062 GB, free: 74.41 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002382/1.751, allocations: 193.5 kB / 1.062 GB, free: 74.22 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004485/1.751, allocations: 0.7366 MB / 1.063 GB, free: 73.32 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.001e-05/1.751, allocations: 42.88 kB / 1.063 GB, free: 73.27 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=40): time 2.165e-06/1.751, allocations: 0 / 1.063 GB, free: 73.27 MB / 0.5261 GB Notification: Performance of matching and sorting (n=45): time 0.002431/1.753, allocations: 1.354 MB / 1.064 GB, free: 71.84 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.771e-05/1.754, allocations: 140.5 kB / 1.064 GB, free: 71.67 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004813/1.754, allocations: 0.493 MB / 1.065 GB, free: 71.17 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.814e-05/1.754, allocations: 37.7 kB / 1.065 GB, free: 71.13 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001569/1.754, allocations: 351.1 kB / 1.065 GB, free: 70.78 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 9.394e-05/1.754, allocations: 165.6 kB / 1.065 GB, free: 70.62 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.682e-05/1.754, allocations: 16 kB / 1.065 GB, free: 70.6 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.995e-05/1.754, allocations: 378.8 kB / 1.066 GB, free: 70.22 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002761/1.755, allocations: 201.5 kB / 1.066 GB, free: 70.03 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000367/1.755, allocations: 0.4946 MB / 1.066 GB, free: 69.39 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003528/1.755, allocations: 304.2 kB / 1.067 GB, free: 69.1 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/1.755, allocations: 0 / 1.067 GB, free: 69.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001165/1.757, allocations: 0.8789 MB / 1.068 GB, free: 68.21 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/1.757, allocations: 8 kB / 1.068 GB, free: 68.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/1.757, allocations: 8 kB / 1.068 GB, free: 68.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001178/1.758, allocations: 278.4 kB / 1.068 GB, free: 67.92 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003289/1.758, allocations: 123.8 kB / 1.068 GB, free: 67.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007518/1.759, allocations: 0.8772 MB / 1.069 GB, free: 66.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004988/1.759, allocations: 47.97 kB / 1.069 GB, free: 66.85 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-05/1.76, allocations: 35.98 kB / 1.069 GB, free: 66.82 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 () * 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.000143/1.76, allocations: 160.7 kB / 1.069 GB, free: 66.65 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.051e-05/1.76, allocations: 71.2 kB / 1.069 GB, free: 66.58 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001003/1.761, allocations: 0.7485 MB / 1.07 GB, free: 65.8 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.097e-06/1.761, allocations: 8 kB / 1.07 GB, free: 65.79 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/1.761, allocations: 3.938 kB / 1.07 GB, free: 65.79 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.593e-06/1.761, allocations: 3.984 kB / 1.07 GB, free: 65.79 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001505/1.762, allocations: 1.391 MB / 1.071 GB, free: 64.29 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/1.762, allocations: 0 / 1.071 GB, free: 64.29 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009172/1.763, allocations: 211.9 kB / 1.071 GB, free: 64.09 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.391e-05/1.763, allocations: 24.84 kB / 1.071 GB, free: 64.06 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.969e-05/1.763, allocations: 8 kB / 1.071 GB, free: 64.05 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001307/1.765, allocations: 2.703 MB / 1.074 GB, free: 61.08 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/1.765, allocations: 0 / 1.074 GB, free: 61.08 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001038/1.766, allocations: 1.041 MB / 1.075 GB, free: 59.95 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002569/1.766, allocations: 208.2 kB / 1.075 GB, free: 59.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.333e-05/1.766, allocations: 12 kB / 1.075 GB, free: 59.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004081/1.767, allocations: 27.98 kB / 1.075 GB, free: 59.69 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.052e-05/1.767, allocations: 40 kB / 1.075 GB, free: 59.65 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.111e-05/1.767, allocations: 19.98 kB / 1.075 GB, free: 59.63 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003962/1.767, allocations: 403.2 kB / 1.076 GB, free: 59.23 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.61e-07/1.767, allocations: 4 kB / 1.076 GB, free: 59.23 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0008559/1.768, allocations: 239.9 kB / 1.076 GB, free: 58.99 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 () * 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.0006433/1.769, allocations: 369.8 kB / 1.076 GB, free: 58.62 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001025/1.77, allocations: 0.5797 MB / 1.077 GB, free: 58.04 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/1.77, allocations: 4 kB / 1.077 GB, free: 58.04 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0008453/1.771, allocations: 442.2 kB / 1.077 GB, free: 57.59 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001435/1.772, allocations: 320.4 kB / 1.078 GB, free: 57.29 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001595/1.774, allocations: 0.9909 MB / 1.079 GB, free: 56.26 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003459/1.774, allocations: 0.9544 MB / 1.08 GB, free: 55.28 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0006394/1.775, allocations: 213.7 kB / 1.08 GB, free: 55.07 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001498/1.775, allocations: 59.42 kB / 1.08 GB, free: 55.01 MB / 0.5261 GB Notification: Performance of SimCode: time 7.22e-07/1.775, allocations: 0 / 1.08 GB, free: 55.01 MB / 0.5261 GB Notification: Performance of Templates: time 0.02083/1.796, allocations: 15.28 MB / 1.095 GB, free: 39.82 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/jenkins/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