Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00089/0.00089, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008887/0.0008887, allocations: 149.1 kB / 23.93 MB, free: 0.6328 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8431/0.8431, allocations: 173.4 MB / 200.4 MB, free: 9.441 MB / 186.7 MB " [Timeout remaining time 179] 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.MoistAir,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.MoistAir,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_MoistAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 318.4 MB, free: 6.383 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.545e-05/1.679e-05, allocations: 2.281 kB / 318.4 MB, free: 6.379 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.1117/0.1117, allocations: 130.3 MB / 448.7 MB, free: 3.539 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001258/0.1129, allocations: 1.417 MB / 450.1 MB, free: 2.113 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.356e-05/0.113, allocations: 0 / 450.1 MB, free: 2.113 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003437/0.1134, allocations: 55.66 kB / 450.2 MB, free: 2.059 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000346/0.1137, allocations: 166.9 kB / 450.3 MB, free: 1.895 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002404/0.1161, allocations: 1.053 MB / 451.4 MB, free: 0.8438 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003299/0.1164, allocations: 342.7 kB / 451.7 MB, free: 0.5078 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.962e-05/0.1165, allocations: 5.641 kB / 451.7 MB, free: 0.5039 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002411/0.1167, allocations: 199.4 kB / 451.9 MB, free: 316 kB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001631/0.1169, allocations: 115.7 kB / 452 MB, free: 200 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.511e-05/0.1169, allocations: 16 kB / 452.1 MB, free: 184 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1747/0.2917, allocations: 1.33 MB / 453.4 MB, free: 6.418 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001119/0.2918, allocations: 72.45 kB / 453.5 MB, free: 6.418 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001325/0.2919, allocations: 76.48 kB / 453.5 MB, free: 6.418 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001172/0.2931, allocations: 1.091 MB / 454.6 MB, free: 6.387 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.2931, allocations: 1.5 kB / 454.6 MB, free: 6.387 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2931, allocations: 0 / 454.6 MB, free: 6.387 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.74e-06/0.2931, allocations: 0.75 kB / 454.6 MB, free: 6.387 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.001046/0.2941, allocations: 0.5977 MB / 455.2 MB, free: 6.008 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.2942, allocations: 10.77 kB / 455.2 MB, free: 6.008 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.567e-05/0.2942, allocations: 52.78 kB / 455.3 MB, free: 5.969 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.738e-05/0.2943, allocations: 21.5 kB / 455.3 MB, free: 5.961 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001639/0.2944, allocations: 158 kB / 455.5 MB, free: 5.824 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.68e-05/0.2945, allocations: 13.62 kB / 455.5 MB, free: 5.824 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.199e-05/0.2945, allocations: 19.78 kB / 455.5 MB, free: 5.82 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003521/0.2948, allocations: 372.7 kB / 455.9 MB, free: 5.645 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.2949, allocations: 1.031 kB / 455.9 MB, free: 5.645 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.169e-05/0.2949, allocations: 7.438 kB / 455.9 MB, free: 5.645 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.621e-05/0.2949, allocations: 5.766 kB / 455.9 MB, free: 5.645 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003376/0.2952, allocations: 261.1 kB / 456.1 MB, free: 5.645 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.0007706/0.296, allocations: 0.6612 MB / 456.8 MB, free: 5.273 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003298/0.2963, allocations: 202.8 kB / 457 MB, free: 5.227 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001585/0.2965, allocations: 129.6 kB / 457.1 MB, free: 5.211 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001232/0.2966, allocations: 52.7 kB / 457.2 MB, free: 5.211 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.319e-05/0.2966, allocations: 38.34 kB / 457.2 MB, free: 5.172 MB / 410.7 MB Notification: Performance of pre-optimization done (n=29): time 1.502e-06/0.2966, allocations: 0 / 457.2 MB, free: 5.172 MB / 410.7 MB Notification: Performance of matching and sorting (n=36): time 0.001216/0.2978, allocations: 0.6769 MB / 457.9 MB, free: 5.098 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.162e-05/0.2979, allocations: 86.5 kB / 458 MB, free: 5.004 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.191e-05/0.2979, allocations: 123.5 kB / 458.1 MB, free: 4.906 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.753e-05/0.2979, allocations: 30.42 kB / 458.1 MB, free: 4.875 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.837e-05/0.298, allocations: 116.4 kB / 458.2 MB, free: 4.773 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.434e-05/0.298, allocations: 130.1 kB / 458.4 MB, free: 4.688 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.595e-05/0.2981, allocations: 66.05 kB / 458.4 MB, free: 4.672 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.77e-05/0.2981, allocations: 329 kB / 458.7 MB, free: 4.359 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001836/0.2983, allocations: 135 kB / 458.9 MB, free: 4.355 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002145/0.2985, allocations: 208.2 kB / 459.1 MB, free: 4.281 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004079/0.2989, allocations: 355.8 kB / 459.4 MB, free: 4.207 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.2989, allocations: 3.625 kB / 459.4 MB, free: 4.207 MB / 410.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005038/0.2994, allocations: 414.8 kB / 459.8 MB, free: 4.156 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.2994, allocations: 8.094 kB / 459.8 MB, free: 4.156 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.2994, allocations: 4.609 kB / 459.9 MB, free: 4.156 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.2994, allocations: 3.5 kB / 459.9 MB, free: 4.156 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002163/0.2997, allocations: 86.8 kB / 459.9 MB, free: 4.156 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.2997, allocations: 5.047 kB / 459.9 MB, free: 4.156 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001284/0.2998, allocations: 26.67 kB / 460 MB, free: 4.156 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.333e-05/0.2998, allocations: 15.5 kB / 460 MB, free: 4.156 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 7.944e-05/0.2999, allocations: 149.6 kB / 460.1 MB, free: 4.035 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.876e-05/0.2999, allocations: 18.53 kB / 460.1 MB, free: 4.027 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002055/0.3001, allocations: 173.9 kB / 460.3 MB, free: 3.992 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.3001, allocations: 5.25 kB / 460.3 MB, free: 3.992 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.3002, allocations: 0.9062 kB / 460.3 MB, free: 3.992 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.3002, allocations: 2.391 kB / 460.3 MB, free: 3.992 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008001/0.301, allocations: 0.6927 MB / 461 MB, free: 3.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.301, allocations: 7.484 kB / 461 MB, free: 3.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001861/0.3011, allocations: 81.44 kB / 461.1 MB, free: 3.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.167e-06/0.3011, allocations: 5.219 kB / 461.1 MB, free: 3.68 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.701e-05/0.3012, allocations: 7.422 kB / 461.1 MB, free: 3.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.3012, allocations: 11.41 kB / 461.1 MB, free: 3.676 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.3012, allocations: 2.75 kB / 461.1 MB, free: 3.676 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000671/0.3018, allocations: 0.7012 MB / 461.8 MB, free: 3.41 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.015e-05/0.3019, allocations: 46.2 kB / 461.9 MB, free: 3.398 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.27e-05/0.3019, allocations: 6.844 kB / 461.9 MB, free: 3.398 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001591/0.3021, allocations: 29.3 kB / 461.9 MB, free: 3.395 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.477e-05/0.3021, allocations: 23.88 kB / 461.9 MB, free: 3.395 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.818e-05/0.3021, allocations: 18.69 kB / 462 MB, free: 3.395 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.535e-05/0.3022, allocations: 101.1 kB / 462.1 MB, free: 3.316 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3022, allocations: 0 / 462.1 MB, free: 3.316 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003374/0.3025, allocations: 144.7 kB / 462.2 MB, free: 3.297 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.0009834/0.3035, allocations: 1.375 MB / 463.6 MB, free: 2.484 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004436/0.3039, allocations: 332.5 kB / 463.9 MB, free: 2.477 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.3039, allocations: 1.062 kB / 463.9 MB, free: 2.477 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001928/0.3041, allocations: 164.4 kB / 464.1 MB, free: 2.477 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004203/0.3045, allocations: 96.7 kB / 464.2 MB, free: 2.469 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002238/0.3068, allocations: 2.774 MB / 466.9 MB, free: 0.8867 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.775e-05/0.3068, allocations: 125.3 kB / 467 MB, free: 0.8125 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001953/0.307, allocations: 79.66 kB / 467.1 MB, free: 0.8086 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001058/0.3071, allocations: 62.94 kB / 467.2 MB, free: 0.8008 MB / 410.7 MB Notification: Performance of SimCode: time 4.81e-07/0.3071, allocations: 0.6875 kB / 467.2 MB, free: 0.8008 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02302/0.3302, allocations: 9.1 MB / 476.3 MB, free: 15.53 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.972/7.302, allocations: 14.17 kB / 476.3 MB, free: 15.52 MB / 426.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.MoistAir_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_MoistAir_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-05 Modelica_4_0_0_Modelica_Media_Examples_MoistAir.fmu > Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/MoistAir/MoistAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 8.90568240173161]