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.0009308/0.0009308, allocations: 177.1 kB / 8.005 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.715/1.715, allocations: 205.3 MB / 213.7 MB, free: 1.68 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008915/0.0008915, allocations: 98.22 kB / 261.8 MB, free: 1.613 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.2208/0.2208, allocations: 43.5 MB / 353.2 MB, free: 260 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.708e-05/1.709e-05, allocations: 0 / 418.3 MB, free: 28.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1223/0.1223, allocations: 58.85 MB / 477.1 MB, free: 1.621 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.119/1.241, allocations: 429 MB / 0.8848 GB, free: 7.367 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003512/1.242, allocations: 91.38 kB / 0.8849 GB, free: 7.316 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.5621/1.804, allocations: 132.4 MB / 1.014 GB, free: 84.03 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.883e-06/1.804, allocations: 0 / 1.014 GB, free: 84.03 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.673e-05/1.804, allocations: 19.59 kB / 1.014 GB, free: 84.01 MB / 0.4948 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.001743/1.806, allocations: 0.8996 MB / 1.015 GB, free: 83.07 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/1.806, allocations: 12.03 kB / 1.015 GB, free: 83.06 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003201/1.806, allocations: 84.06 kB / 1.015 GB, free: 82.98 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008436/1.807, allocations: 0.5462 MB / 1.016 GB, free: 82.4 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.59e-05/1.807, allocations: 88.72 kB / 1.016 GB, free: 82.3 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.025e-05/1.807, allocations: 28 kB / 1.016 GB, free: 82.27 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007429/1.808, allocations: 0.5531 MB / 1.016 GB, free: 81.72 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008543/1.809, allocations: 0.7275 MB / 1.017 GB, free: 80.92 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.966e-05/1.809, allocations: 0 / 1.017 GB, free: 80.92 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.027e-05/1.809, allocations: 8 kB / 1.017 GB, free: 80.91 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.623e-05/1.809, allocations: 41.28 kB / 1.017 GB, free: 80.87 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003383/1.812, allocations: 3.802 MB / 1.021 GB, free: 76.84 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004684/1.813, allocations: 311.6 kB / 1.021 GB, free: 76.53 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002062/1.813, allocations: 157.4 kB / 1.021 GB, free: 76.38 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003198/1.813, allocations: 0.495 MB / 1.022 GB, free: 75.77 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.567e-05/1.813, allocations: 46.84 kB / 1.022 GB, free: 75.71 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=34): time 1.834e-06/1.813, allocations: 0 / 1.022 GB, free: 75.71 MB / 0.4948 GB Notification: Performance of matching and sorting (n=39): time 0.002742/1.816, allocations: 1.3 MB / 1.023 GB, free: 74.34 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.835e-05/1.816, allocations: 132.5 kB / 1.023 GB, free: 74.18 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003971/1.817, allocations: 446 kB / 1.024 GB, free: 73.75 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.616e-05/1.817, allocations: 25.7 kB / 1.024 GB, free: 73.71 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001673/1.817, allocations: 379.1 kB / 1.024 GB, free: 73.34 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 8.702e-05/1.817, allocations: 141.9 kB / 1.024 GB, free: 73.2 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.582e-05/1.817, allocations: 0 / 1.024 GB, free: 73.2 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.838e-05/1.817, allocations: 370.8 kB / 1.025 GB, free: 72.82 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00023/1.817, allocations: 189.5 kB / 1.025 GB, free: 72.64 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003365/1.818, allocations: 486.3 kB / 1.025 GB, free: 72.03 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005733/1.818, allocations: 316.4 kB / 1.026 GB, free: 71.72 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/1.818, allocations: 7.938 kB / 1.026 GB, free: 71.71 MB / 0.4948 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001672/1.82, allocations: 0.8551 MB / 1.026 GB, free: 70.84 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/1.82, allocations: 8 kB / 1.026 GB, free: 70.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.375e-05/1.82, allocations: 12 kB / 1.026 GB, free: 70.82 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009241/1.821, allocations: 241.3 kB / 1.027 GB, free: 70.59 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003412/1.821, allocations: 123.8 kB / 1.027 GB, free: 70.46 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000776/1.822, allocations: 0.8996 MB / 1.028 GB, free: 69.54 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004775/1.822, allocations: 43.98 kB / 1.028 GB, free: 69.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.213e-05/1.822, allocations: 35.98 kB / 1.028 GB, free: 69.46 MB / 0.4948 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.0001323/1.823, allocations: 132.7 kB / 1.028 GB, free: 69.32 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.619e-05/1.823, allocations: 63.25 kB / 1.028 GB, free: 69.26 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001052/1.824, allocations: 0.6281 MB / 1.028 GB, free: 68.61 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.867e-06/1.824, allocations: 4 kB / 1.028 GB, free: 68.61 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/1.824, allocations: 7.953 kB / 1.029 GB, free: 68.6 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/1.824, allocations: 3.984 kB / 1.029 GB, free: 68.59 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001823/1.826, allocations: 1.516 MB / 1.03 GB, free: 66.95 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/1.826, allocations: 8.188 kB / 1.03 GB, free: 66.94 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009354/1.827, allocations: 199.7 kB / 1.03 GB, free: 66.74 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.722e-05/1.827, allocations: 16.84 kB / 1.03 GB, free: 66.72 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.864e-05/1.827, allocations: 12 kB / 1.03 GB, free: 66.71 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001237/1.828, allocations: 2.581 MB / 1.033 GB, free: 63.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/1.828, allocations: 0 / 1.033 GB, free: 63.9 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001099/1.829, allocations: 0.9934 MB / 1.034 GB, free: 62.82 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002053/1.829, allocations: 204.3 kB / 1.034 GB, free: 62.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.415e-05/1.829, allocations: 4 kB / 1.034 GB, free: 62.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003955/1.83, allocations: 15.98 kB / 1.034 GB, free: 62.58 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.615e-05/1.83, allocations: 39.97 kB / 1.034 GB, free: 62.54 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.263e-05/1.83, allocations: 27.92 kB / 1.034 GB, free: 62.51 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0003297/1.83, allocations: 326.9 kB / 1.034 GB, free: 62.2 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.5e-07/1.83, allocations: 0 / 1.034 GB, free: 62.2 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0008614/1.831, allocations: 223.9 kB / 1.035 GB, free: 61.98 MB / 0.4948 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 (44): * Single equations (assignments): 40 * 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.0006586/1.832, allocations: 360.1 kB / 1.035 GB, free: 61.64 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000817/1.833, allocations: 0.5215 MB / 1.035 GB, free: 61.12 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/1.833, allocations: 0 / 1.035 GB, free: 61.12 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007685/1.833, allocations: 410.6 kB / 1.036 GB, free: 60.71 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001186/1.835, allocations: 259.9 kB / 1.036 GB, free: 60.46 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00141/1.836, allocations: 0.9506 MB / 1.037 GB, free: 59.46 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003292/1.836, allocations: 0.9458 MB / 1.038 GB, free: 58.48 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0005757/1.837, allocations: 201.2 kB / 1.038 GB, free: 58.29 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001277/1.837, allocations: 55.42 kB / 1.038 GB, free: 58.23 MB / 0.4948 GB Notification: Performance of SimCode: time 2.51e-07/1.837, allocations: 0 / 1.038 GB, free: 58.23 MB / 0.4948 GB Notification: Performance of Templates: time 0.01875/1.856, allocations: 12.7 MB / 1.05 GB, free: 45.59 MB / 0.4948 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/jenkins/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