Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.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.ReferenceAir.MoistAir1,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.ReferenceAir.MoistAir1") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir1,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.ReferenceAir.MoistAir1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00156/0.00156, allocations: 111.9 kB / 18.37 MB, free: 4.73 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.001407/0.001408, allocations: 188.5 kB / 19.3 MB, free: 3.809 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.346/1.346, allocations: 205.1 MB / 225.2 MB, free: 12.29 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.001262/0.001262, allocations: 51.92 kB / 329.2 MB, free: 3.312 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08564/0.08691, allocations: 46.61 MB / 375.8 MB, free: 4.598 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.2409/0.3279, allocations: 50.7 MB / 426.5 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006389/0.3343, allocations: 5.2 MB / 431.7 MB, free: 6.227 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004367/0.3348, allocations: 9.031 kB / 431.7 MB, free: 6.223 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008915/0.3357, allocations: 244.7 kB / 431.9 MB, free: 6.023 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009336/0.3367, allocations: 370.2 kB / 432.3 MB, free: 5.723 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01987/0.3566, allocations: 6.747 MB / 439 MB, free: 336 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00152/0.3581, allocations: 1.091 MB / 440.1 MB, free: 15.23 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002784/0.3584, allocations: 150.4 kB / 440.3 MB, free: 15.09 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006859/0.3653, allocations: 3.601 MB / 443.9 MB, free: 11.47 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007158/0.366, allocations: 398.7 kB / 444.3 MB, free: 11.08 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001655/0.3662, allocations: 56 kB / 444.3 MB, free: 11.03 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01871/0.3849, allocations: 9.818 MB / 454.1 MB, free: 1.195 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004186/0.3854, allocations: 219.5 kB / 454.3 MB, free: 0.9805 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00059/0.386, allocations: 310.8 kB / 454.6 MB, free: 0.6758 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01356/0.3996, allocations: 5.477 MB / 460.1 MB, free: 11.19 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.406e-06/0.3996, allocations: 4 kB / 460.1 MB, free: 11.18 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3996, allocations: 0 / 460.1 MB, free: 11.18 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.504e-05/0.3997, allocations: 0 / 460.1 MB, free: 11.18 MB / 382.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.003936/0.4036, allocations: 1.342 MB / 461.5 MB, free: 9.793 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/0.4037, allocations: 15.89 kB / 461.5 MB, free: 9.777 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004138/0.4041, allocations: 59.42 kB / 461.5 MB, free: 9.719 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005909/0.4047, allocations: 377.9 kB / 461.9 MB, free: 9.309 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.064e-05/0.4048, allocations: 33 kB / 461.9 MB, free: 9.277 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001005/0.4049, allocations: 47.98 kB / 462 MB, free: 9.23 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001341/0.4062, allocations: 0.5829 MB / 462.6 MB, free: 8.645 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.451e-05/0.4063, allocations: 7.906 kB / 462.6 MB, free: 8.637 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.813e-05/0.4063, allocations: 20 kB / 462.6 MB, free: 8.617 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.035e-05/0.4064, allocations: 8 kB / 462.6 MB, free: 8.609 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001315/0.4077, allocations: 0.7495 MB / 463.4 MB, free: 7.855 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01585/0.4235, allocations: 11.95 MB / 475.3 MB, free: 9.832 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001329/0.4249, allocations: 0.5353 MB / 475.8 MB, free: 9.285 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003713/0.4253, allocations: 260.6 kB / 476.1 MB, free: 9.031 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01395/0.4393, allocations: 11.89 MB / 488 MB, free: 10.84 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.311e-05/0.4393, allocations: 43 kB / 488 MB, free: 10.79 MB / 414.1 MB Notification: Performance of pre-optimization done (n=50): time 2.876e-06/0.4394, allocations: 0 / 488 MB, free: 10.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=55): time 0.006133/0.4455, allocations: 2.116 MB / 490.1 MB, free: 8.582 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.81e-05/0.4456, allocations: 59.91 kB / 490.2 MB, free: 8.512 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003709/0.446, allocations: 326.9 kB / 490.5 MB, free: 8.18 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.341e-05/0.4461, allocations: 33.7 kB / 490.6 MB, free: 8.141 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001492/0.4462, allocations: 204.3 kB / 490.8 MB, free: 7.938 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001461/0.4464, allocations: 189.2 kB / 490.9 MB, free: 7.75 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001862/0.4466, allocations: 114.2 kB / 491.1 MB, free: 7.633 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.4467, allocations: 350.8 kB / 491.4 MB, free: 7.281 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003799/0.4471, allocations: 241 kB / 491.6 MB, free: 7.043 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006168/0.4477, allocations: 335.4 kB / 492 MB, free: 6.688 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001133/0.4489, allocations: 0.5995 MB / 492.6 MB, free: 6.055 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.4489, allocations: 4.812 kB / 492.6 MB, free: 6.051 MB / 414.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001818/0.4507, allocations: 0.744 MB / 493.3 MB, free: 5.289 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.75e-05/0.4507, allocations: 8 kB / 493.3 MB, free: 5.281 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.365e-05/0.4508, allocations: 4.219 kB / 493.3 MB, free: 5.277 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005218/0.4513, allocations: 114.4 kB / 493.4 MB, free: 5.156 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005131/0.4518, allocations: 127.8 kB / 493.6 MB, free: 5.031 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002635/0.4545, allocations: 3.472 MB / 497 MB, free: 1.254 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003559/0.4548, allocations: 24.25 kB / 497.1 MB, free: 1.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.665e-05/0.4549, allocations: 27.98 kB / 497.1 MB, free: 1.203 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (67): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003226/0.4553, allocations: 197.5 kB / 497.3 MB, free: 1 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003259/0.4556, allocations: 43.53 kB / 497.3 MB, free: 0.957 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001546/0.4572, allocations: 0.8189 MB / 498.1 MB, free: 108 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-06/0.4572, allocations: 4 kB / 498.1 MB, free: 104 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.504e-06/0.4572, allocations: 0 / 498.1 MB, free: 104 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001103/0.4583, allocations: 0.7596 MB / 498.9 MB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002107/0.4604, allocations: 1.301 MB / 0.4885 GB, free: 13.9 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/0.4604, allocations: 4 kB / 0.4885 GB, free: 13.89 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004547/0.4609, allocations: 99.94 kB / 0.4886 GB, free: 13.8 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000911/0.4618, allocations: 148.6 kB / 0.4887 GB, free: 13.65 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.626e-05/0.4619, allocations: 19.92 kB / 0.4887 GB, free: 13.63 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003922/0.4623, allocations: 0.6523 MB / 0.4894 GB, free: 12.95 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.4623, allocations: 0 / 0.4894 GB, free: 12.95 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001657/0.464, allocations: 0.9055 MB / 0.4903 GB, free: 12.03 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001398/0.4641, allocations: 116.6 kB / 0.4904 GB, free: 11.89 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.35e-05/0.4642, allocations: 12 kB / 0.4904 GB, free: 11.88 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004413/0.4646, allocations: 23.98 kB / 0.4904 GB, free: 11.86 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.699e-05/0.4647, allocations: 40.33 kB / 0.4904 GB, free: 11.82 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.01e-05/0.4648, allocations: 27.97 kB / 0.4905 GB, free: 11.79 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002869/0.4651, allocations: 257.9 kB / 0.4907 GB, free: 11.54 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4651, allocations: 3.938 kB / 0.4907 GB, free: 11.54 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004013/0.4691, allocations: 1.304 MB / 0.492 GB, free: 10.23 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006389/0.4755, allocations: 1.689 MB / 0.4936 GB, free: 8.539 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001754/0.4773, allocations: 0.8075 MB / 0.4944 GB, free: 7.699 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.4774, allocations: 0 / 0.4944 GB, free: 7.699 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006014/0.478, allocations: 291.8 kB / 0.4947 GB, free: 7.414 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001545/0.4795, allocations: 285.2 kB / 0.495 GB, free: 7.137 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002026/0.4816, allocations: 1.128 MB / 0.4961 GB, free: 5.965 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003892/0.482, allocations: 0.8326 MB / 0.4969 GB, free: 5.102 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002216/0.4822, allocations: 75.41 kB / 0.497 GB, free: 5.031 MB / 430.1 MB Notification: Performance of SimCode: time 1.202e-06/0.4822, allocations: 3.938 kB / 0.497 GB, free: 5.027 MB / 430.1 MB Notification: Performance of Templates: time 0.04973/0.532, allocations: 35.03 MB / 0.5312 GB, free: 1.934 MB / 462.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/MoistAir1/MoistAir1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches