Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.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.MoistAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p|volume1.medium.T|volume1.medium.Xi.1.|volume1.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p|volume1.medium.T|volume1.medium.Xi.1.|volume1.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001695/0.001695, allocations: 111.7 kB / 17.73 MB, free: 5.359 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.002086/0.002086, allocations: 188.1 kB / 18.66 MB, free: 4.438 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.378/1.378, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.001249/0.001249, allocations: 51.92 kB / 328.5 MB, free: 3.285 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07772/0.07898, allocations: 46.62 MB / 375.2 MB, free: 4.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.2364/0.3154, allocations: 65.73 MB / 440.9 MB, free: 13.79 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006821/0.3222, allocations: 5.457 MB / 446.3 MB, free: 8.312 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003293/0.3226, allocations: 4 kB / 446.4 MB, free: 8.309 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001072/0.3237, allocations: 354 kB / 446.7 MB, free: 7.961 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008489/0.3246, allocations: 0.5088 MB / 447.2 MB, free: 7.449 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02059/0.3452, allocations: 7.076 MB / 454.3 MB, free: 368 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001853/0.347, allocations: 1.551 MB / 455.8 MB, free: 14.8 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003153/0.3474, allocations: 218.3 kB / 456 MB, free: 14.58 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007879/0.3482, allocations: 0.6308 MB / 456.7 MB, free: 13.95 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007055/0.3489, allocations: 0.5644 MB / 457.2 MB, free: 13.38 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001363/0.349, allocations: 80 kB / 457.3 MB, free: 13.3 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01748/0.3665, allocations: 10.1 MB / 467.4 MB, free: 3.195 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004096/0.367, allocations: 319.2 kB / 467.7 MB, free: 2.883 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006301/0.3676, allocations: 438.4 kB / 468.2 MB, free: 2.453 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01354/0.3812, allocations: 5.918 MB / 474.1 MB, free: 12.52 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.441e-06/0.3812, allocations: 3.938 kB / 474.1 MB, free: 12.52 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.3812, allocations: 0 / 474.1 MB, free: 12.52 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.01e-05/0.3812, allocations: 0 / 474.1 MB, free: 12.52 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.003359/0.3846, allocations: 1.552 MB / 475.6 MB, free: 10.92 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.3846, allocations: 12.03 kB / 475.6 MB, free: 10.91 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004354/0.3851, allocations: 83.73 kB / 475.7 MB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000577/0.3857, allocations: 452.7 kB / 476.2 MB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.475e-05/0.3857, allocations: 45.31 kB / 476.2 MB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001072/0.3858, allocations: 60 kB / 476.3 MB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001702/0.3875, allocations: 0.8107 MB / 477.1 MB, free: 9.418 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.188e-05/0.3876, allocations: 2.438 kB / 477.1 MB, free: 9.418 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.454e-05/0.3877, allocations: 28 kB / 477.1 MB, free: 9.391 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.762e-05/0.3877, allocations: 20 kB / 477.1 MB, free: 9.371 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001784/0.3895, allocations: 1.024 MB / 478.2 MB, free: 8.348 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01665/0.4061, allocations: 12.78 MB / 490.9 MB, free: 9.422 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001716/0.4079, allocations: 0.7452 MB / 491.7 MB, free: 8.664 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005472/0.4084, allocations: 406.7 kB / 492.1 MB, free: 8.266 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0142/0.4227, allocations: 12.24 MB / 0.4925 GB, free: 9.645 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.663e-05/0.4227, allocations: 43.22 kB / 0.4925 GB, free: 9.594 MB / 430.1 MB Notification: Performance of pre-optimization done (n=78): time 5.23e-06/0.4228, allocations: 7.984 kB / 0.4925 GB, free: 9.586 MB / 430.1 MB Notification: Performance of matching and sorting (n=88): time 0.00969/0.4325, allocations: 3.388 MB / 0.4959 GB, free: 6.121 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.545e-05/0.4325, allocations: 60.41 kB / 0.4959 GB, free: 6.047 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004162/0.433, allocations: 364.5 kB / 0.4963 GB, free: 5.684 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.073e-05/0.4331, allocations: 41.7 kB / 0.4963 GB, free: 5.637 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001692/0.4332, allocations: 232.7 kB / 0.4965 GB, free: 5.406 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002238/0.4335, allocations: 311.5 kB / 0.4968 GB, free: 5.098 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002776/0.4338, allocations: 158.6 kB / 0.497 GB, free: 4.938 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001839/0.4339, allocations: 358.8 kB / 0.4973 GB, free: 4.578 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000582/0.4345, allocations: 373.8 kB / 0.4977 GB, free: 4.211 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009166/0.4355, allocations: 492.2 kB / 0.4981 GB, free: 3.699 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001696/0.4372, allocations: 0.9059 MB / 0.499 GB, free: 2.766 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.4372, allocations: 0 / 0.499 GB, free: 2.766 MB / 430.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002627/0.4398, allocations: 1.113 MB / 0.5001 GB, free: 1.629 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.104e-05/0.4399, allocations: 11.94 kB / 0.5001 GB, free: 1.617 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/0.4399, allocations: 4 kB / 0.5001 GB, free: 1.613 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000836/0.4407, allocations: 167.6 kB / 0.5003 GB, free: 1.438 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007643/0.4415, allocations: 195.7 kB / 0.5005 GB, free: 1.246 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003303/0.4448, allocations: 4.109 MB / 0.5045 GB, free: 12.81 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000536/0.4454, allocations: 20.03 kB / 0.5045 GB, free: 12.79 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.676e-05/0.4455, allocations: 47.92 kB / 0.5045 GB, free: 12.75 MB / 446.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 (102): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {2, 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.0004285/0.4459, allocations: 225.6 kB / 0.5048 GB, free: 12.52 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004282/0.4464, allocations: 63.42 kB / 0.5048 GB, free: 12.45 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002316/0.4487, allocations: 1.284 MB / 0.5061 GB, free: 11.13 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.033e-05/0.4487, allocations: 15.98 kB / 0.5061 GB, free: 11.12 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.4487, allocations: 0 / 0.5061 GB, free: 11.12 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001827/0.4506, allocations: 1.32 MB / 0.5074 GB, free: 9.672 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003041/0.4536, allocations: 1.96 MB / 0.5093 GB, free: 7.637 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.4536, allocations: 0 / 0.5093 GB, free: 7.637 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007192/0.4544, allocations: 167.8 kB / 0.5095 GB, free: 7.473 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001739/0.4561, allocations: 293.2 kB / 0.5097 GB, free: 7.18 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.997e-05/0.4562, allocations: 27.98 kB / 0.5098 GB, free: 7.152 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007238/0.4569, allocations: 1.293 MB / 0.511 GB, free: 5.812 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.4569, allocations: 0 / 0.511 GB, free: 5.812 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002606/0.4596, allocations: 1.421 MB / 0.5124 GB, free: 4.363 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002243/0.4598, allocations: 124.4 kB / 0.5125 GB, free: 4.223 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001081/0.4599, allocations: 24.06 kB / 0.5126 GB, free: 4.199 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005538/0.4605, allocations: 27.98 kB / 0.5126 GB, free: 4.172 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.738e-05/0.4606, allocations: 52.92 kB / 0.5126 GB, free: 4.121 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.03e-05/0.4607, allocations: 43.97 kB / 0.5127 GB, free: 4.078 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003166/0.461, allocations: 283 kB / 0.5129 GB, free: 3.805 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.461, allocations: 0 / 0.5129 GB, free: 3.805 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004402/0.4654, allocations: 1.394 MB / 0.5143 GB, free: 2.41 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (volume.medium.p,volume.medium.Xi[1],volume.medium.T,volume1.medium.p,volume1.medium.Xi[1],volume1.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 (84): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006522/0.472, allocations: 1.748 MB / 0.516 GB, free: 0.6562 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002472/0.4745, allocations: 1.16 MB / 0.5171 GB, free: 15.46 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.4745, allocations: 0 / 0.5171 GB, free: 15.46 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009321/0.4754, allocations: 495.9 kB / 0.5176 GB, free: 14.97 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002138/0.4776, allocations: 393.9 kB / 0.518 GB, free: 14.58 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002787/0.4804, allocations: 1.661 MB / 0.5196 GB, free: 12.89 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004846/0.4809, allocations: 0.9128 MB / 0.5205 GB, free: 11.95 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0007076/0.4816, allocations: 205.2 kB / 0.5207 GB, free: 11.75 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002232/0.4818, allocations: 83.34 kB / 0.5208 GB, free: 11.67 MB / 462.1 MB Notification: Performance of SimCode: time 6.62e-07/0.4819, allocations: 0 / 0.5208 GB, free: 11.67 MB / 462.1 MB Notification: Performance of Templates: time 0.2248/0.7067, allocations: 51.41 MB / 0.571 GB, free: 152.2 MB / 478.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/MoistAir2/MoistAir2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches