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.001095/0.001095, allocations: 103.4 kB / 17.16 MB, free: 6.32 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.001248/0.001249, allocations: 190 kB / 18.07 MB, free: 5.414 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.31/1.31, allocations: 205.1 MB / 223.9 MB, free: 12.48 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.001171/0.001171, allocations: 55.88 kB / 280.1 MB, free: 3.488 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08342/0.08461, allocations: 46.62 MB / 326.7 MB, free: 4.809 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.21/0.2946, allocations: 67.31 MB / 394 MB, free: 9.738 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005278/0.3, allocations: 5.553 MB / 399.5 MB, free: 9.605 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002449/0.3002, allocations: 8.906 kB / 399.6 MB, free: 9.605 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008314/0.3011, allocations: 308.3 kB / 399.9 MB, free: 9.605 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006713/0.3018, allocations: 0.4996 MB / 400.4 MB, free: 9.594 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01233/0.3141, allocations: 5.899 MB / 406.3 MB, free: 9.383 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002103/0.3162, allocations: 2.314 MB / 408.6 MB, free: 9.105 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002376/0.3165, allocations: 162.6 kB / 408.7 MB, free: 9.062 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006947/0.3172, allocations: 0.5328 MB / 409.3 MB, free: 8.898 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005283/0.3177, allocations: 0.5896 MB / 409.9 MB, free: 8.695 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.243e-05/0.3178, allocations: 42.47 kB / 409.9 MB, free: 8.695 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01548/0.3333, allocations: 10.28 MB / 420.2 MB, free: 5.094 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003591/0.3337, allocations: 278.3 kB / 420.4 MB, free: 4.918 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005698/0.3343, allocations: 398.5 kB / 420.8 MB, free: 4.703 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01026/0.3445, allocations: 6.015 MB / 426.8 MB, free: 15.09 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3446, allocations: 4 kB / 426.8 MB, free: 15.09 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.966e-06/0.3446, allocations: 0 / 426.8 MB, free: 15.09 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.699e-05/0.3446, allocations: 3.938 kB / 426.9 MB, free: 15.09 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.003462/0.3481, allocations: 1.551 MB / 428.4 MB, free: 13.49 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.3481, allocations: 8.031 kB / 428.4 MB, free: 13.48 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001453/0.3483, allocations: 114.3 kB / 428.5 MB, free: 13.36 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004162/0.3487, allocations: 84.67 kB / 428.6 MB, free: 13.28 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005544/0.3493, allocations: 440.3 kB / 429 MB, free: 12.81 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.427e-05/0.3493, allocations: 45.31 kB / 429.1 MB, free: 12.77 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.519e-05/0.3494, allocations: 63.98 kB / 429.1 MB, free: 12.71 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001626/0.351, allocations: 0.8029 MB / 429.9 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.204e-05/0.3511, allocations: 11.91 kB / 430 MB, free: 11.88 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.833e-05/0.3511, allocations: 28 kB / 430 MB, free: 11.86 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.545e-05/0.3512, allocations: 16 kB / 430 MB, free: 11.84 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001774/0.3529, allocations: 1.028 MB / 431 MB, free: 10.81 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01637/0.3693, allocations: 12.77 MB / 443.8 MB, free: 11.94 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001619/0.371, allocations: 0.741 MB / 444.5 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005741/0.3716, allocations: 415.3 kB / 445 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01456/0.3861, allocations: 12.25 MB / 457.2 MB, free: 12.17 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.29e-05/0.3862, allocations: 43.22 kB / 457.2 MB, free: 12.12 MB / 366.1 MB Notification: Performance of pre-optimization done (n=78): time 2.415e-06/0.3862, allocations: 0 / 457.2 MB, free: 12.12 MB / 366.1 MB Notification: Performance of matching and sorting (n=88): time 0.009098/0.3953, allocations: 3.378 MB / 460.6 MB, free: 8.688 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.962e-05/0.3954, allocations: 60.41 kB / 460.7 MB, free: 8.617 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003549/0.3957, allocations: 352.5 kB / 461 MB, free: 8.27 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.28e-05/0.3958, allocations: 49.7 kB / 461.1 MB, free: 8.215 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001371/0.396, allocations: 236.6 kB / 461.3 MB, free: 7.977 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001958/0.3962, allocations: 302 kB / 461.6 MB, free: 7.684 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002297/0.3964, allocations: 162.5 kB / 461.8 MB, free: 7.52 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001261/0.3965, allocations: 370.8 kB / 462.1 MB, free: 7.148 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005659/0.3971, allocations: 365.8 kB / 462.5 MB, free: 6.789 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008958/0.398, allocations: 0.4884 MB / 463 MB, free: 6.27 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001643/0.3997, allocations: 0.8968 MB / 463.9 MB, free: 5.34 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.3997, allocations: 0 / 463.9 MB, free: 5.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002468/0.4022, allocations: 1.125 MB / 465 MB, free: 4.199 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.4022, allocations: 7.938 kB / 465 MB, free: 4.191 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/0.4022, allocations: 4 kB / 465 MB, free: 4.188 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007988/0.403, allocations: 163.3 kB / 465.2 MB, free: 4.016 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007304/0.4038, allocations: 191.9 kB / 465.3 MB, free: 3.828 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002936/0.4067, allocations: 3.916 MB / 469.3 MB, free: 15.6 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006/0.4073, allocations: 60 kB / 469.3 MB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001213/0.4074, allocations: 43.98 kB / 469.4 MB, free: 15.5 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.0004285/0.4079, allocations: 225.6 kB / 469.6 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004526/0.4083, allocations: 63.44 kB / 469.6 MB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002371/0.4107, allocations: 1.282 MB / 470.9 MB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.356e-06/0.4108, allocations: 8 kB / 470.9 MB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.4108, allocations: 0 / 470.9 MB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001792/0.4126, allocations: 1.32 MB / 472.3 MB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003141/0.4157, allocations: 1.976 MB / 474.2 MB, free: 10.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/0.4157, allocations: 7.938 kB / 474.2 MB, free: 10.4 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006805/0.4164, allocations: 159.8 kB / 474.4 MB, free: 10.24 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001747/0.4182, allocations: 297.3 kB / 474.7 MB, free: 9.945 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.663e-05/0.4183, allocations: 31.98 kB / 474.7 MB, free: 9.914 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007701/0.419, allocations: 1.289 MB / 476 MB, free: 8.578 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.4191, allocations: 0 / 476 MB, free: 8.578 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002539/0.4216, allocations: 1.421 MB / 477.4 MB, free: 7.133 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001695/0.4218, allocations: 124.6 kB / 477.5 MB, free: 6.992 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000118/0.4219, allocations: 23.88 kB / 477.6 MB, free: 6.969 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006093/0.4225, allocations: 59.8 kB / 477.6 MB, free: 6.91 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.612e-05/0.4226, allocations: 56.92 kB / 477.7 MB, free: 6.852 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.863e-05/0.4227, allocations: 43.97 kB / 477.7 MB, free: 6.809 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003086/0.4231, allocations: 279 kB / 478 MB, free: 6.539 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4231, allocations: 0 / 478 MB, free: 6.539 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003535/0.4266, allocations: 1.398 MB / 479.4 MB, free: 5.141 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.009108/0.4357, allocations: 3.601 MB / 483 MB, free: 1.637 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002039/0.4378, allocations: 1.152 MB / 484.2 MB, free: 460 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.4378, allocations: 0.5625 kB / 484.2 MB, free: 460 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008678/0.4387, allocations: 495.3 kB / 484.6 MB, free: 15.96 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001768/0.4405, allocations: 367.1 kB / 485 MB, free: 15.6 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01155/0.452, allocations: 7.403 MB / 492.4 MB, free: 8.031 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004675/0.4525, allocations: 0.9128 MB / 493.3 MB, free: 7.09 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0007862/0.4533, allocations: 205.3 kB / 493.5 MB, free: 6.887 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000334/0.4537, allocations: 227.3 kB / 493.7 MB, free: 6.664 MB / 398.1 MB Notification: Performance of SimCode: time 5.91e-07/0.4537, allocations: 0 / 493.7 MB, free: 6.664 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.211/0.6647, allocations: 57.18 MB / 0.538 GB, free: 169.5 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001645/0.6649, allocations: 267.1 kB / 0.5383 GB, free: 169.2 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.716/4.381, allocations: 0 / 0.5383 GB, free: 169.2 MB / 446.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","../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches