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.001331/0.001331, allocations: 115.5 kB / 17.69 MB, free: 5.312 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.001285/0.001285, 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.296/1.296, allocations: 222.9 MB / 242.3 MB, free: 15.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009688/0.0009689, allocations: 50.52 kB / 302.1 MB, free: 5.195 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08117/0.08216, allocations: 49.44 MB / 351.5 MB, free: 3.734 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.2015/0.2837, allocations: 65.57 MB / 417.1 MB, free: 352 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006214/0.2899, allocations: 5.461 MB / 422.5 MB, free: 11.88 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002861/0.2903, allocations: 5.625 kB / 422.5 MB, free: 11.88 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000914/0.2912, allocations: 347.1 kB / 422.9 MB, free: 11.6 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008236/0.292, allocations: 0.5114 MB / 423.4 MB, free: 11.18 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01711/0.3092, allocations: 7.423 MB / 430.8 MB, free: 4.328 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001863/0.311, allocations: 1.543 MB / 432.4 MB, free: 2.777 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003231/0.3114, allocations: 221.6 kB / 432.6 MB, free: 2.559 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009015/0.3123, allocations: 0.6152 MB / 433.2 MB, free: 1.941 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007251/0.313, allocations: 0.5684 MB / 433.8 MB, free: 1.371 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001163/0.3132, allocations: 83.94 kB / 433.8 MB, free: 1.289 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01812/0.3313, allocations: 10.21 MB / 444 MB, free: 7.066 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004631/0.3318, allocations: 327.2 kB / 444.4 MB, free: 6.746 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006056/0.3324, allocations: 442.3 kB / 444.8 MB, free: 6.312 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01217/0.3446, allocations: 5.929 MB / 450.7 MB, free: 380 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.3446, allocations: 3.938 kB / 450.7 MB, free: 376 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3446, allocations: 0 / 450.7 MB, free: 376 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.09e-05/0.3447, allocations: 0 / 450.7 MB, free: 376 kB / 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.003249/0.3479, allocations: 1.569 MB / 452.3 MB, free: 14.75 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.348, allocations: 8.031 kB / 452.3 MB, free: 14.74 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004254/0.3484, allocations: 87.23 kB / 452.4 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006314/0.349, allocations: 436.9 kB / 452.8 MB, free: 14.19 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.467e-05/0.3491, allocations: 45.31 kB / 452.9 MB, free: 14.15 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.992e-05/0.3492, allocations: 71.94 kB / 452.9 MB, free: 14.08 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001658/0.3508, allocations: 0.8068 MB / 453.7 MB, free: 13.26 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.392e-05/0.3509, allocations: 3.906 kB / 453.7 MB, free: 13.26 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.972e-05/0.351, allocations: 29.12 kB / 453.8 MB, free: 13.23 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.579e-05/0.351, allocations: 16 kB / 453.8 MB, free: 13.21 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001816/0.3528, allocations: 1.028 MB / 454.8 MB, free: 12.19 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01641/0.3692, allocations: 12.78 MB / 467.6 MB, free: 13.27 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001678/0.3709, allocations: 0.7416 MB / 468.3 MB, free: 12.51 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005457/0.3715, allocations: 411.9 kB / 468.7 MB, free: 12.11 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01424/0.3857, allocations: 12.24 MB / 481 MB, free: 13.49 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.52e-05/0.3858, allocations: 43.22 kB / 481 MB, free: 13.43 MB / 398.1 MB Notification: Performance of pre-optimization done (n=78): time 2.484e-06/0.3858, allocations: 0 / 481 MB, free: 13.43 MB / 398.1 MB Notification: Performance of matching and sorting (n=88): time 0.00937/0.3952, allocations: 3.378 MB / 484.4 MB, free: 9.973 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.577e-05/0.3953, allocations: 60.41 kB / 484.5 MB, free: 9.898 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003856/0.3956, allocations: 356.5 kB / 484.8 MB, free: 9.547 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.315e-05/0.3957, allocations: 41.7 kB / 484.8 MB, free: 9.5 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001495/0.3959, allocations: 244.6 kB / 485.1 MB, free: 9.254 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001969/0.3961, allocations: 303.6 kB / 485.4 MB, free: 8.953 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002418/0.3963, allocations: 162.5 kB / 485.5 MB, free: 8.789 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001235/0.3965, allocations: 358.8 kB / 485.9 MB, free: 8.43 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005605/0.397, allocations: 373.8 kB / 486.3 MB, free: 8.062 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008912/0.3979, allocations: 492.2 kB / 486.7 MB, free: 7.547 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001686/0.3996, allocations: 0.9176 MB / 487.7 MB, free: 6.598 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.3996, allocations: 0 / 487.7 MB, free: 6.598 MB / 398.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002523/0.4022, allocations: 1.113 MB / 488.8 MB, free: 5.465 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.4022, allocations: 15.92 kB / 488.8 MB, free: 5.449 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/0.4022, allocations: 4 kB / 488.8 MB, free: 5.445 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008171/0.403, allocations: 163.5 kB / 488.9 MB, free: 5.273 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007515/0.4038, allocations: 195.7 kB / 489.1 MB, free: 5.082 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002767/0.4066, allocations: 4.105 MB / 493.2 MB, free: 0.6484 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003967/0.407, allocations: 20.03 kB / 493.3 MB, free: 0.6289 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.676e-05/0.4071, allocations: 52.22 kB / 493.3 MB, free: 0.5781 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.0003357/0.4074, allocations: 229.6 kB / 493.5 MB, free: 352 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004002/0.4079, allocations: 63.34 kB / 493.6 MB, free: 288 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002366/0.4102, allocations: 1.277 MB / 494.9 MB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.265e-06/0.4102, allocations: 12 kB / 494.9 MB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.365e-06/0.4103, allocations: 0 / 494.9 MB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001753/0.412, allocations: 1.32 MB / 496.2 MB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003092/0.4151, allocations: 1.96 MB / 498.2 MB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.4151, allocations: 0 / 498.2 MB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007115/0.4159, allocations: 171.8 kB / 498.3 MB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001788/0.4177, allocations: 289.2 kB / 498.6 MB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.901e-05/0.4177, allocations: 31.98 kB / 498.6 MB, free: 10.99 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007173/0.4185, allocations: 1.293 MB / 499.9 MB, free: 9.652 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.4185, allocations: 0 / 499.9 MB, free: 9.652 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002499/0.421, allocations: 1.425 MB / 0.4896 GB, free: 8.199 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001344/0.4211, allocations: 120.5 kB / 0.4897 GB, free: 8.062 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.887e-05/0.4212, allocations: 24.06 kB / 0.4898 GB, free: 8.039 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005094/0.4217, allocations: 27.98 kB / 0.4898 GB, free: 8.012 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.922e-05/0.4218, allocations: 52.92 kB / 0.4898 GB, free: 7.961 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.298e-05/0.4219, allocations: 43.97 kB / 0.4899 GB, free: 7.918 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000291/0.4222, allocations: 279 kB / 0.4901 GB, free: 7.648 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4223, allocations: 0 / 0.4901 GB, free: 7.648 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003291/0.4255, allocations: 1.409 MB / 0.4915 GB, free: 6.238 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.005046/0.4306, allocations: 1.732 MB / 0.4932 GB, free: 4.504 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002182/0.4328, allocations: 1.152 MB / 0.4943 GB, free: 3.32 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/0.4328, allocations: 4 kB / 0.4943 GB, free: 3.316 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008731/0.4337, allocations: 0.4913 MB / 0.4948 GB, free: 2.816 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00174/0.4355, allocations: 390 kB / 0.4952 GB, free: 2.438 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002672/0.4381, allocations: 1.647 MB / 0.4968 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004515/0.4386, allocations: 0.9127 MB / 0.4977 GB, free: 15.82 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000644/0.4393, allocations: 213.1 kB / 0.4979 GB, free: 15.61 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002025/0.4395, allocations: 83.34 kB / 0.498 GB, free: 15.52 MB / 430.1 MB Notification: Performance of SimCode: time 7.71e-07/0.4395, allocations: 0 / 0.498 GB, free: 15.52 MB / 430.1 MB Notification: Performance of Templates: time 0.1949/0.6344, allocations: 49.8 MB / 0.5466 GB, free: 153 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 gbode -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