Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.conf.json 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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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) Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008397/0.0008395, allocations: 91.36 kB / 16.95 MB, free: 6.109 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008743/0.0008744, allocations: 177.9 kB / 17.83 MB, free: 5.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.419/1.419, allocations: 205.4 MB / 224 MB, free: 13.07 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004821/0.0004822, allocations: 16 kB / 280.8 MB, free: 3.711 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.1074, allocations: 47.58 MB / 328.4 MB, free: 4.055 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir): time 0.4234/0.5308, allocations: 169.7 MB / 498.1 MB, free: 288 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006074/0.537, allocations: 4.436 MB / 0.4907 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005686/0.5376, allocations: 4 kB / 0.4907 GB, free: 11.83 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008181/0.5384, allocations: 175 kB / 0.4909 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001023/0.5395, allocations: 362.1 kB / 0.4912 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008816/0.5483, allocations: 2.167 MB / 0.4933 GB, free: 9.133 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001806/0.5501, allocations: 1.395 MB / 0.4947 GB, free: 7.734 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002733/0.5504, allocations: 101.5 kB / 0.4948 GB, free: 7.629 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003767/0.5542, allocations: 1.205 MB / 0.496 GB, free: 6.422 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001/0.5552, allocations: 414.7 kB / 0.4964 GB, free: 6.016 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001442/0.5553, allocations: 28 kB / 0.4964 GB, free: 5.988 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00749/0.5628, allocations: 3.487 MB / 0.4998 GB, free: 2.496 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004293/0.5633, allocations: 191.5 kB / 0.5 GB, free: 2.309 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003283/0.5636, allocations: 137.5 kB / 0.5001 GB, free: 2.168 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003842/0.5675, allocations: 1.883 MB / 0.502 GB, free: 288 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.341e-05/0.5675, allocations: 3.938 kB / 0.502 GB, free: 284 kB / 398.1 MB Notification: Performance of FrontEnd: time 4.96e-06/0.5676, allocations: 4 kB / 0.502 GB, free: 280 kB / 398.1 MB Notification: Performance of Transformations before backend: time 3.289e-05/0.5676, allocations: 0 / 0.502 GB, free: 280 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.002689/0.5703, allocations: 1.037 MB / 0.503 GB, free: 15.19 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.5704, allocations: 8.031 kB / 0.503 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004188/0.5708, allocations: 63.38 kB / 0.5031 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006287/0.5714, allocations: 354 kB / 0.5034 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.932e-05/0.5715, allocations: 37 kB / 0.5034 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.791e-05/0.5716, allocations: 40 kB / 0.5035 GB, free: 14.65 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001028/0.5726, allocations: 0.5022 MB / 0.504 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.314e-05/0.5726, allocations: 7.922 kB / 0.504 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.947e-05/0.5727, allocations: 24 kB / 0.504 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.204e-05/0.5727, allocations: 11.94 kB / 0.504 GB, free: 14.1 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001101/0.5738, allocations: 0.6011 MB / 0.5046 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00373/0.5776, allocations: 2.168 MB / 0.5067 GB, free: 11.11 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001217/0.5788, allocations: 0.56 MB / 0.5072 GB, free: 10.54 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004015/0.5792, allocations: 262 kB / 0.5075 GB, free: 10.29 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005626/0.5798, allocations: 0.6931 MB / 0.5082 GB, free: 9.445 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.476e-05/0.5799, allocations: 46.98 kB / 0.5082 GB, free: 9.391 MB / 414.1 MB Notification: Performance of pre-optimization done (n=53): time 2.364e-06/0.5799, allocations: 0 / 0.5082 GB, free: 9.391 MB / 414.1 MB Notification: Performance of matching and sorting (n=65): time 0.01358/0.5935, allocations: 3.796 MB / 0.5119 GB, free: 5.496 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.664e-05/0.5936, allocations: 63.97 kB / 0.512 GB, free: 5.422 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004169/0.594, allocations: 294.6 kB / 0.5123 GB, free: 5.125 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001007/0.5941, allocations: 41.7 kB / 0.5123 GB, free: 5.078 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001356/0.5943, allocations: 189.2 kB / 0.5125 GB, free: 4.891 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002115/0.5945, allocations: 228.7 kB / 0.5127 GB, free: 4.664 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.172e-05/0.5946, allocations: 12 kB / 0.5127 GB, free: 4.652 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002171/0.5948, allocations: 354.8 kB / 0.5131 GB, free: 4.297 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007187/0.5955, allocations: 309.1 kB / 0.5134 GB, free: 3.996 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007778/0.5963, allocations: 393.9 kB / 0.5137 GB, free: 3.594 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008044/0.5971, allocations: 355.1 kB / 0.5141 GB, free: 3.25 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/0.5971, allocations: 0 / 0.5141 GB, free: 3.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002257/0.5994, allocations: 0.9795 MB / 0.515 GB, free: 2.254 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.915e-05/0.5994, allocations: 4 kB / 0.515 GB, free: 2.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/0.5995, allocations: 4 kB / 0.515 GB, free: 2.246 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001568/0.601, allocations: 350.3 kB / 0.5154 GB, free: 1.895 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005508/0.6016, allocations: 123.8 kB / 0.5155 GB, free: 1.773 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003663/0.6053, allocations: 3.522 MB / 0.5189 GB, free: 13.96 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006511/0.6059, allocations: 63.91 kB / 0.519 GB, free: 13.9 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.372e-05/0.606, allocations: 31.98 kB / 0.519 GB, free: 13.87 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (68): * Single equations (assignments): 65 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 6,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003682/0.6064, allocations: 189.7 kB / 0.5192 GB, free: 13.68 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001422/0.6065, allocations: 47.52 kB / 0.5192 GB, free: 13.63 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002679/0.6092, allocations: 1.033 MB / 0.5202 GB, free: 12.57 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.314e-05/0.6093, allocations: 8 kB / 0.5203 GB, free: 12.57 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.6093, allocations: 11.89 kB / 0.5203 GB, free: 12.55 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002116/0.6114, allocations: 1.075 MB / 0.5213 GB, free: 11.41 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003252/0.6147, allocations: 1.721 MB / 0.523 GB, free: 9.625 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.96e-06/0.6147, allocations: 0 / 0.523 GB, free: 9.625 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005328/0.6152, allocations: 111.9 kB / 0.5231 GB, free: 9.516 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001865/0.6171, allocations: 392.4 kB / 0.5235 GB, free: 9.129 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.594e-05/0.6172, allocations: 23.98 kB / 0.5235 GB, free: 9.105 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00132/0.6185, allocations: 0.8879 MB / 0.5244 GB, free: 8.191 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.6185, allocations: 0 / 0.5244 GB, free: 8.191 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002745/0.6213, allocations: 1.356 MB / 0.5257 GB, free: 6.812 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001978/0.6215, allocations: 128.6 kB / 0.5258 GB, free: 6.668 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.636e-05/0.6216, allocations: 19.98 kB / 0.5258 GB, free: 6.648 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006478/0.6223, allocations: 56.05 kB / 0.5259 GB, free: 6.594 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.004e-05/0.6224, allocations: 52.42 kB / 0.5259 GB, free: 6.543 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.582e-05/0.6224, allocations: 31.97 kB / 0.526 GB, free: 6.512 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002706/0.6227, allocations: 221.9 kB / 0.5262 GB, free: 6.293 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6227, allocations: 0 / 0.5262 GB, free: 6.293 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001623/0.6244, allocations: 451.6 kB / 0.5266 GB, free: 5.852 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],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 (62): * Single equations (assignments): 61 * 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 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0016/0.626, allocations: 0.5571 MB / 0.5272 GB, free: 5.285 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002207/0.6282, allocations: 1.001 MB / 0.5281 GB, free: 4.262 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.788e-06/0.6282, allocations: 0 / 0.5281 GB, free: 4.262 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000925/0.6291, allocations: 419.2 kB / 0.5285 GB, free: 3.848 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001432/0.6306, allocations: 297.4 kB / 0.5288 GB, free: 3.559 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00302/0.6336, allocations: 1.552 MB / 0.5303 GB, free: 1.98 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004578/0.6341, allocations: 0.8532 MB / 0.5312 GB, free: 1.098 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000664/0.6348, allocations: 128.5 kB / 0.5313 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00018/0.6349, allocations: 55.42 kB / 0.5313 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of SimCode: time 6.31e-07/0.6349, allocations: 0 / 0.5313 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of Templates: time 0.2383/0.8733, allocations: 20.75 MB / 0.5516 GB, free: 155.1 MB / 430.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir_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/MoistAir/MoistAir.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches