Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.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) 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(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009143/0.0009142, allocations: 175.1 kB / 16.72 MB, free: 5.055 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.36/1.36, allocations: 205.4 MB / 222.9 MB, free: 9.027 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.0007372/0.0007372, allocations: 93.3 kB / 271.2 MB, free: 8.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003403/0.0003405, allocations: 15.98 kB / 327.5 MB, free: 15.88 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.251/0.2513, allocations: 47.57 MB / 375.1 MB, free: 45.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir): time 0.3637/0.615, allocations: 130.6 MB / 0.4938 GB, free: 2.098 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001891/0.617, allocations: 1.631 MB / 0.4954 GB, free: 2.047 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000195/0.6172, allocations: 2.375 kB / 0.4954 GB, free: 2.047 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005283/0.6177, allocations: 140.1 kB / 0.4955 GB, free: 2.039 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004728/0.6182, allocations: 311.3 kB / 0.4958 GB, free: 2.023 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008574/0.6191, allocations: 351.7 kB / 0.4962 GB, free: 2.012 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008288/0.6199, allocations: 1.065 MB / 0.4972 GB, free: 2.012 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001706/0.6201, allocations: 80.69 kB / 0.4973 GB, free: 2 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000478/0.6206, allocations: 350.2 kB / 0.4976 GB, free: 1.996 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003564/0.6209, allocations: 315.7 kB / 0.4979 GB, free: 1.996 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.011e-05/0.621, allocations: 14.91 kB / 0.4979 GB, free: 1.996 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003066/0.6213, allocations: 141.6 kB / 0.4981 GB, free: 1.992 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.875e-05/0.6214, allocations: 78.97 kB / 0.4981 GB, free: 1.992 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001566/0.6216, allocations: 185.1 kB / 0.4983 GB, free: 1.961 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003134/0.6219, allocations: 381.2 kB / 0.4987 GB, free: 1.934 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.6219, allocations: 0 / 0.4987 GB, free: 1.934 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.6219, allocations: 0 / 0.4987 GB, free: 1.934 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.481e-06/0.6219, allocations: 0 / 0.4987 GB, free: 1.934 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0008291/0.6227, allocations: 0.5228 MB / 0.4992 GB, free: 17.5 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.6228, allocations: 8.781 kB / 0.4992 GB, free: 17.5 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002528/0.623, allocations: 46.47 kB / 0.4992 GB, free: 17.48 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003272/0.6234, allocations: 282.8 kB / 0.4995 GB, free: 17.26 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.942e-05/0.6234, allocations: 17.38 kB / 0.4995 GB, free: 17.26 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.989e-05/0.6235, allocations: 31.03 kB / 0.4996 GB, free: 17.26 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004331/0.6239, allocations: 294.2 kB / 0.4998 GB, free: 17.19 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.554e-05/0.6239, allocations: 6.906 kB / 0.4998 GB, free: 17.18 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.379e-05/0.624, allocations: 12.12 kB / 0.4999 GB, free: 17.18 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.265e-06/0.624, allocations: 8.75 kB / 0.4999 GB, free: 17.18 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002891/0.6243, allocations: 202.6 kB / 0.5001 GB, free: 17.18 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00158/0.6259, allocations: 1.293 MB / 0.5013 GB, free: 16.3 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003436/0.6262, allocations: 200.1 kB / 0.5015 GB, free: 16.27 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001452/0.6264, allocations: 85.42 kB / 0.5016 GB, free: 16.26 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001512/0.6265, allocations: 169.4 kB / 0.5018 GB, free: 16.07 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.148e-05/0.6266, allocations: 35.56 kB / 0.5018 GB, free: 16.03 MB / 394.7 MB Notification: Performance of pre-optimization done (n=21): time 1.553e-06/0.6266, allocations: 0 / 0.5018 GB, free: 16.03 MB / 394.7 MB Notification: Performance of matching and sorting (n=26): time 0.002242/0.6288, allocations: 1.046 MB / 0.5028 GB, free: 15.51 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.852e-05/0.6289, allocations: 54.19 kB / 0.5029 GB, free: 15.45 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002378/0.6291, allocations: 264.8 kB / 0.5031 GB, free: 15.33 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.924e-05/0.6292, allocations: 28.7 kB / 0.5031 GB, free: 15.3 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.114e-05/0.6293, allocations: 178.1 kB / 0.5033 GB, free: 15.18 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.753e-05/0.6293, allocations: 94.34 kB / 0.5034 GB, free: 15.12 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.453e-05/0.6293, allocations: 6.25 kB / 0.5034 GB, free: 15.12 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001247/0.6295, allocations: 332.9 kB / 0.5037 GB, free: 14.8 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001373/0.6296, allocations: 83.64 kB / 0.5038 GB, free: 14.8 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001641/0.6298, allocations: 186.5 kB / 0.504 GB, free: 14.68 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003039/0.6301, allocations: 287.2 kB / 0.5043 GB, free: 14.56 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.6301, allocations: 3.469 kB / 0.5043 GB, free: 14.56 MB / 394.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005812/0.6307, allocations: 435.9 kB / 0.5047 GB, free: 14.39 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.6307, allocations: 9.719 kB / 0.5047 GB, free: 14.39 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.6307, allocations: 3.531 kB / 0.5047 GB, free: 14.39 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001379/0.6309, allocations: 41.69 kB / 0.5047 GB, free: 14.38 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002995/0.6312, allocations: 76.69 kB / 0.5048 GB, free: 14.38 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001756/0.633, allocations: 2.567 MB / 0.5073 GB, free: 11.86 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002265/0.6332, allocations: 22.92 kB / 0.5073 GB, free: 11.86 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.272e-05/0.6332, allocations: 28.77 kB / 0.5074 GB, free: 11.85 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001641/0.6334, allocations: 151.1 kB / 0.5075 GB, free: 11.73 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.55e-05/0.6335, allocations: 28.72 kB / 0.5075 GB, free: 11.72 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005465/0.634, allocations: 358.8 kB / 0.5079 GB, free: 11.56 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.634, allocations: 6.844 kB / 0.5079 GB, free: 11.56 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.6341, allocations: 0.5625 kB / 0.5079 GB, free: 11.56 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005131/0.6346, allocations: 0.6135 MB / 0.5085 GB, free: 11.02 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008805/0.6355, allocations: 0.752 MB / 0.5092 GB, free: 10.6 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.6355, allocations: 10 kB / 0.5092 GB, free: 10.59 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000282/0.6358, allocations: 55.02 kB / 0.5093 GB, free: 10.59 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.519e-05/0.6358, allocations: 24.3 kB / 0.5093 GB, free: 10.59 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.835e-05/0.6359, allocations: 8.812 kB / 0.5093 GB, free: 10.59 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008222/0.6367, allocations: 1.281 MB / 0.5106 GB, free: 9.324 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.6367, allocations: 3.344 kB / 0.5106 GB, free: 9.324 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005737/0.6373, allocations: 0.5123 MB / 0.5111 GB, free: 9.051 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.828e-05/0.6374, allocations: 104.2 kB / 0.5112 GB, free: 8.945 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.516e-05/0.6374, allocations: 3 kB / 0.5112 GB, free: 8.945 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000244/0.6377, allocations: 18.41 kB / 0.5112 GB, free: 8.941 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.134e-05/0.6377, allocations: 17.05 kB / 0.5112 GB, free: 8.941 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.865e-05/0.6378, allocations: 16.69 kB / 0.5112 GB, free: 8.941 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000221/0.638, allocations: 186.2 kB / 0.5114 GB, free: 8.859 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.638, allocations: 2.906 kB / 0.5114 GB, free: 8.859 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005672/0.6386, allocations: 109 kB / 0.5115 GB, free: 8.852 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (25): * Single equations (assignments): 24 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003185/0.6389, allocations: 131.8 kB / 0.5116 GB, free: 8.762 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000711/0.6396, allocations: 447.8 kB / 0.512 GB, free: 8.539 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.6396, allocations: 1.812 kB / 0.5121 GB, free: 8.539 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002331/0.6399, allocations: 226.7 kB / 0.5123 GB, free: 8.422 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008911/0.6408, allocations: 163.7 kB / 0.5124 GB, free: 8.402 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001105/0.6419, allocations: 0.8294 MB / 0.5132 GB, free: 7.93 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003191/0.6422, allocations: 0.7681 MB / 0.514 GB, free: 7.227 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.912e-05/0.6423, allocations: 30.31 kB / 0.514 GB, free: 7.219 MB / 394.7 MB Notification: Performance of SimCode: time 1.192e-06/0.6423, allocations: 0 / 0.514 GB, free: 7.219 MB / 394.7 MB Notification: Performance of Templates: time 0.0104/0.6527, allocations: 6.358 MB / 0.5202 GB, free: 6.68 MB / 394.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Air/SimpleAir/SimpleAir.csv","../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches