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.001433/0.001433, allocations: 99.92 kB / 16.5 MB, free: 6.641 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.001591/0.001591, allocations: 195.1 kB / 17.42 MB, free: 6.066 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.253/1.253, allocations: 222.9 MB / 241.1 MB, free: 13.76 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001019/0.001019, allocations: 38.88 kB / 300.1 MB, free: 6.008 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07508/0.07612, allocations: 49.44 MB / 349.5 MB, free: 4.555 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.1761/0.2523, allocations: 52.19 MB / 401.7 MB, free: 12.17 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005554/0.2579, allocations: 5.286 MB / 407 MB, free: 8.039 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003423/0.2583, allocations: 2.75 kB / 407 MB, free: 8.039 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007424/0.259, allocations: 218.4 kB / 407.2 MB, free: 7.867 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000724/0.2598, allocations: 354.7 kB / 407.5 MB, free: 7.586 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01453/0.2743, allocations: 5.95 MB / 413.5 MB, free: 3.395 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001333/0.2757, allocations: 1.602 MB / 415.1 MB, free: 2.547 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001998/0.2759, allocations: 115.3 kB / 415.2 MB, free: 2.484 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006606/0.2825, allocations: 3.661 MB / 418.9 MB, free: 15.54 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006009/0.2831, allocations: 414.6 kB / 419.3 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001046/0.2832, allocations: 28 kB / 419.3 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0145/0.2977, allocations: 10.06 MB / 429.4 MB, free: 5.031 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002411/0.298, allocations: 195.5 kB / 429.5 MB, free: 4.84 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003659/0.2984, allocations: 270.9 kB / 429.8 MB, free: 4.574 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008878/0.3073, allocations: 5.594 MB / 435.4 MB, free: 14.97 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.646e-06/0.3073, allocations: 0 / 435.4 MB, free: 14.97 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3073, allocations: 0 / 435.4 MB, free: 14.97 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.535e-05/0.3073, allocations: 0 / 435.4 MB, free: 14.97 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.002952/0.3103, allocations: 1.354 MB / 436.8 MB, free: 13.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.3103, allocations: 12.03 kB / 436.8 MB, free: 13.55 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.985e-05/0.3104, allocations: 82.52 kB / 436.8 MB, free: 13.46 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003159/0.3107, allocations: 63.42 kB / 436.9 MB, free: 13.4 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004171/0.3112, allocations: 365.9 kB / 437.3 MB, free: 13 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.321e-05/0.3112, allocations: 29 kB / 437.3 MB, free: 12.98 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.053e-05/0.3113, allocations: 48 kB / 437.3 MB, free: 12.93 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001179/0.3124, allocations: 0.5843 MB / 437.9 MB, free: 12.34 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.61e-05/0.3125, allocations: 0 / 437.9 MB, free: 12.34 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.842e-05/0.3125, allocations: 16 kB / 437.9 MB, free: 12.32 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/0.3125, allocations: 12 kB / 438 MB, free: 12.31 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001219/0.3138, allocations: 0.7456 MB / 438.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01406/0.3278, allocations: 11.96 MB / 450.7 MB, free: 13.53 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001106/0.329, allocations: 0.5282 MB / 451.2 MB, free: 13 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000335/0.3293, allocations: 252.9 kB / 451.4 MB, free: 12.75 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0127/0.342, allocations: 11.89 MB / 463.3 MB, free: 14.55 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.625e-05/0.3421, allocations: 43 kB / 463.4 MB, free: 14.5 MB / 382.1 MB Notification: Performance of pre-optimization done (n=50): time 2.434e-06/0.3421, allocations: 4 kB / 463.4 MB, free: 14.49 MB / 382.1 MB Notification: Performance of matching and sorting (n=55): time 0.005402/0.3475, allocations: 2.117 MB / 465.5 MB, free: 12.3 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.316e-05/0.3475, allocations: 59.91 kB / 465.6 MB, free: 12.23 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00034/0.3479, allocations: 322.9 kB / 465.9 MB, free: 11.9 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.591e-05/0.3479, allocations: 37.7 kB / 465.9 MB, free: 11.86 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001158/0.3481, allocations: 204.3 kB / 466.1 MB, free: 11.66 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001303/0.3482, allocations: 185.3 kB / 466.3 MB, free: 11.47 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001616/0.3484, allocations: 122.1 kB / 466.4 MB, free: 11.35 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001066/0.3485, allocations: 346.8 kB / 466.7 MB, free: 11 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003519/0.3488, allocations: 248.9 kB / 467 MB, free: 10.76 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005658/0.3494, allocations: 335.4 kB / 467.3 MB, free: 10.39 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001038/0.3505, allocations: 0.5995 MB / 467.9 MB, free: 9.762 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.3505, allocations: 8 kB / 467.9 MB, free: 9.754 MB / 382.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.00164/0.3521, allocations: 0.7439 MB / 468.7 MB, free: 8.996 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.3521, allocations: 7.984 kB / 468.7 MB, free: 8.988 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.3522, allocations: 7.938 kB / 468.7 MB, free: 8.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004295/0.3526, allocations: 106.7 kB / 468.8 MB, free: 8.867 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004694/0.3531, allocations: 123.9 kB / 468.9 MB, free: 8.746 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002029/0.3551, allocations: 3.275 MB / 472.2 MB, free: 5.184 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003536/0.3555, allocations: 44.08 kB / 472.2 MB, free: 5.141 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.376e-05/0.3556, allocations: 32 kB / 472.3 MB, free: 5.109 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.0002284/0.3558, allocations: 181.8 kB / 472.4 MB, free: 4.922 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002751/0.3561, allocations: 47.53 kB / 472.5 MB, free: 4.875 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0014/0.3575, allocations: 0.8228 MB / 473.3 MB, free: 4.02 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.3575, allocations: 8 kB / 473.3 MB, free: 4.012 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.813e-06/0.3575, allocations: 0 / 473.3 MB, free: 4.012 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009847/0.3585, allocations: 0.7635 MB / 474.1 MB, free: 3.176 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001858/0.3604, allocations: 1.302 MB / 475.4 MB, free: 1.812 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.3604, allocations: 0 / 475.4 MB, free: 1.812 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004197/0.3608, allocations: 103.8 kB / 475.5 MB, free: 1.711 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008388/0.3616, allocations: 148.7 kB / 475.6 MB, free: 1.562 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.021e-05/0.3617, allocations: 16 kB / 475.6 MB, free: 1.547 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003281/0.362, allocations: 0.6483 MB / 476.3 MB, free: 0.875 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.362, allocations: 8.125 kB / 476.3 MB, free: 0.8672 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001486/0.3635, allocations: 0.8965 MB / 477.2 MB, free: 15.94 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.938e-05/0.3636, allocations: 116.7 kB / 477.3 MB, free: 15.81 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.011e-05/0.3637, allocations: 12 kB / 477.3 MB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004112/0.3641, allocations: 39.91 kB / 477.4 MB, free: 15.76 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.615e-05/0.3642, allocations: 32.39 kB / 477.4 MB, free: 15.73 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.738e-05/0.3643, allocations: 27.98 kB / 477.4 MB, free: 15.7 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002384/0.3645, allocations: 257.9 kB / 477.7 MB, free: 15.45 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.3645, allocations: 3.938 kB / 477.7 MB, free: 15.45 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003107/0.3676, allocations: 1.316 MB / 479 MB, free: 14.13 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.006895/0.3745, allocations: 3.034 MB / 482 MB, free: 11.07 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001262/0.3758, allocations: 0.8039 MB / 482.8 MB, free: 10.24 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.3758, allocations: 3.938 kB / 482.8 MB, free: 10.23 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004937/0.3763, allocations: 287.2 kB / 483.1 MB, free: 9.953 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001233/0.3776, allocations: 273 kB / 483.4 MB, free: 9.688 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007731/0.3853, allocations: 5.51 MB / 488.9 MB, free: 4.004 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003268/0.3857, allocations: 0.8442 MB / 489.7 MB, free: 3.129 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004921/0.3862, allocations: 140.4 kB / 489.9 MB, free: 2.992 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002337/0.3864, allocations: 159.4 kB / 490 MB, free: 2.836 MB / 398.1 MB Notification: Performance of SimCode: time 1.9e-07/0.3864, allocations: 0 / 490 MB, free: 2.836 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.601/5.988, allocations: 49.62 MB / 0.527 GB, free: 1.387 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00024/5.988, allocations: 285.4 kB / 0.5273 GB, free: 1.02 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.092/10.08, allocations: 0 / 0.5273 GB, free: 1.02 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