Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008249/0.0008249, allocations: 76.36 kB / 20.67 MB, free: 3.895 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001234/0.001234, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.868/0.868, allocations: 177 MB / 204.1 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.MoistAir,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.MoistAir,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_MoistAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.414e-06/2.414e-06, allocations: 0 / 324.5 MB, free: 15.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.039e-05/2.28e-05, allocations: 6.281 kB / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.3009/0.3009, allocations: 133.3 MB / 457.8 MB, free: 5.426 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001466/0.3024, allocations: 1.439 MB / 459.2 MB, free: 5.406 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.981e-05/0.3025, allocations: 1.219 kB / 459.2 MB, free: 5.406 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003389/0.3028, allocations: 59.14 kB / 459.3 MB, free: 5.406 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003736/0.3032, allocations: 173.3 kB / 459.5 MB, free: 5.402 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002126/0.3053, allocations: 1.07 MB / 460.5 MB, free: 5.371 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004078/0.3057, allocations: 362.4 kB / 460.9 MB, free: 5.371 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.017e-05/0.3058, allocations: 7.312 kB / 460.9 MB, free: 5.367 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003325/0.3061, allocations: 211.3 kB / 461.1 MB, free: 5.367 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002047/0.3063, allocations: 124.2 kB / 461.2 MB, free: 5.367 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.802e-05/0.3064, allocations: 10.91 kB / 461.2 MB, free: 5.367 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001768/0.3081, allocations: 1.371 MB / 462.6 MB, free: 5.348 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000104/0.3082, allocations: 85.12 kB / 462.7 MB, free: 5.344 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.856e-05/0.3083, allocations: 78.03 kB / 462.8 MB, free: 5.344 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001377/0.3097, allocations: 1.13 MB / 463.9 MB, free: 5.281 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3097, allocations: 3.094 kB / 463.9 MB, free: 5.281 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3097, allocations: 0 / 463.9 MB, free: 5.281 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.203e-06/0.3097, allocations: 1.203 kB / 463.9 MB, free: 5.281 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001237/0.311, allocations: 0.6347 MB / 464.5 MB, free: 4.875 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.311, allocations: 14.27 kB / 464.5 MB, free: 4.871 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.308e-05/0.311, allocations: 48.28 kB / 464.6 MB, free: 4.832 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001042/0.3111, allocations: 26.09 kB / 464.6 MB, free: 4.824 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001748/0.3113, allocations: 156.5 kB / 464.8 MB, free: 4.688 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.3113, allocations: 20.92 kB / 464.8 MB, free: 4.68 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.389e-05/0.3114, allocations: 19.11 kB / 464.8 MB, free: 4.676 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003774/0.3117, allocations: 369.6 kB / 465.2 MB, free: 4.5 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.622e-05/0.3118, allocations: 0 / 465.2 MB, free: 4.5 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.228e-05/0.3118, allocations: 6.938 kB / 465.2 MB, free: 4.5 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.805e-05/0.3118, allocations: 21.28 kB / 465.2 MB, free: 4.492 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003685/0.3122, allocations: 262.3 kB / 465.5 MB, free: 4.484 MB / 410.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009304/0.3131, allocations: 0.6553 MB / 466.1 MB, free: 4.117 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003795/0.3135, allocations: 211.1 kB / 466.3 MB, free: 4.066 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001628/0.3136, allocations: 125.7 kB / 466.4 MB, free: 4.051 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001464/0.3138, allocations: 52.33 kB / 466.5 MB, free: 4.051 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.704e-05/0.3138, allocations: 40.95 kB / 466.5 MB, free: 4.008 MB / 410.7 MB Notification: Performance of pre-optimization done (n=29): time 2.094e-06/0.3138, allocations: 0 / 466.5 MB, free: 4.008 MB / 410.7 MB Notification: Performance of matching and sorting (n=36): time 0.001306/0.3151, allocations: 0.6856 MB / 467.2 MB, free: 3.918 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.291e-05/0.3151, allocations: 80.73 kB / 467.3 MB, free: 3.824 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.804e-05/0.3152, allocations: 150 kB / 467.4 MB, free: 3.723 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.84e-05/0.3152, allocations: 29.27 kB / 467.5 MB, free: 3.691 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.892e-05/0.3153, allocations: 114 kB / 467.6 MB, free: 3.594 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.324e-05/0.3153, allocations: 128.5 kB / 467.7 MB, free: 3.508 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.483e-05/0.3154, allocations: 70.92 kB / 467.8 MB, free: 3.488 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.151e-05/0.3154, allocations: 332.5 kB / 468.1 MB, free: 3.176 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002018/0.3156, allocations: 135.2 kB / 468.2 MB, free: 3.172 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002214/0.3158, allocations: 202.8 kB / 468.4 MB, free: 3.102 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004299/0.3163, allocations: 362.6 kB / 468.8 MB, free: 3.023 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.3163, allocations: 0 / 468.8 MB, free: 3.023 MB / 410.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005088/0.3168, allocations: 417.9 kB / 469.2 MB, free: 2.973 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.3168, allocations: 3.438 kB / 469.2 MB, free: 2.973 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.3168, allocations: 2.281 kB / 469.2 MB, free: 2.973 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.3168, allocations: 10.39 kB / 469.2 MB, free: 2.969 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002281/0.317, allocations: 92.05 kB / 469.3 MB, free: 2.969 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.3171, allocations: 2.719 kB / 469.3 MB, free: 2.969 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000137/0.3172, allocations: 32.42 kB / 469.3 MB, free: 2.961 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.444e-05/0.3172, allocations: 14.45 kB / 469.3 MB, free: 2.961 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (43): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.893e-05/0.3173, allocations: 152.4 kB / 469.5 MB, free: 2.84 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.393e-05/0.3174, allocations: 18.53 kB / 469.5 MB, free: 2.832 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002268/0.3176, allocations: 174.8 kB / 469.7 MB, free: 2.781 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.3176, allocations: 11.53 kB / 469.7 MB, free: 2.777 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.3176, allocations: 3.25 kB / 469.7 MB, free: 2.777 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.3176, allocations: 0 / 469.7 MB, free: 2.777 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009148/0.3185, allocations: 0.7098 MB / 470.4 MB, free: 2.453 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.3185, allocations: 7.656 kB / 470.4 MB, free: 2.449 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002123/0.3187, allocations: 77.55 kB / 470.5 MB, free: 2.449 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.3187, allocations: 6.375 kB / 470.5 MB, free: 2.445 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.99e-05/0.3188, allocations: 12.83 kB / 470.5 MB, free: 2.445 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.938e-06/0.3188, allocations: 6.5 kB / 470.5 MB, free: 2.445 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.3188, allocations: 3.438 kB / 470.5 MB, free: 2.445 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007327/0.3195, allocations: 0.7138 MB / 471.2 MB, free: 2.172 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.124e-05/0.3196, allocations: 43.19 kB / 471.3 MB, free: 2.164 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.805e-05/0.3196, allocations: 13.22 kB / 471.3 MB, free: 2.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00017/0.3198, allocations: 25.22 kB / 471.3 MB, free: 2.156 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.782e-05/0.3198, allocations: 24.39 kB / 471.3 MB, free: 2.156 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.024e-05/0.3198, allocations: 14.47 kB / 471.4 MB, free: 2.156 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.553e-05/0.3198, allocations: 111.4 kB / 471.5 MB, free: 2.082 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3198, allocations: 0 / 471.5 MB, free: 2.082 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004435/0.3203, allocations: 157 kB / 471.6 MB, free: 2.059 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (medium.p,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 (38): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001135/0.3214, allocations: 1.399 MB / 473 MB, free: 1.238 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005047/0.3219, allocations: 327.2 kB / 473.3 MB, free: 1.23 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.3219, allocations: 0 / 473.3 MB, free: 1.23 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002102/0.3221, allocations: 170.4 kB / 473.5 MB, free: 1.227 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004495/0.3226, allocations: 107.2 kB / 473.6 MB, free: 1.211 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00262/0.3252, allocations: 2.849 MB / 476.5 MB, free: 15.57 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.026e-05/0.3253, allocations: 130.5 kB / 476.6 MB, free: 15.49 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002153/0.3255, allocations: 81.27 kB / 476.7 MB, free: 15.46 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001256/0.3256, allocations: 71.81 kB / 476.7 MB, free: 15.46 MB / 426.7 MB Notification: Performance of SimCode: time 7.01e-07/0.3256, allocations: 0 / 476.7 MB, free: 15.46 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02376/0.3494, allocations: 9.726 MB / 486.5 MB, free: 13.86 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.051/7.401, allocations: 6.594 kB / 486.5 MB, free: 13.85 MB / 426.7 MB " [Timeout remaining time 653] (rm -f Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.MoistAir.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Media.Examples.MoistAir_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 Modelica_trunk_Modelica_Media_Examples_MoistAir.fmu > Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.MoistAir_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/MoistAir/MoistAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.134961317293346]