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: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir2,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir2,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00116/0.00116, allocations: 113.4 kB / 17.73 MB, free: 5.324 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.001061/0.001061, allocations: 188.2 kB / 18.66 MB, free: 4.398 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.259/1.259, allocations: 205.1 MB / 224.5 MB, free: 12.21 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.001128/0.001128, allocations: 55.92 kB / 328 MB, free: 3.785 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07783/0.07896, allocations: 46.61 MB / 374.7 MB, free: 5.066 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.2248/0.3038, allocations: 65.74 MB / 440.4 MB, free: 14.09 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00625/0.31, allocations: 5.453 MB / 445.8 MB, free: 8.621 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003615/0.3104, allocations: 4 kB / 445.9 MB, free: 8.617 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009114/0.3114, allocations: 353.9 kB / 446.2 MB, free: 8.27 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008347/0.3122, allocations: 0.5049 MB / 446.7 MB, free: 7.762 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0188/0.3311, allocations: 7.086 MB / 453.8 MB, free: 0.6562 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00177/0.3328, allocations: 1.548 MB / 455.3 MB, free: 15.11 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003129/0.3332, allocations: 212.8 kB / 455.5 MB, free: 14.89 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008524/0.334, allocations: 0.6308 MB / 456.2 MB, free: 14.25 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006628/0.3347, allocations: 0.5684 MB / 456.7 MB, free: 13.68 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001062/0.3348, allocations: 80 kB / 456.8 MB, free: 13.61 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01713/0.352, allocations: 10.09 MB / 466.9 MB, free: 3.5 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000412/0.3524, allocations: 327.2 kB / 467.2 MB, free: 3.18 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005636/0.353, allocations: 438.4 kB / 467.7 MB, free: 2.75 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0131/0.3661, allocations: 5.922 MB / 473.6 MB, free: 12.82 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.3662, allocations: 0 / 473.6 MB, free: 12.82 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3662, allocations: 0 / 473.6 MB, free: 12.82 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.352e-05/0.3662, allocations: 3.984 kB / 473.6 MB, free: 12.81 MB / 398.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.003746/0.3699, allocations: 1.54 MB / 475.1 MB, free: 11.22 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.37, allocations: 12.03 kB / 475.1 MB, free: 11.21 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001299/0.3701, allocations: 111.4 kB / 475.2 MB, free: 11.09 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004144/0.3705, allocations: 87.14 kB / 475.3 MB, free: 11.01 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006062/0.3712, allocations: 452.8 kB / 475.8 MB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.555e-05/0.3712, allocations: 49.25 kB / 475.8 MB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.72e-05/0.3713, allocations: 60 kB / 475.9 MB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00163/0.373, allocations: 0.8116 MB / 476.7 MB, free: 9.598 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.249e-05/0.373, allocations: 0 / 476.7 MB, free: 9.598 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.07e-05/0.3731, allocations: 28 kB / 476.7 MB, free: 9.57 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.529e-05/0.3731, allocations: 12 kB / 476.7 MB, free: 9.559 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001701/0.3748, allocations: 1.032 MB / 477.8 MB, free: 8.527 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01615/0.391, allocations: 12.79 MB / 490.5 MB, free: 9.602 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001623/0.3926, allocations: 0.7374 MB / 491.3 MB, free: 8.852 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005417/0.3932, allocations: 410.6 kB / 491.7 MB, free: 8.449 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01429/0.4075, allocations: 12.24 MB / 0.4921 GB, free: 9.832 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.125e-05/0.4076, allocations: 43.22 kB / 0.4922 GB, free: 9.781 MB / 430.1 MB Notification: Performance of pre-optimization done (n=78): time 2.554e-06/0.4076, allocations: 0 / 0.4922 GB, free: 9.781 MB / 430.1 MB Notification: Performance of matching and sorting (n=88): time 0.009469/0.4171, allocations: 3.392 MB / 0.4955 GB, free: 6.309 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.25e-05/0.4172, allocations: 68.41 kB / 0.4955 GB, free: 6.227 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003854/0.4176, allocations: 356.5 kB / 0.4959 GB, free: 5.871 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.192e-05/0.4176, allocations: 41.7 kB / 0.4959 GB, free: 5.824 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001495/0.4178, allocations: 240.7 kB / 0.4961 GB, free: 5.586 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002155/0.418, allocations: 311.4 kB / 0.4964 GB, free: 5.277 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002299/0.4183, allocations: 158.6 kB / 0.4966 GB, free: 5.117 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.4184, allocations: 362.8 kB / 0.4969 GB, free: 4.754 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005416/0.419, allocations: 373.8 kB / 0.4973 GB, free: 4.387 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008421/0.4198, allocations: 488.2 kB / 0.4978 GB, free: 3.879 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001587/0.4214, allocations: 0.9058 MB / 0.4986 GB, free: 2.945 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.4214, allocations: 4 kB / 0.4986 GB, free: 2.941 MB / 430.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002393/0.4238, allocations: 1.117 MB / 0.4997 GB, free: 1.801 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.4238, allocations: 8 kB / 0.4997 GB, free: 1.793 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.4239, allocations: 0 / 0.4997 GB, free: 1.793 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000796/0.4247, allocations: 163.5 kB / 0.4999 GB, free: 1.621 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007338/0.4254, allocations: 191.7 kB / 0.5001 GB, free: 1.434 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002646/0.4281, allocations: 4.116 MB / 0.5041 GB, free: 12.99 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004077/0.4285, allocations: 28.28 kB / 0.5041 GB, free: 12.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.754e-05/0.4286, allocations: 47.97 kB / 0.5042 GB, free: 12.92 MB / 446.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.0003366/0.4289, allocations: 225.5 kB / 0.5044 GB, free: 12.69 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003732/0.4293, allocations: 59.44 kB / 0.5044 GB, free: 12.63 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002155/0.4315, allocations: 1.288 MB / 0.5057 GB, free: 11.3 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.848e-06/0.4315, allocations: 8 kB / 0.5057 GB, free: 11.3 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.4315, allocations: 0 / 0.5057 GB, free: 11.3 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001667/0.4332, allocations: 1.324 MB / 0.507 GB, free: 9.848 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002891/0.4361, allocations: 1.96 MB / 0.5089 GB, free: 7.812 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.4361, allocations: 8.047 kB / 0.5089 GB, free: 7.805 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006941/0.4368, allocations: 155.8 kB / 0.5091 GB, free: 7.652 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00176/0.4386, allocations: 301.1 kB / 0.5094 GB, free: 7.352 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.511e-05/0.4386, allocations: 31.98 kB / 0.5094 GB, free: 7.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007005/0.4394, allocations: 1.285 MB / 0.5106 GB, free: 5.988 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/0.4394, allocations: 4.031 kB / 0.5107 GB, free: 5.984 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002393/0.4418, allocations: 1.425 MB / 0.512 GB, free: 4.531 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001414/0.4419, allocations: 124.6 kB / 0.5122 GB, free: 4.391 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001002/0.442, allocations: 20 kB / 0.5122 GB, free: 4.371 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000512/0.4425, allocations: 27.98 kB / 0.5122 GB, free: 4.344 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.998e-05/0.4426, allocations: 52.92 kB / 0.5123 GB, free: 4.293 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.544e-05/0.4427, allocations: 43.95 kB / 0.5123 GB, free: 4.25 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002781/0.443, allocations: 279 kB / 0.5126 GB, free: 3.98 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.443, allocations: 4 kB / 0.5126 GB, free: 3.977 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003294/0.4463, allocations: 1.394 MB / 0.5139 GB, free: 2.582 MB / 446.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.008022/0.4544, allocations: 3.604 MB / 0.5175 GB, free: 14.94 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002072/0.4565, allocations: 1.148 MB / 0.5186 GB, free: 13.76 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.061e-06/0.4565, allocations: 12 kB / 0.5186 GB, free: 13.75 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008479/0.4573, allocations: 495.2 kB / 0.5191 GB, free: 13.26 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001721/0.4591, allocations: 386.2 kB / 0.5194 GB, free: 12.88 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01112/0.4702, allocations: 7.049 MB / 0.5263 GB, free: 5.648 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004767/0.4707, allocations: 0.9127 MB / 0.5272 GB, free: 4.707 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0007666/0.4715, allocations: 201.2 kB / 0.5274 GB, free: 4.508 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003581/0.4719, allocations: 231.3 kB / 0.5276 GB, free: 4.281 MB / 462.1 MB Notification: Performance of SimCode: time 1.243e-06/0.4719, allocations: 0 / 0.5276 GB, free: 4.281 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2482/0.7201, allocations: 58.57 MB / 0.5848 GB, free: 135.8 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.21/13.93, allocations: 11.72 kB / 0.5848 GB, free: 135.8 MB / 478.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir2_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir2.fmu > 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