Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 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.MoistAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_4.0.0_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_4.0.0_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.00101/0.00101, allocations: 108.3 kB / 17.68 MB, free: 5.332 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.001096/0.001096, allocations: 192 kB / 18.62 MB, free: 4.41 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.281/1.281, allocations: 222.9 MB / 242.3 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009486/0.0009487, allocations: 43.92 kB / 302 MB, free: 5.168 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08376/0.08472, allocations: 49.45 MB / 351.5 MB, free: 3.703 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.1906/0.2753, allocations: 50.53 MB / 402 MB, free: 12.43 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005974/0.2813, allocations: 5.186 MB / 407.2 MB, free: 8.285 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001989/0.2816, allocations: 8.562 kB / 407.2 MB, free: 8.281 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006925/0.2823, allocations: 252.2 kB / 407.5 MB, free: 8.074 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005785/0.2829, allocations: 362.5 kB / 407.8 MB, free: 7.781 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0161/0.299, allocations: 7.106 MB / 414.9 MB, free: 2.922 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001233/0.3003, allocations: 1.095 MB / 416 MB, free: 2.309 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002246/0.3005, allocations: 141.8 kB / 416.2 MB, free: 2.234 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005983/0.3065, allocations: 3.59 MB / 419.7 MB, free: 15.37 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004862/0.307, allocations: 398.7 kB / 420.1 MB, free: 14.98 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.76e-05/0.3071, allocations: 60 kB / 420.2 MB, free: 14.92 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01602/0.3231, allocations: 9.924 MB / 430.1 MB, free: 4.977 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003042/0.3234, allocations: 231.5 kB / 430.3 MB, free: 4.75 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004279/0.3239, allocations: 306.9 kB / 430.6 MB, free: 4.449 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01369/0.3376, allocations: 5.497 MB / 436.1 MB, free: 14.94 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.198e-05/0.3377, allocations: 0 / 436.1 MB, free: 14.94 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.435e-06/0.3377, allocations: 0 / 436.1 MB, free: 14.94 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.076e-05/0.3377, allocations: 0 / 436.1 MB, free: 14.94 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.004001/0.3417, allocations: 1.37 MB / 437.5 MB, free: 13.52 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.3417, allocations: 11.89 kB / 437.5 MB, free: 13.51 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003334/0.3421, allocations: 59.52 kB / 437.6 MB, free: 13.45 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005627/0.3427, allocations: 373.8 kB / 437.9 MB, free: 13.05 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.348e-05/0.3427, allocations: 33 kB / 438 MB, free: 13.02 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.027e-05/0.3428, allocations: 40 kB / 438 MB, free: 12.98 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001276/0.3441, allocations: 0.5882 MB / 438.6 MB, free: 12.38 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.741e-05/0.3441, allocations: 0 / 438.6 MB, free: 12.38 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.28e-05/0.3442, allocations: 20 kB / 438.6 MB, free: 12.36 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.02e-05/0.3442, allocations: 12 kB / 438.6 MB, free: 12.35 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001284/0.3455, allocations: 0.7456 MB / 439.4 MB, free: 11.6 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01539/0.3609, allocations: 11.96 MB / 451.3 MB, free: 13.57 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001212/0.3621, allocations: 0.5236 MB / 451.9 MB, free: 13.04 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003645/0.3625, allocations: 261.6 kB / 452.1 MB, free: 12.79 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0139/0.3764, allocations: 11.89 MB / 464 MB, free: 14.59 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.595e-05/0.3765, allocations: 46.94 kB / 464.1 MB, free: 14.53 MB / 382.1 MB Notification: Performance of pre-optimization done (n=50): time 3.827e-06/0.3765, allocations: 4 kB / 464.1 MB, free: 14.53 MB / 382.1 MB Notification: Performance of matching and sorting (n=55): time 0.00558/0.3821, allocations: 2.113 MB / 466.2 MB, free: 12.33 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.866e-05/0.3821, allocations: 63.91 kB / 466.2 MB, free: 12.26 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000333/0.3825, allocations: 318.8 kB / 466.6 MB, free: 11.94 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.114e-05/0.3825, allocations: 41.69 kB / 466.6 MB, free: 11.89 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001194/0.3826, allocations: 192.4 kB / 466.8 MB, free: 11.7 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000136/0.3828, allocations: 193.2 kB / 467 MB, free: 11.51 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001754/0.383, allocations: 118.1 kB / 467.1 MB, free: 11.39 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001263/0.3831, allocations: 346.8 kB / 467.4 MB, free: 11.04 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003751/0.3835, allocations: 241 kB / 467.7 MB, free: 10.8 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006442/0.3841, allocations: 340.2 kB / 468 MB, free: 10.44 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001159/0.3853, allocations: 0.5917 MB / 468.6 MB, free: 9.812 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.3853, allocations: 11.94 kB / 468.6 MB, free: 9.801 MB / 382.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001787/0.3871, allocations: 0.7479 MB / 469.3 MB, free: 9.039 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.3871, allocations: 4 kB / 469.3 MB, free: 9.035 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.3872, allocations: 4 kB / 469.3 MB, free: 9.031 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004659/0.3876, allocations: 114.7 kB / 469.5 MB, free: 8.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005064/0.3881, allocations: 127.8 kB / 469.6 MB, free: 8.785 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002272/0.3904, allocations: 3.48 MB / 473.1 MB, free: 5.004 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002822/0.3907, allocations: 12 kB / 473.1 MB, free: 4.992 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.089e-05/0.3908, allocations: 28.19 kB / 473.1 MB, free: 4.965 MB / 382.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.0002432/0.3911, allocations: 201.6 kB / 473.3 MB, free: 4.758 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002925/0.3914, allocations: 43.62 kB / 473.3 MB, free: 4.715 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001543/0.3929, allocations: 0.8189 MB / 474.2 MB, free: 3.863 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.3929, allocations: 8 kB / 474.2 MB, free: 3.855 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.853e-06/0.3929, allocations: 4 kB / 474.2 MB, free: 3.852 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001103/0.394, allocations: 0.7596 MB / 474.9 MB, free: 3.02 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002019/0.3961, allocations: 1.297 MB / 476.2 MB, free: 1.656 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.3961, allocations: 0 / 476.2 MB, free: 1.656 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004336/0.3965, allocations: 99.88 kB / 476.3 MB, free: 1.559 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009057/0.3974, allocations: 152.6 kB / 476.5 MB, free: 1.406 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.253e-05/0.3975, allocations: 19.94 kB / 476.5 MB, free: 1.387 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004035/0.3979, allocations: 0.6484 MB / 477.1 MB, free: 0.7148 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.3979, allocations: 4.031 kB / 477.2 MB, free: 0.7109 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001663/0.3996, allocations: 0.9016 MB / 478.1 MB, free: 15.78 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001114/0.3997, allocations: 112.9 kB / 478.2 MB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.909e-05/0.3998, allocations: 20 kB / 478.2 MB, free: 15.63 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003788/0.4002, allocations: 23.97 kB / 478.2 MB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.795e-05/0.4002, allocations: 36.33 kB / 478.2 MB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.321e-05/0.4003, allocations: 31.97 kB / 478.3 MB, free: 15.54 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003529/0.4007, allocations: 253.9 kB / 478.5 MB, free: 15.29 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.4007, allocations: 0 / 478.5 MB, free: 15.29 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003806/0.4045, allocations: 1.312 MB / 479.8 MB, free: 13.98 MB / 398.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.004904/0.4094, allocations: 1.678 MB / 481.5 MB, free: 12.3 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00154/0.411, allocations: 0.8075 MB / 482.3 MB, free: 11.47 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.411, allocations: 0 / 482.3 MB, free: 11.47 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005383/0.4115, allocations: 295.2 kB / 482.6 MB, free: 11.17 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001243/0.4128, allocations: 280.3 kB / 482.9 MB, free: 10.9 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001819/0.4146, allocations: 1.082 MB / 484 MB, free: 9.785 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004281/0.4151, allocations: 0.8365 MB / 484.8 MB, free: 8.918 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004474/0.4155, allocations: 144.2 kB / 484.9 MB, free: 8.777 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001438/0.4157, allocations: 63.42 kB / 485 MB, free: 8.715 MB / 398.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4157, allocations: 0 / 485 MB, free: 8.715 MB / 398.1 MB Notification: Performance of Templates: time 0.05669/0.4724, allocations: 44.89 MB / 0.5175 GB, free: 11.89 MB / 446.1 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir1/MoistAir1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches