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: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir1,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir1,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir1",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.0008872/0.0008871, allocations: 100.9 kB / 16.65 MB, free: 6.254 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.0009714/0.0009715, allocations: 180.4 kB / 17.57 MB, free: 5.844 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.198/1.198, allocations: 223.3 MB / 241.6 MB, free: 188 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002311/0.0002312, allocations: 8.688 kB / 301.5 MB, free: 6.012 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07815/0.0784, allocations: 50.41 MB / 351.9 MB, free: 3.59 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.1852/0.2636, allocations: 51.1 MB / 403 MB, free: 13.09 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005387/0.269, allocations: 5.223 MB / 408.3 MB, free: 8.98 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002573/0.2693, allocations: 3.25 kB / 408.3 MB, free: 8.98 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006284/0.2699, allocations: 214.1 kB / 408.5 MB, free: 8.812 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005734/0.2705, allocations: 358.5 kB / 408.8 MB, free: 8.527 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01425/0.2848, allocations: 5.939 MB / 414.8 MB, free: 4.34 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001359/0.2862, allocations: 1.604 MB / 416.4 MB, free: 3.492 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000189/0.2864, allocations: 113 kB / 416.5 MB, free: 3.43 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005499/0.2919, allocations: 3.647 MB / 420.1 MB, free: 336 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004529/0.2923, allocations: 398.6 kB / 420.5 MB, free: 15.94 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.386e-05/0.2924, allocations: 28 kB / 420.5 MB, free: 15.91 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01457/0.307, allocations: 10.05 MB / 430.6 MB, free: 5.84 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002307/0.3072, allocations: 195.5 kB / 430.8 MB, free: 5.648 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003446/0.3076, allocations: 300.5 kB / 431.1 MB, free: 5.348 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007887/0.3155, allocations: 5.551 MB / 436.6 MB, free: 15.79 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.3155, allocations: 3.938 kB / 436.6 MB, free: 15.78 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3155, allocations: 0 / 436.6 MB, free: 15.78 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.3155, allocations: 0 / 436.6 MB, free: 15.78 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.002429/0.318, allocations: 1.238 MB / 437.9 MB, free: 14.5 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.318, allocations: 11.97 kB / 437.9 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.543e-05/0.3181, allocations: 86.52 kB / 438 MB, free: 14.39 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002842/0.3184, allocations: 67.36 kB / 438 MB, free: 14.32 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003977/0.3188, allocations: 369.9 kB / 438.4 MB, free: 13.92 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.343e-05/0.3188, allocations: 31.81 kB / 438.4 MB, free: 13.89 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.359e-05/0.3189, allocations: 44 kB / 438.5 MB, free: 13.85 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001134/0.3201, allocations: 0.5804 MB / 439 MB, free: 13.27 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.927e-05/0.3201, allocations: 7.938 kB / 439 MB, free: 13.26 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.778e-05/0.3201, allocations: 16 kB / 439.1 MB, free: 13.24 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/0.3202, allocations: 12 kB / 439.1 MB, free: 13.23 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001223/0.3214, allocations: 0.7456 MB / 439.8 MB, free: 12.48 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01449/0.3359, allocations: 12.01 MB / 451.8 MB, free: 14.41 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001151/0.3371, allocations: 0.5467 MB / 452.4 MB, free: 13.86 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003624/0.3374, allocations: 261 kB / 452.6 MB, free: 13.6 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01343/0.3509, allocations: 11.94 MB / 464.6 MB, free: 15.35 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.711e-05/0.3509, allocations: 47 kB / 464.6 MB, free: 15.29 MB / 382.1 MB Notification: Performance of pre-optimization done (n=50): time 2.204e-06/0.3509, allocations: 0 / 464.6 MB, free: 15.29 MB / 382.1 MB Notification: Performance of matching and sorting (n=55): time 0.005204/0.3561, allocations: 2.129 MB / 466.7 MB, free: 13.07 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.554e-05/0.3562, allocations: 55.97 kB / 466.8 MB, free: 13.01 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003145/0.3565, allocations: 327 kB / 467.1 MB, free: 12.68 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.199e-05/0.3566, allocations: 37.7 kB / 467.2 MB, free: 12.64 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001176/0.3567, allocations: 200.3 kB / 467.4 MB, free: 12.44 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001314/0.3568, allocations: 193.2 kB / 467.5 MB, free: 12.25 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.88e-05/0.3569, allocations: 49.69 kB / 467.6 MB, free: 12.19 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001217/0.357, allocations: 346.8 kB / 467.9 MB, free: 11.84 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003565/0.3574, allocations: 241 kB / 468.2 MB, free: 11.61 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005723/0.358, allocations: 339.4 kB / 468.5 MB, free: 11.24 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001069/0.3591, allocations: 0.6073 MB / 469.1 MB, free: 10.6 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.3591, allocations: 0 / 469.1 MB, free: 10.6 MB / 382.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.00165/0.3607, allocations: 0.7517 MB / 469.9 MB, free: 9.836 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.3607, allocations: 8 kB / 469.9 MB, free: 9.828 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.3608, allocations: 3.938 kB / 469.9 MB, free: 9.824 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004339/0.3612, allocations: 106.8 kB / 470 MB, free: 9.711 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004549/0.3617, allocations: 127.8 kB / 470.1 MB, free: 9.586 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00213/0.3638, allocations: 3.275 MB / 473.4 MB, free: 6.023 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003242/0.3641, allocations: 31.92 kB / 473.4 MB, free: 5.992 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.859e-05/0.3642, allocations: 32.08 kB / 473.4 MB, free: 5.961 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.0002106/0.3644, allocations: 197.7 kB / 473.6 MB, free: 5.758 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002551/0.3647, allocations: 47.53 kB / 473.7 MB, free: 5.711 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001433/0.3661, allocations: 0.8266 MB / 474.5 MB, free: 4.852 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.3662, allocations: 7.984 kB / 474.5 MB, free: 4.844 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-06/0.3662, allocations: 0 / 474.5 MB, free: 4.844 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001002/0.3672, allocations: 0.7518 MB / 475.3 MB, free: 4.02 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001843/0.369, allocations: 1.305 MB / 476.6 MB, free: 2.652 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.369, allocations: 0 / 476.6 MB, free: 2.652 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004087/0.3695, allocations: 99.88 kB / 476.7 MB, free: 2.555 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008488/0.3703, allocations: 148.7 kB / 476.8 MB, free: 2.406 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.337e-05/0.3704, allocations: 16 kB / 476.8 MB, free: 2.391 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003587/0.3707, allocations: 0.6561 MB / 477.5 MB, free: 1.711 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.3707, allocations: 0 / 477.5 MB, free: 1.711 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00149/0.3722, allocations: 0.9044 MB / 478.4 MB, free: 0.7773 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001075/0.3723, allocations: 120.7 kB / 478.5 MB, free: 0.6406 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.392e-05/0.3724, allocations: 15.98 kB / 478.5 MB, free: 0.625 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004039/0.3728, allocations: 35.92 kB / 478.6 MB, free: 0.5898 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.685e-05/0.3729, allocations: 40.27 kB / 478.6 MB, free: 0.5508 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.592e-05/0.373, allocations: 35.97 kB / 478.6 MB, free: 0.5156 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002579/0.3732, allocations: 249.9 kB / 478.9 MB, free: 280 kB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3732, allocations: 4 kB / 478.9 MB, free: 276 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.003066/0.3763, allocations: 1.316 MB / 480.2 MB, free: 14.95 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.006769/0.3831, allocations: 3.039 MB / 483.2 MB, free: 11.89 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001271/0.3844, allocations: 0.7962 MB / 484 MB, free: 11.06 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/0.3844, allocations: 8.188 kB / 484 MB, free: 11.05 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004961/0.3849, allocations: 287.2 kB / 484.3 MB, free: 10.77 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00136/0.3862, allocations: 271.4 kB / 484.6 MB, free: 10.51 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008052/0.3943, allocations: 5.6 MB / 490.2 MB, free: 4.73 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004001/0.3947, allocations: 0.8365 MB / 491 MB, free: 3.863 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004885/0.3952, allocations: 136.3 kB / 491.1 MB, free: 3.73 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002454/0.3955, allocations: 155.4 kB / 491.3 MB, free: 3.578 MB / 398.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3955, allocations: 0 / 491.3 MB, free: 3.578 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06981/0.4653, allocations: 49.41 MB / 0.528 GB, free: 2.375 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002412/0.4656, allocations: 267.7 kB / 0.5283 GB, free: 2.02 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.478/4.944, allocations: 4 kB / 0.5283 GB, free: 2.016 MB / 446.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir1_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir1.fmu > 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