Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.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.MoistAir,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir",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.001546/0.001546, allocations: 110.6 kB / 16.62 MB, free: 6.961 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.001825/0.001826, allocations: 190 kB / 17.54 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.229/1.229, allocations: 222.9 MB / 241.2 MB, free: 15.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001017/0.001017, allocations: 50.95 kB / 300.2 MB, free: 6.145 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08235/0.08338, allocations: 49.44 MB / 349.7 MB, free: 4.691 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.1528/0.2362, allocations: 26.57 MB / 376.3 MB, free: 9.074 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002204/0.2384, allocations: 2.242 MB / 378.5 MB, free: 9.027 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.958e-05/0.2385, allocations: 1.781 kB / 378.5 MB, free: 9.027 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003124/0.2389, allocations: 54.36 kB / 378.6 MB, free: 9.027 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003318/0.2392, allocations: 152.8 kB / 378.7 MB, free: 9.023 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01365/0.2529, allocations: 5.854 MB / 384.6 MB, free: 8.547 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004438/0.2533, allocations: 312 kB / 384.9 MB, free: 8.488 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.396e-05/0.2534, allocations: 17.53 kB / 384.9 MB, free: 8.48 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000192/0.2536, allocations: 137.4 kB / 385 MB, free: 8.457 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001911/0.2538, allocations: 120.7 kB / 385.1 MB, free: 8.441 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.854e-05/0.2538, allocations: 11.94 kB / 385.1 MB, free: 8.441 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01374/0.2675, allocations: 9.46 MB / 394.6 MB, free: 4.816 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001129/0.2677, allocations: 64.59 kB / 394.7 MB, free: 4.777 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001514/0.2679, allocations: 93.34 kB / 394.8 MB, free: 4.727 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007669/0.2755, allocations: 4.797 MB / 399.6 MB, free: 2.102 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.2755, allocations: 0 / 399.6 MB, free: 2.102 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2756, allocations: 3.938 kB / 399.6 MB, free: 2.098 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.57e-06/0.2756, allocations: 0 / 399.6 MB, free: 2.098 MB / 302.1 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.002512/0.2781, allocations: 1.11 MB / 400.7 MB, free: 1.156 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.2781, allocations: 11.97 kB / 400.7 MB, free: 1.145 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.628e-05/0.2782, allocations: 54.73 kB / 400.7 MB, free: 1.082 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001331/0.2783, allocations: 20.73 kB / 400.8 MB, free: 1.062 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001648/0.2785, allocations: 226 kB / 401 MB, free: 0.8047 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/0.2785, allocations: 8.328 kB / 401 MB, free: 0.7969 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.941e-05/0.2786, allocations: 20 kB / 401 MB, free: 0.7773 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000593/0.2792, allocations: 289.4 kB / 401.3 MB, free: 496 kB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.2792, allocations: 4 kB / 401.3 MB, free: 492 kB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.767e-05/0.2792, allocations: 4.875 kB / 401.3 MB, free: 488 kB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.018e-05/0.2792, allocations: 12 kB / 401.3 MB, free: 476 kB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006365/0.2799, allocations: 311.7 kB / 401.6 MB, free: 164 kB / 302.1 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.001305/0.2812, allocations: 0.8224 MB / 402.4 MB, free: 15.27 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006745/0.2819, allocations: 245.2 kB / 402.7 MB, free: 15.01 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002893/0.2822, allocations: 133.6 kB / 402.8 MB, free: 14.88 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01512/0.2973, allocations: 12.86 MB / 415.7 MB, free: 15.52 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.011e-05/0.2974, allocations: 38.5 kB / 415.7 MB, free: 15.48 MB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 2.225e-06/0.2974, allocations: 0 / 415.7 MB, free: 15.48 MB / 334.1 MB Notification: Performance of matching and sorting (n=36): time 0.002774/0.3002, allocations: 0.696 MB / 416.4 MB, free: 14.77 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.615e-05/0.3002, allocations: 85.05 kB / 416.5 MB, free: 14.67 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001099/0.3003, allocations: 121.8 kB / 416.6 MB, free: 14.54 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.755e-05/0.3004, allocations: 33.7 kB / 416.6 MB, free: 14.5 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.908e-05/0.3005, allocations: 111.8 kB / 416.7 MB, free: 14.39 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.02e-05/0.3006, allocations: 117.9 kB / 416.8 MB, free: 14.28 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001147/0.3007, allocations: 73.67 kB / 416.9 MB, free: 14.2 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.3008, allocations: 334.8 kB / 417.2 MB, free: 13.87 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000359/0.3012, allocations: 132.9 kB / 417.4 MB, free: 13.74 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004586/0.3016, allocations: 215.6 kB / 417.6 MB, free: 13.5 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008679/0.3025, allocations: 353 kB / 417.9 MB, free: 13.13 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.3025, allocations: 0 / 417.9 MB, free: 13.13 MB / 334.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001086/0.3036, allocations: 421.9 kB / 418.3 MB, free: 12.71 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.3036, allocations: 4.219 kB / 418.3 MB, free: 12.71 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/0.3037, allocations: 18.16 kB / 418.4 MB, free: 12.7 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.3037, allocations: 4 kB / 418.4 MB, free: 12.69 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004482/0.3041, allocations: 91.81 kB / 418.5 MB, free: 12.6 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.238e-05/0.3042, allocations: 7.938 kB / 418.5 MB, free: 12.59 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000322/0.3045, allocations: 31.77 kB / 418.5 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.055e-05/0.3045, allocations: 23.98 kB / 418.5 MB, free: 12.54 MB / 334.1 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 0.0001375/0.3047, allocations: 145.8 kB / 418.7 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001334/0.3048, allocations: 19.75 kB / 418.7 MB, free: 12.37 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004677/0.3053, allocations: 190.3 kB / 418.9 MB, free: 12.18 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.3053, allocations: 4 kB / 418.9 MB, free: 12.17 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/0.3053, allocations: 7.938 kB / 418.9 MB, free: 12.16 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.3053, allocations: 0 / 418.9 MB, free: 12.16 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001593/0.3069, allocations: 0.7553 MB / 419.6 MB, free: 11.34 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.3069, allocations: 160 / 419.6 MB, free: 11.34 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004029/0.3074, allocations: 83.88 kB / 419.7 MB, free: 11.26 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.3074, allocations: 4 kB / 419.7 MB, free: 11.26 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.108e-05/0.3074, allocations: 15.98 kB / 419.7 MB, free: 11.24 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.3074, allocations: 0 / 419.7 MB, free: 11.24 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.3074, allocations: 7.938 kB / 419.7 MB, free: 11.23 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001429/0.3089, allocations: 0.7038 MB / 420.5 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001097/0.309, allocations: 120.9 kB / 420.6 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.44e-05/0.309, allocations: 8 kB / 420.6 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003455/0.3094, allocations: 23.92 kB / 420.6 MB, free: 10.33 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.417e-05/0.3094, allocations: 35.91 kB / 420.6 MB, free: 10.3 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.071e-05/0.3095, allocations: 15.98 kB / 420.6 MB, free: 10.28 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.691e-05/0.3096, allocations: 103.6 kB / 420.8 MB, free: 10.18 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.3096, allocations: 0 / 420.8 MB, free: 10.18 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.00278/0.3124, allocations: 0.937 MB / 421.7 MB, free: 9.242 MB / 334.1 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 (37): * Single equations (assignments): 37 * 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.005423/0.3178, allocations: 2.4 MB / 424.1 MB, free: 6.898 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009534/0.3188, allocations: 364 kB / 424.4 MB, free: 6.543 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.3188, allocations: 0 / 424.4 MB, free: 6.543 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004378/0.3192, allocations: 186.9 kB / 424.6 MB, free: 6.363 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006606/0.3199, allocations: 92.12 kB / 424.7 MB, free: 6.277 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005023/0.3249, allocations: 3.181 MB / 427.9 MB, free: 2.941 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002654/0.3252, allocations: 0.7408 MB / 428.6 MB, free: 2.176 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003972/0.3256, allocations: 78.05 kB / 428.7 MB, free: 2.102 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001766/0.3258, allocations: 83.33 kB / 428.8 MB, free: 2.02 MB / 334.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3258, allocations: 0 / 428.8 MB, free: 2.02 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4796/0.8054, allocations: 32.4 MB / 461.2 MB, free: 1.746 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000224/0.8057, allocations: 251.1 kB / 461.4 MB, free: 1.48 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.568/5.374, allocations: 0 / 461.4 MB, free: 1.48 MB / 366.1 MB (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir.fmu > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches