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.001089/0.001089, allocations: 104.4 kB / 18.35 MB, free: 4.645 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.001121/0.001121, allocations: 191 kB / 19.29 MB, free: 3.715 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.273/1.273, allocations: 205.1 MB / 225.2 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.001124/0.001124, allocations: 55.92 kB / 282.1 MB, free: 2.484 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07211/0.07324, allocations: 46.63 MB / 328.7 MB, free: 3.785 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.2032/0.2765, allocations: 65.71 MB / 394.4 MB, free: 9.992 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006098/0.2826, allocations: 5.467 MB / 399.9 MB, free: 9.887 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002782/0.283, allocations: 8.875 kB / 399.9 MB, free: 9.887 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000892/0.2839, allocations: 354.7 kB / 400.3 MB, free: 9.883 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007658/0.2847, allocations: 0.5048 MB / 400.8 MB, free: 9.875 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01745/0.3021, allocations: 7.073 MB / 407.8 MB, free: 9.633 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00194/0.3041, allocations: 1.553 MB / 409.4 MB, free: 9.273 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003211/0.3044, allocations: 212.9 kB / 409.6 MB, free: 9.223 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000944/0.3054, allocations: 0.6241 MB / 410.2 MB, free: 9.043 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005923/0.306, allocations: 0.5649 MB / 410.8 MB, free: 8.855 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001062/0.3061, allocations: 84.34 kB / 410.9 MB, free: 8.855 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01526/0.3214, allocations: 10.09 MB / 421 MB, free: 4.496 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003499/0.3217, allocations: 321 kB / 421.3 MB, free: 4.281 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000555/0.3223, allocations: 433.4 kB / 421.7 MB, free: 4.031 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01011/0.3324, allocations: 5.925 MB / 427.6 MB, free: 14.43 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.3325, allocations: 0 / 427.6 MB, free: 14.43 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3325, allocations: 0 / 427.6 MB, free: 14.43 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.538e-05/0.3325, allocations: 4 kB / 427.6 MB, free: 14.43 MB / 334.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.00331/0.3358, allocations: 1.543 MB / 429.2 MB, free: 12.84 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.378e-05/0.3359, allocations: 8.031 kB / 429.2 MB, free: 12.83 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004283/0.3363, allocations: 90.36 kB / 429.3 MB, free: 12.75 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006576/0.337, allocations: 455.1 kB / 429.7 MB, free: 12.27 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.678e-05/0.337, allocations: 49.3 kB / 429.8 MB, free: 12.22 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.226e-05/0.3371, allocations: 60 kB / 429.8 MB, free: 12.16 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001685/0.3388, allocations: 0.8107 MB / 430.6 MB, free: 11.34 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.416e-05/0.3388, allocations: 7.906 kB / 430.6 MB, free: 11.33 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.046e-05/0.3389, allocations: 28 kB / 430.7 MB, free: 11.3 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.267e-05/0.3389, allocations: 12 kB / 430.7 MB, free: 11.29 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001799/0.3407, allocations: 1.024 MB / 431.7 MB, free: 10.27 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01722/0.358, allocations: 12.79 MB / 444.5 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001777/0.3598, allocations: 0.7491 MB / 445.2 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005516/0.3604, allocations: 403.6 kB / 445.6 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01483/0.3752, allocations: 12.25 MB / 457.9 MB, free: 11.61 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.101e-05/0.3753, allocations: 47.2 kB / 457.9 MB, free: 11.55 MB / 366.1 MB Notification: Performance of pre-optimization done (n=78): time 4.288e-06/0.3753, allocations: 0 / 457.9 MB, free: 11.55 MB / 366.1 MB Notification: Performance of matching and sorting (n=88): time 0.009522/0.3848, allocations: 3.378 MB / 461.3 MB, free: 8.113 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.401e-05/0.3849, allocations: 60.41 kB / 461.4 MB, free: 8.039 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003893/0.3853, allocations: 352.5 kB / 461.7 MB, free: 7.691 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.281e-05/0.3854, allocations: 45.7 kB / 461.8 MB, free: 7.641 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001588/0.3855, allocations: 240.6 kB / 462 MB, free: 7.398 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002059/0.3857, allocations: 308.6 kB / 462.3 MB, free: 7.102 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002435/0.386, allocations: 162.5 kB / 462.5 MB, free: 6.938 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.3861, allocations: 358.8 kB / 462.8 MB, free: 6.578 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005692/0.3867, allocations: 373.8 kB / 463.2 MB, free: 6.211 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009308/0.3877, allocations: 492.2 kB / 463.6 MB, free: 5.699 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001742/0.3894, allocations: 0.9059 MB / 464.6 MB, free: 4.762 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.3894, allocations: 4 kB / 464.6 MB, free: 4.758 MB / 366.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002593/0.392, allocations: 1.113 MB / 465.7 MB, free: 3.621 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.3921, allocations: 7.938 kB / 465.7 MB, free: 3.613 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.3921, allocations: 4 kB / 465.7 MB, free: 3.609 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008228/0.3929, allocations: 171.6 kB / 465.8 MB, free: 3.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007551/0.3937, allocations: 183.7 kB / 466 MB, free: 3.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002842/0.3965, allocations: 4.116 MB / 470.1 MB, free: 14.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004024/0.3969, allocations: 16 kB / 470.2 MB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.766e-05/0.397, allocations: 47.92 kB / 470.2 MB, free: 14.74 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 (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.0003369/0.3974, allocations: 225.6 kB / 470.4 MB, free: 14.51 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004012/0.3978, allocations: 71.53 kB / 470.5 MB, free: 14.44 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002334/0.4001, allocations: 1.277 MB / 471.8 MB, free: 13.13 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.645e-06/0.4002, allocations: 8 kB / 471.8 MB, free: 13.12 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.404e-06/0.4002, allocations: 0 / 471.8 MB, free: 13.12 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001805/0.402, allocations: 1.32 MB / 473.1 MB, free: 11.68 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003151/0.4052, allocations: 1.975 MB / 475.1 MB, free: 9.652 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.4052, allocations: 0 / 475.1 MB, free: 9.652 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007157/0.4059, allocations: 163.8 kB / 475.2 MB, free: 9.492 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001855/0.4078, allocations: 293.3 kB / 475.5 MB, free: 9.199 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.354e-05/0.4078, allocations: 35.92 kB / 475.6 MB, free: 9.164 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007325/0.4086, allocations: 1.293 MB / 476.9 MB, free: 7.824 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.4086, allocations: 0 / 476.9 MB, free: 7.824 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002556/0.4112, allocations: 1.421 MB / 478.3 MB, free: 6.375 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001879/0.4114, allocations: 120.5 kB / 478.4 MB, free: 6.238 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.867e-05/0.4115, allocations: 28.05 kB / 478.4 MB, free: 6.211 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005275/0.412, allocations: 23.98 kB / 478.4 MB, free: 6.188 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.17e-05/0.4121, allocations: 56.92 kB / 478.5 MB, free: 6.133 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001007/0.4122, allocations: 43.97 kB / 478.5 MB, free: 6.09 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003238/0.4125, allocations: 283 kB / 478.8 MB, free: 5.812 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.4126, allocations: 0 / 478.8 MB, free: 5.812 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003667/0.4162, allocations: 1.39 MB / 480.2 MB, free: 4.422 MB / 382.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.005266/0.4215, allocations: 1.744 MB / 481.9 MB, free: 2.801 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002159/0.4237, allocations: 1.163 MB / 483.1 MB, free: 1.605 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.281e-06/0.4237, allocations: 0.5625 kB / 483.1 MB, free: 1.605 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008849/0.4246, allocations: 0.4914 MB / 483.6 MB, free: 1.109 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001715/0.4263, allocations: 386 kB / 484 MB, free: 0.7305 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00284/0.4292, allocations: 1.647 MB / 485.6 MB, free: 15.06 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005152/0.4297, allocations: 0.9089 MB / 486.5 MB, free: 14.12 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0007149/0.4304, allocations: 217.1 kB / 486.7 MB, free: 13.91 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000211/0.4306, allocations: 79.36 kB / 486.8 MB, free: 13.83 MB / 398.1 MB Notification: Performance of SimCode: time 6.41e-07/0.4307, allocations: 0 / 486.8 MB, free: 13.83 MB / 398.1 MB Notification: Performance of Templates: time 0.06569/0.4963, allocations: 51.23 MB / 0.5254 GB, free: 10.54 MB / 446.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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/MoistAir2/MoistAir2.csv","/var/lib/jenkins1/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