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.002668/0.002674, allocations: 182.5 kB / 16.4 MB, free: 5.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.338/3.338, allocations: 205.4 MB / 222.5 MB, free: 9.098 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.001842/0.001842, allocations: 89.48 kB / 270.9 MB, free: 8.363 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006346/0.0006347, allocations: 8 kB / 327 MB, free: 192 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5265/0.5272, allocations: 47.57 MB / 374.5 MB, free: 45.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir): time 0.2966/0.8238, allocations: 121.9 MB / 496.4 MB, free: 6.656 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.005139/0.829, allocations: 1.516 MB / 498 MB, free: 5.137 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005475/0.8297, allocations: 7.938 kB / 498 MB, free: 5.129 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001208/0.8309, allocations: 147.3 kB / 498.1 MB, free: 4.984 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001285/0.8322, allocations: 215.4 kB / 498.3 MB, free: 4.773 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002347/0.8346, allocations: 346.5 kB / 498.7 MB, free: 4.445 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001573/0.8362, allocations: 459.1 kB / 499.1 MB, free: 3.996 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003305/0.8366, allocations: 80.58 kB / 499.2 MB, free: 3.922 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001384/0.838, allocations: 307.1 kB / 499.5 MB, free: 3.621 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000783/0.8388, allocations: 207.3 kB / 499.7 MB, free: 3.418 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 9.882e-05/0.8389, allocations: 16 kB / 499.7 MB, free: 3.402 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006444/0.8396, allocations: 75.89 kB / 499.8 MB, free: 3.328 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001971/0.8398, allocations: 79.77 kB / 499.8 MB, free: 3.25 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002164/0.8401, allocations: 93.58 kB / 499.9 MB, free: 3.152 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001049/0.8411, allocations: 364 kB / 0.4886 GB, free: 2.797 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.8412, allocations: 0 / 0.4886 GB, free: 2.797 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.817e-06/0.8412, allocations: 0 / 0.4886 GB, free: 2.797 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.559e-05/0.8412, allocations: 0 / 0.4886 GB, free: 2.797 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.001585/0.8428, allocations: 0.5224 MB / 0.4891 GB, free: 2.227 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.799e-05/0.8429, allocations: 8.031 kB / 0.4891 GB, free: 2.219 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006512/0.8436, allocations: 51.55 kB / 0.4891 GB, free: 2.168 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008378/0.8445, allocations: 274.6 kB / 0.4894 GB, free: 1.859 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.901e-05/0.8446, allocations: 16.56 kB / 0.4894 GB, free: 1.844 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000101/0.8447, allocations: 27.91 kB / 0.4894 GB, free: 1.816 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001253/0.8459, allocations: 301.3 kB / 0.4897 GB, free: 1.504 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.202e-05/0.846, allocations: 3.953 kB / 0.4897 GB, free: 1.5 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.287e-05/0.8461, allocations: 12 kB / 0.4897 GB, free: 1.488 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.16e-05/0.8462, allocations: 12 kB / 0.4898 GB, free: 1.477 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000851/0.847, allocations: 202 kB / 0.4899 GB, free: 1.277 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4028/1.25, allocations: 1.286 MB / 0.4912 GB, free: 123.3 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00104/1.251, allocations: 184.2 kB / 0.4914 GB, free: 123.3 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002857/1.251, allocations: 168.9 kB / 0.4915 GB, free: 123.1 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.654e-05/1.251, allocations: 36.25 kB / 0.4916 GB, free: 123 MB / 378.7 MB Notification: Performance of pre-optimization done (n=21): time 4.599e-06/1.251, allocations: 0.5625 kB / 0.4916 GB, free: 123 MB / 378.7 MB Notification: Performance of matching and sorting (n=26): time 0.006625/1.258, allocations: 1.049 MB / 0.4926 GB, free: 122.5 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.908e-05/1.258, allocations: 54.34 kB / 0.4927 GB, free: 122.5 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006956/1.259, allocations: 256.6 kB / 0.4929 GB, free: 122.4 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001055/1.259, allocations: 31.98 kB / 0.4929 GB, free: 122.3 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001847/1.259, allocations: 234.9 kB / 0.4932 GB, free: 122.1 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001513/1.259, allocations: 99.64 kB / 0.4932 GB, free: 122 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.343e-05/1.259, allocations: 5.062 kB / 0.4933 GB, free: 122 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001007/1.26, allocations: 322.8 kB / 0.4936 GB, free: 121.7 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003927/1.26, allocations: 87.5 kB / 0.4936 GB, free: 121.7 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004502/1.26, allocations: 181.5 kB / 0.4938 GB, free: 121.5 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005111/1.261, allocations: 105 kB / 0.4939 GB, free: 121.5 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.068e-05/1.261, allocations: 5.156 kB / 0.4939 GB, free: 121.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001535/1.263, allocations: 433.9 kB / 0.4943 GB, free: 121.2 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.538e-05/1.263, allocations: 6.875 kB / 0.4943 GB, free: 121.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.237e-05/1.263, allocations: 2.75 kB / 0.4943 GB, free: 121.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003309/1.263, allocations: 43.86 kB / 0.4944 GB, free: 121.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009434/1.264, allocations: 76.39 kB / 0.4945 GB, free: 121.1 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00338/1.267, allocations: 2.582 MB / 0.497 GB, free: 118.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007659/1.268, allocations: 28.77 kB / 0.497 GB, free: 118.4 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.414e-05/1.268, allocations: 16.47 kB / 0.497 GB, free: 118.4 MB / 378.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.0004069/1.269, allocations: 158.6 kB / 0.4972 GB, free: 118.3 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001932/1.269, allocations: 26.5 kB / 0.4972 GB, free: 118.3 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001369/1.27, allocations: 350.8 kB / 0.4975 GB, free: 118 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.19e-05/1.271, allocations: 6.172 kB / 0.4975 GB, free: 118 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.038e-05/1.271, allocations: 5.016 kB / 0.4975 GB, free: 118 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001199/1.272, allocations: 0.6177 MB / 0.4981 GB, free: 117.4 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002431/1.274, allocations: 0.7539 MB / 0.4989 GB, free: 116.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.347e-06/1.274, allocations: 0.9375 kB / 0.4989 GB, free: 116.7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008194/1.275, allocations: 57.95 kB / 0.4989 GB, free: 116.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000213/1.276, allocations: 25.25 kB / 0.499 GB, free: 116.7 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.482e-05/1.276, allocations: 10.44 kB / 0.499 GB, free: 116.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001506/1.277, allocations: 1.291 MB / 0.5002 GB, free: 115.3 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.452e-06/1.277, allocations: 1 kB / 0.5002 GB, free: 115.3 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00166/1.279, allocations: 0.5232 MB / 0.5007 GB, free: 114.9 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002303/1.279, allocations: 101 kB / 0.5008 GB, free: 114.8 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001069/1.279, allocations: 7.688 kB / 0.5009 GB, free: 114.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007431/1.28, allocations: 23.69 kB / 0.5009 GB, free: 114.8 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001039/1.28, allocations: 15.53 kB / 0.5009 GB, free: 114.8 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.481e-05/1.28, allocations: 16.77 kB / 0.5009 GB, free: 114.8 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004496/1.281, allocations: 178.7 kB / 0.5011 GB, free: 114.7 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.72e-07/1.281, allocations: 5.312 kB / 0.5011 GB, free: 114.7 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001336/1.282, allocations: 106.8 kB / 0.5012 GB, free: 114.6 MB / 378.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.0004585/1.283, allocations: 125.1 kB / 0.5013 GB, free: 114.5 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001606/1.284, allocations: 449.3 kB / 0.5017 GB, free: 114.2 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.236e-05/1.284, allocations: 4 kB / 0.5017 GB, free: 114.2 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007133/1.285, allocations: 218.8 kB / 0.5019 GB, free: 114 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002681/1.288, allocations: 157.1 kB / 0.5021 GB, free: 114 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002848/1.291, allocations: 0.8284 MB / 0.5029 GB, free: 113.3 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003948/1.291, allocations: 0.7693 MB / 0.5037 GB, free: 112.6 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000287/1.292, allocations: 34.55 kB / 0.5037 GB, free: 112.6 MB / 378.7 MB Notification: Performance of SimCode: time 1.603e-06/1.292, allocations: 0 / 0.5037 GB, free: 112.6 MB / 378.7 MB Notification: Performance of Templates: time 0.02272/1.314, allocations: 6.164 MB / 0.5097 GB, free: 108.6 MB / 378.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/jenkins1/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