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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001708/0.001708, allocations: 107.5 kB / 20.44 MB, free: 1.203 MB / 14.72 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.002032/0.002032, allocations: 184 kB / 23.7 MB, free: 4.434 MB / 14.72 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 1.503/1.503, allocations: 225.7 MB / 252.5 MB, free: 12.81 MB / 206.1 MB " [Timeout remaining time 178] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002131/0.002131, allocations: 43.92 kB / 370.4 MB, free: 9.699 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3186/0.3208, allocations: 52.19 MB / 422.6 MB, free: 14.4 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.03365/0.3544, allocations: 23.84 MB / 446.4 MB, free: 6.473 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003109/0.3575, allocations: 1.998 MB / 448.4 MB, free: 4.469 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001027/0.3576, allocations: 3.938 kB / 448.4 MB, free: 4.465 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003544/0.358, allocations: 59.66 kB / 448.5 MB, free: 4.406 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000449/0.3584, allocations: 159.1 kB / 448.6 MB, free: 4.25 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01641/0.3749, allocations: 6.482 MB / 455.1 MB, free: 13.77 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005248/0.3754, allocations: 318.8 kB / 455.4 MB, free: 13.45 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.137e-05/0.3755, allocations: 13.28 kB / 455.4 MB, free: 13.44 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003161/0.3758, allocations: 135.6 kB / 455.6 MB, free: 13.31 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002943/0.3761, allocations: 127.5 kB / 455.7 MB, free: 13.18 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.617e-05/0.3761, allocations: 12 kB / 455.7 MB, free: 13.17 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01843/0.3945, allocations: 8.952 MB / 464.7 MB, free: 4.207 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000155/0.3947, allocations: 63.86 kB / 464.7 MB, free: 4.145 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001872/0.3949, allocations: 83.7 kB / 464.8 MB, free: 4.062 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01215/0.407, allocations: 4.654 MB / 469.4 MB, free: 15.4 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.407, allocations: 0 / 469.4 MB, free: 15.4 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.407, allocations: 4 kB / 469.5 MB, free: 15.39 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.663e-06/0.407, allocations: 0 / 469.5 MB, free: 15.39 MB / 382.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.003595/0.4106, allocations: 1.063 MB / 470.5 MB, free: 14.29 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/0.4107, allocations: 8.031 kB / 470.5 MB, free: 14.29 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.223e-05/0.4108, allocations: 58.67 kB / 470.6 MB, free: 14.22 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000166/0.4109, allocations: 28.39 kB / 470.6 MB, free: 14.19 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003006/0.4112, allocations: 164.9 kB / 470.8 MB, free: 14 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.526e-05/0.4112, allocations: 12.33 kB / 470.8 MB, free: 13.99 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.407e-05/0.4113, allocations: 16 kB / 470.8 MB, free: 13.98 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007936/0.4121, allocations: 400.2 kB / 471.2 MB, free: 13.55 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.4121, allocations: 0 / 471.2 MB, free: 13.55 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.045e-05/0.4121, allocations: 8 kB / 471.2 MB, free: 13.54 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.894e-05/0.4121, allocations: 4 kB / 471.2 MB, free: 13.54 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008244/0.413, allocations: 311.6 kB / 471.5 MB, free: 13.23 MB / 382.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.001484/0.4145, allocations: 0.6821 MB / 472.2 MB, free: 12.5 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007179/0.4152, allocations: 237.1 kB / 472.4 MB, free: 12.25 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003184/0.4155, allocations: 125.6 kB / 472.5 MB, free: 12.12 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01144/0.4269, allocations: 2.702 MB / 475.2 MB, free: 9.418 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.259e-05/0.427, allocations: 42.5 kB / 475.3 MB, free: 9.367 MB / 382.1 MB Notification: Performance of pre-optimization done (n=29): time 2.074e-06/0.427, allocations: 0 / 475.3 MB, free: 9.367 MB / 382.1 MB Notification: Performance of matching and sorting (n=36): time 0.002903/0.4299, allocations: 0.6907 MB / 476 MB, free: 8.676 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.236e-05/0.4299, allocations: 89.05 kB / 476.1 MB, free: 8.57 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001462/0.4301, allocations: 133.9 kB / 476.2 MB, free: 8.43 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.915e-05/0.4301, allocations: 29.7 kB / 476.2 MB, free: 8.395 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.855e-05/0.4302, allocations: 104.9 kB / 476.3 MB, free: 8.289 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001268/0.4303, allocations: 138.8 kB / 476.5 MB, free: 8.152 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001219/0.4305, allocations: 69.69 kB / 476.5 MB, free: 8.078 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001765/0.4306, allocations: 334.8 kB / 476.9 MB, free: 7.742 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003864/0.431, allocations: 127.9 kB / 477 MB, free: 7.617 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005187/0.4315, allocations: 219.5 kB / 477.2 MB, free: 7.375 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009678/0.4325, allocations: 355.5 kB / 477.5 MB, free: 7 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.4325, allocations: 4 kB / 477.5 MB, free: 6.996 MB / 382.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001189/0.4337, allocations: 415.2 kB / 478 MB, free: 6.586 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.4337, allocations: 4 kB / 478 MB, free: 6.582 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/0.4337, allocations: 4 kB / 478 MB, free: 6.578 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.3e-05/0.4338, allocations: 7.984 kB / 478 MB, free: 6.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004758/0.4342, allocations: 96.03 kB / 478.1 MB, free: 6.477 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.352e-05/0.4342, allocations: 11.92 kB / 478.1 MB, free: 6.465 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002868/0.4345, allocations: 27.88 kB / 478.1 MB, free: 6.438 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.936e-05/0.4346, allocations: 19.98 kB / 478.1 MB, free: 6.418 MB / 382.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.0001501/0.4347, allocations: 137.8 kB / 478.3 MB, free: 6.273 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001389/0.4349, allocations: 19.91 kB / 478.3 MB, free: 6.254 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004863/0.4354, allocations: 189.8 kB / 478.5 MB, free: 6.062 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.167e-06/0.4354, allocations: 7.938 kB / 478.5 MB, free: 6.055 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.4354, allocations: 0 / 478.5 MB, free: 6.055 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.4354, allocations: 3.984 kB / 478.5 MB, free: 6.051 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001773/0.4371, allocations: 0.7002 MB / 479.2 MB, free: 5.285 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.4372, allocations: 4 kB / 479.2 MB, free: 5.281 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004393/0.4376, allocations: 88.03 kB / 479.3 MB, free: 5.195 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.043e-06/0.4376, allocations: 4 kB / 479.3 MB, free: 5.191 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.207e-05/0.4376, allocations: 11.98 kB / 479.3 MB, free: 5.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/0.4376, allocations: 4 kB / 479.3 MB, free: 5.176 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.714e-06/0.4376, allocations: 7.938 kB / 479.3 MB, free: 5.168 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001578/0.4392, allocations: 0.6988 MB / 480 MB, free: 4.438 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001314/0.4394, allocations: 47.83 kB / 480 MB, free: 4.391 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.332e-05/0.4394, allocations: 8 kB / 480 MB, free: 4.383 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003394/0.4397, allocations: 15.98 kB / 480.1 MB, free: 4.367 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.055e-05/0.4398, allocations: 39.89 kB / 480.1 MB, free: 4.328 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.759e-05/0.4398, allocations: 19.98 kB / 480.1 MB, free: 4.309 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.679e-05/0.4399, allocations: 95.27 kB / 480.2 MB, free: 4.215 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4399, allocations: 0 / 480.2 MB, free: 4.215 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002689/0.4426, allocations: 0.9472 MB / 481.2 MB, free: 3.266 MB / 382.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.005995/0.4486, allocations: 2.416 MB / 483.6 MB, free: 0.8086 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001034/0.4496, allocations: 347.4 kB / 483.9 MB, free: 484 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.4496, allocations: 3.938 kB / 483.9 MB, free: 480 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004708/0.4501, allocations: 163.8 kB / 484.1 MB, free: 316 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007133/0.4508, allocations: 92.16 kB / 484.2 MB, free: 224 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006323/0.4571, allocations: 3.147 MB / 487.3 MB, free: 12.91 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000134/0.4573, allocations: 128.7 kB / 487.4 MB, free: 12.77 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003815/0.4577, allocations: 82.05 kB / 487.5 MB, free: 12.69 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001878/0.4578, allocations: 63.41 kB / 487.6 MB, free: 12.63 MB / 398.1 MB Notification: Performance of SimCode: time 7.61e-07/0.4578, allocations: 8 kB / 487.6 MB, free: 12.62 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07799/0.5358, allocations: 33.51 MB / 0.5089 GB, free: 11.3 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.68/13.22, allocations: 8 kB / 0.5089 GB, free: 11.3 MB / 430.1 MB " [Timeout remaining time 647] (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 & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.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_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir.fmu > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir_res.csv","/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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.3145653270185]