Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.0008163/0.0008164, allocations: 92.81 kB / 16.65 MB, free: 6.535 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.0008936/0.0008937, allocations: 172.8 kB / 17.56 MB, free: 6.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.293/1.293, allocations: 223.3 MB / 241.6 MB, free: 216 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002276/0.0002276, allocations: 4 kB / 301.4 MB, free: 6.176 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08161/0.08186, allocations: 50.42 MB / 351.8 MB, free: 3.742 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.2141/0.296, allocations: 65.82 MB / 417.7 MB, free: 1.418 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006392/0.3025, allocations: 5.472 MB / 423.1 MB, free: 12.99 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000383/0.3029, allocations: 4.594 kB / 423.1 MB, free: 12.99 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008367/0.3037, allocations: 310.2 kB / 423.4 MB, free: 12.75 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008344/0.3046, allocations: 0.4927 MB / 423.9 MB, free: 12.35 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01624/0.3208, allocations: 6.254 MB / 430.2 MB, free: 6.281 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002368/0.3232, allocations: 2.308 MB / 432.5 MB, free: 3.965 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000284/0.3235, allocations: 161.4 kB / 432.6 MB, free: 3.805 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007389/0.3243, allocations: 0.5254 MB / 433.2 MB, free: 3.277 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006748/0.3249, allocations: 0.5761 MB / 433.7 MB, free: 2.699 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.228e-05/0.325, allocations: 36 kB / 433.8 MB, free: 2.664 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01709/0.3421, allocations: 10.36 MB / 444.1 MB, free: 8.289 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004072/0.3426, allocations: 279.2 kB / 444.4 MB, free: 8.016 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005529/0.3431, allocations: 404.2 kB / 444.8 MB, free: 7.613 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01069/0.3538, allocations: 5.999 MB / 450.8 MB, free: 1.602 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.309e-06/0.3539, allocations: 0 / 450.8 MB, free: 1.602 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.3539, allocations: 4 kB / 450.8 MB, free: 1.598 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.253e-05/0.3539, allocations: 0 / 450.8 MB, free: 1.598 MB / 350.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.003465/0.3574, allocations: 1.409 MB / 452.2 MB, free: 144 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.3574, allocations: 8.031 kB / 452.2 MB, free: 136 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003994/0.3578, allocations: 85.55 kB / 452.3 MB, free: 52 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005686/0.3584, allocations: 440.8 kB / 452.7 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.905e-05/0.3584, allocations: 49.31 kB / 452.8 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001019/0.3586, allocations: 60 kB / 452.8 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001746/0.3603, allocations: 0.8068 MB / 453.7 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.72e-05/0.3604, allocations: 11.89 kB / 453.7 MB, free: 14.65 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.363e-05/0.3604, allocations: 28 kB / 453.7 MB, free: 14.62 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.232e-05/0.3605, allocations: 16 kB / 453.7 MB, free: 14.61 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001882/0.3624, allocations: 1.024 MB / 454.7 MB, free: 13.58 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01705/0.3794, allocations: 12.82 MB / 467.6 MB, free: 14.62 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001856/0.3813, allocations: 0.7536 MB / 468.3 MB, free: 13.85 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006006/0.3819, allocations: 411.3 kB / 468.7 MB, free: 13.45 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01457/0.3965, allocations: 12.3 MB / 481 MB, free: 14.77 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.126e-05/0.3966, allocations: 51.14 kB / 481.1 MB, free: 14.7 MB / 398.1 MB Notification: Performance of pre-optimization done (n=78): time 2.645e-06/0.3966, allocations: 0 / 481.1 MB, free: 14.7 MB / 398.1 MB Notification: Performance of matching and sorting (n=88): time 0.009654/0.4063, allocations: 3.416 MB / 484.5 MB, free: 11.2 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.576e-05/0.4063, allocations: 64.41 kB / 484.5 MB, free: 11.12 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004136/0.4067, allocations: 356.5 kB / 484.9 MB, free: 10.77 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 8.884e-05/0.4068, allocations: 45.64 kB / 484.9 MB, free: 10.72 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001674/0.407, allocations: 240.6 kB / 485.2 MB, free: 10.48 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002238/0.4072, allocations: 307.6 kB / 485.5 MB, free: 10.17 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001016/0.4074, allocations: 73.67 kB / 485.5 MB, free: 10.09 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.00013/0.4075, allocations: 362.8 kB / 485.9 MB, free: 9.73 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005894/0.4081, allocations: 365.8 kB / 486.3 MB, free: 9.371 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008926/0.409, allocations: 496.2 kB / 486.7 MB, free: 8.855 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001673/0.4107, allocations: 0.902 MB / 487.6 MB, free: 7.922 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.307e-06/0.4107, allocations: 0 / 487.6 MB, free: 7.922 MB / 398.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002505/0.4132, allocations: 1.121 MB / 488.8 MB, free: 6.777 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.4132, allocations: 7.938 kB / 488.8 MB, free: 6.77 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.4132, allocations: 4 kB / 488.8 MB, free: 6.766 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008/0.414, allocations: 167.5 kB / 488.9 MB, free: 6.59 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007399/0.4148, allocations: 195.7 kB / 489.1 MB, free: 6.398 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002649/0.4175, allocations: 3.915 MB / 493 MB, free: 2.168 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005351/0.418, allocations: 60.09 kB / 493.1 MB, free: 2.109 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.474e-05/0.4181, allocations: 43.98 kB / 493.1 MB, free: 2.066 MB / 398.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.000351/0.4185, allocations: 230.2 kB / 493.4 MB, free: 1.832 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003786/0.4189, allocations: 63.34 kB / 493.4 MB, free: 1.77 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002372/0.4212, allocations: 1.284 MB / 494.7 MB, free: 460 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/0.4213, allocations: 8 kB / 494.7 MB, free: 452 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.045e-06/0.4213, allocations: 0 / 494.7 MB, free: 452 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001784/0.4231, allocations: 1.327 MB / 496.1 MB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003102/0.4262, allocations: 1.967 MB / 498 MB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.4262, allocations: 3.938 kB / 498 MB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006951/0.4269, allocations: 167.8 kB / 498.2 MB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001791/0.4287, allocations: 297.1 kB / 498.5 MB, free: 12.49 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.861e-05/0.4288, allocations: 27.98 kB / 498.5 MB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007344/0.4295, allocations: 1.293 MB / 499.8 MB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.4295, allocations: 4.031 kB / 499.8 MB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002487/0.432, allocations: 1.409 MB / 0.4895 GB, free: 9.68 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001766/0.4322, allocations: 144.4 kB / 0.4896 GB, free: 9.52 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.826e-05/0.4323, allocations: 23.98 kB / 0.4896 GB, free: 9.496 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006332/0.433, allocations: 55.75 kB / 0.4897 GB, free: 9.441 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.951e-05/0.4331, allocations: 56.92 kB / 0.4897 GB, free: 9.387 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.668e-05/0.4332, allocations: 43.97 kB / 0.4898 GB, free: 9.344 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003183/0.4335, allocations: 283 kB / 0.49 GB, free: 9.07 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4335, allocations: 0 / 0.49 GB, free: 9.07 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003609/0.4371, allocations: 1.394 MB / 0.4914 GB, free: 7.676 MB / 414.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.006012/0.4432, allocations: 1.737 MB / 0.4931 GB, free: 5.934 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002151/0.4453, allocations: 1.144 MB / 0.4942 GB, free: 4.754 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/0.4453, allocations: 8.188 kB / 0.4942 GB, free: 4.746 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009078/0.4463, allocations: 487.2 kB / 0.4947 GB, free: 4.266 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002112/0.4484, allocations: 386.8 kB / 0.4951 GB, free: 3.895 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002946/0.4513, allocations: 2.034 MB / 0.497 GB, free: 1.836 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004633/0.4518, allocations: 0.905 MB / 0.4979 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000792/0.4526, allocations: 209.3 kB / 0.4981 GB, free: 0.6992 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002268/0.4529, allocations: 83.41 kB / 0.4982 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of SimCode: time 2.81e-07/0.4529, allocations: 0 / 0.4982 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of Templates: time 0.2192/0.672, allocations: 48.96 MB / 0.546 GB, free: 153.2 MB / 446.1 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir2/MoistAir2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches