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.001059/0.001059, allocations: 117.7 kB / 17.7 MB, free: 5.305 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.001111/0.001111, allocations: 191 kB / 18.63 MB, free: 4.379 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.299/1.299, allocations: 222.9 MB / 242.3 MB, free: 15.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009535/0.0009535, allocations: 45.58 kB / 302 MB, free: 5.199 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08551/0.08648, allocations: 49.46 MB / 351.5 MB, free: 3.723 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.2063/0.2928, allocations: 65.56 MB / 417.1 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006334/0.2992, allocations: 5.461 MB / 422.5 MB, free: 12.12 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002369/0.2995, allocations: 13.22 kB / 422.5 MB, free: 12.11 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008653/0.3004, allocations: 344.7 kB / 422.9 MB, free: 11.83 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007418/0.3012, allocations: 0.5061 MB / 423.4 MB, free: 11.41 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01664/0.3178, allocations: 7.418 MB / 430.8 MB, free: 4.488 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001638/0.3195, allocations: 1.555 MB / 432.4 MB, free: 2.926 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002971/0.3198, allocations: 217.6 kB / 432.6 MB, free: 2.711 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007201/0.3205, allocations: 0.623 MB / 433.2 MB, free: 2.086 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006289/0.3211, allocations: 0.5645 MB / 433.8 MB, free: 1.52 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001108/0.3213, allocations: 84 kB / 433.8 MB, free: 1.438 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02003/0.3413, allocations: 10.2 MB / 444 MB, free: 7.223 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005849/0.3419, allocations: 327.2 kB / 444.4 MB, free: 6.902 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007895/0.3427, allocations: 438.4 kB / 444.8 MB, free: 6.473 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01726/0.36, allocations: 5.941 MB / 450.7 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.047e-06/0.3601, allocations: 3.938 kB / 450.7 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.3601, allocations: 0 / 450.7 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.395e-05/0.3601, allocations: 0 / 450.7 MB, free: 0.5195 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.005502/0.3656, allocations: 1.565 MB / 452.3 MB, free: 14.91 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.3657, allocations: 8.031 kB / 452.3 MB, free: 14.9 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000681/0.3664, allocations: 87.23 kB / 452.4 MB, free: 14.81 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009322/0.3673, allocations: 440.8 kB / 452.8 MB, free: 14.34 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.425e-05/0.3674, allocations: 45.31 kB / 452.9 MB, free: 14.3 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001406/0.3675, allocations: 64 kB / 452.9 MB, free: 14.24 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002701/0.3702, allocations: 0.8068 MB / 453.7 MB, free: 13.42 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.25e-05/0.3703, allocations: 3.906 kB / 453.7 MB, free: 13.42 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001044/0.3704, allocations: 32 kB / 453.8 MB, free: 13.39 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.309e-05/0.3704, allocations: 16 kB / 453.8 MB, free: 13.37 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00289/0.3733, allocations: 1.028 MB / 454.8 MB, free: 12.34 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02294/0.3963, allocations: 12.78 MB / 467.6 MB, free: 13.42 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002505/0.3989, allocations: 0.7413 MB / 468.3 MB, free: 12.66 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008543/0.3997, allocations: 407.9 kB / 468.7 MB, free: 12.27 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01637/0.4161, allocations: 12.24 MB / 481 MB, free: 13.64 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.928e-05/0.4162, allocations: 51.22 kB / 481 MB, free: 13.58 MB / 398.1 MB Notification: Performance of pre-optimization done (n=78): time 2.445e-06/0.4162, allocations: 0 / 481 MB, free: 13.58 MB / 398.1 MB Notification: Performance of matching and sorting (n=88): time 0.009481/0.4257, allocations: 3.367 MB / 484.4 MB, free: 10.12 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.749e-05/0.4258, allocations: 68.34 kB / 484.5 MB, free: 10.04 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000585/0.4264, allocations: 356.5 kB / 484.8 MB, free: 9.691 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001082/0.4265, allocations: 41.7 kB / 484.8 MB, free: 9.645 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001922/0.4267, allocations: 236.6 kB / 485.1 MB, free: 9.406 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000261/0.427, allocations: 303.6 kB / 485.4 MB, free: 9.105 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003168/0.4273, allocations: 166.5 kB / 485.5 MB, free: 8.938 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001661/0.4275, allocations: 358.8 kB / 485.9 MB, free: 8.578 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007036/0.4282, allocations: 373.8 kB / 486.3 MB, free: 8.211 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001141/0.4293, allocations: 496.2 kB / 486.7 MB, free: 7.691 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002035/0.4314, allocations: 0.8982 MB / 487.6 MB, free: 6.762 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.4314, allocations: 0 / 487.6 MB, free: 6.762 MB / 398.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002993/0.4344, allocations: 1.117 MB / 488.8 MB, free: 5.625 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/0.4344, allocations: 7.938 kB / 488.8 MB, free: 5.617 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/0.4344, allocations: 7.984 kB / 488.8 MB, free: 5.609 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008992/0.4353, allocations: 167.5 kB / 488.9 MB, free: 5.434 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007072/0.4361, allocations: 191.8 kB / 489.1 MB, free: 5.246 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002697/0.4388, allocations: 4.12 MB / 493.2 MB, free: 0.7969 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004166/0.4392, allocations: 16 kB / 493.3 MB, free: 0.7812 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-05/0.4393, allocations: 47.92 kB / 493.3 MB, free: 0.7344 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.0003404/0.4397, allocations: 226.2 kB / 493.5 MB, free: 0.5039 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003809/0.44, allocations: 67.33 kB / 493.6 MB, free: 448 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002315/0.4424, allocations: 1.285 MB / 494.9 MB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.746e-06/0.4424, allocations: 8 kB / 494.9 MB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.4424, allocations: 0 / 494.9 MB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001729/0.4441, allocations: 1.312 MB / 496.2 MB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0031/0.4472, allocations: 1.972 MB / 498.2 MB, free: 11.63 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.908e-06/0.4473, allocations: 0 / 498.2 MB, free: 11.63 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000728/0.448, allocations: 171.8 kB / 498.3 MB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001748/0.4498, allocations: 293.2 kB / 498.6 MB, free: 11.17 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.358e-05/0.4498, allocations: 31.98 kB / 498.6 MB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007309/0.4506, allocations: 1.285 MB / 499.9 MB, free: 9.805 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/0.4506, allocations: 7.938 kB / 499.9 MB, free: 9.797 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002506/0.4531, allocations: 1.414 MB / 0.4896 GB, free: 8.355 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001417/0.4533, allocations: 128.6 kB / 0.4897 GB, free: 8.211 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.19e-05/0.4534, allocations: 16 kB / 0.4897 GB, free: 8.195 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004835/0.4538, allocations: 27.98 kB / 0.4898 GB, free: 8.168 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.599e-05/0.4539, allocations: 64.86 kB / 0.4898 GB, free: 8.105 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001023/0.4541, allocations: 43.97 kB / 0.4899 GB, free: 8.062 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003005/0.4544, allocations: 279 kB / 0.4901 GB, free: 7.793 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4544, allocations: 4 kB / 0.4901 GB, free: 7.789 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003356/0.4577, allocations: 1.398 MB / 0.4915 GB, free: 6.391 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.004693/0.4624, allocations: 1.738 MB / 0.4932 GB, free: 4.652 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002047/0.4645, allocations: 1.148 MB / 0.4943 GB, free: 3.473 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.4645, allocations: 4 kB / 0.4943 GB, free: 3.469 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000867/0.4654, allocations: 499.8 kB / 0.4948 GB, free: 2.973 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00166/0.4671, allocations: 390 kB / 0.4952 GB, free: 2.59 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002685/0.4698, allocations: 1.659 MB / 0.4968 GB, free: 0.9023 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004828/0.4703, allocations: 0.9127 MB / 0.4977 GB, free: 15.96 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000651/0.4709, allocations: 205.1 kB / 0.4979 GB, free: 15.75 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000202/0.4711, allocations: 79.34 kB / 0.498 GB, free: 15.68 MB / 430.1 MB Notification: Performance of SimCode: time 4.5e-07/0.4711, allocations: 0 / 0.498 GB, free: 15.68 MB / 430.1 MB Notification: Performance of Templates: time 0.2017/0.6728, allocations: 49.8 MB / 0.5466 GB, free: 153.4 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir2/MoistAir2.csv","/var/lib/jenkins1/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