Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00142/0.00142, allocations: 109.6 kB / 21.18 MB, free: 0.6992 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001482/0.001482, allocations: 216.7 kB / 24.49 MB, free: 4.031 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.386/1.386, allocations: 207.6 MB / 235.3 MB, free: 10.02 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002695/0.002695, allocations: 51.92 kB / 347.2 MB, free: 10.06 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2972/0.2999, allocations: 49.16 MB / 396.3 MB, free: 8.988 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.03371/0.3336, allocations: 26.83 MB / 423.2 MB, free: 5.52 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003185/0.3368, allocations: 2.251 MB / 425.4 MB, free: 3.707 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001153/0.3369, allocations: 5.125 kB / 425.4 MB, free: 3.703 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004085/0.3373, allocations: 64.89 kB / 425.5 MB, free: 3.652 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004563/0.3378, allocations: 151.3 kB / 425.6 MB, free: 3.535 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0179/0.3557, allocations: 6.216 MB / 431.9 MB, free: 15.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005215/0.3562, allocations: 312.9 kB / 432.2 MB, free: 15.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.198e-05/0.3562, allocations: 6.25 kB / 432.2 MB, free: 15.18 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002726/0.3565, allocations: 132.3 kB / 432.3 MB, free: 15.12 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002533/0.3568, allocations: 128.8 kB / 432.4 MB, free: 15.04 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.271e-05/0.3568, allocations: 14.66 kB / 432.4 MB, free: 15.04 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01942/0.3762, allocations: 9.583 MB / 442 MB, free: 5.574 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001775/0.3764, allocations: 63.86 kB / 442.1 MB, free: 5.512 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002022/0.3766, allocations: 95.58 kB / 442.2 MB, free: 5.418 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01474/0.3913, allocations: 4.689 MB / 446.9 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.075e-06/0.3913, allocations: 0 / 446.9 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.3913, allocations: 0 / 446.9 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.025e-05/0.3914, allocations: 0 / 446.9 MB, free: 0.7188 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.003847/0.3952, allocations: 1.067 MB / 447.9 MB, free: 15.61 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/0.3952, allocations: 11.98 kB / 447.9 MB, free: 15.6 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.61e-05/0.3953, allocations: 58.67 kB / 448 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000184/0.3955, allocations: 32.34 kB / 448 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003006/0.3958, allocations: 153.1 kB / 448.2 MB, free: 15.33 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.88e-05/0.3958, allocations: 12.33 kB / 448.2 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.134e-05/0.3959, allocations: 16 kB / 448.2 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007393/0.3966, allocations: 285.5 kB / 448.5 MB, free: 15.01 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.523e-05/0.3966, allocations: 0 / 448.5 MB, free: 15.01 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.931e-05/0.3967, allocations: 8 kB / 448.5 MB, free: 15 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.544e-05/0.3967, allocations: 12 kB / 448.5 MB, free: 14.99 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008192/0.3975, allocations: 315.6 kB / 448.8 MB, free: 14.68 MB / 366.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.001743/0.3992, allocations: 0.7885 MB / 449.6 MB, free: 13.82 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007534/0.4, allocations: 249.2 kB / 449.8 MB, free: 13.56 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003141/0.4003, allocations: 126.9 kB / 450 MB, free: 13.43 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01183/0.4121, allocations: 2.686 MB / 452.7 MB, free: 10.74 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.821e-05/0.4122, allocations: 42.5 kB / 452.7 MB, free: 10.69 MB / 366.1 MB Notification: Performance of pre-optimization done (n=29): time 2.405e-06/0.4122, allocations: 4 kB / 452.7 MB, free: 10.69 MB / 366.1 MB Notification: Performance of matching and sorting (n=36): time 0.003003/0.4152, allocations: 0.6888 MB / 453.4 MB, free: 9.992 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.918e-05/0.4153, allocations: 81.11 kB / 453.5 MB, free: 9.895 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001336/0.4154, allocations: 129.8 kB / 453.6 MB, free: 9.758 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.946e-05/0.4154, allocations: 29.7 kB / 453.6 MB, free: 9.723 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.526e-05/0.4155, allocations: 112.9 kB / 453.7 MB, free: 9.609 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001185/0.4156, allocations: 130.9 kB / 453.9 MB, free: 9.48 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001293/0.4158, allocations: 77.62 kB / 453.9 MB, free: 9.398 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.4159, allocations: 330.8 kB / 454.3 MB, free: 9.066 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003707/0.4163, allocations: 127.9 kB / 454.4 MB, free: 8.941 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005365/0.4168, allocations: 207.6 kB / 454.6 MB, free: 8.711 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009869/0.4178, allocations: 355.5 kB / 454.9 MB, free: 8.336 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.4178, allocations: 4 kB / 454.9 MB, free: 8.332 MB / 366.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001232/0.419, allocations: 417.3 kB / 455.3 MB, free: 7.918 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/0.4191, allocations: 11.92 kB / 455.4 MB, free: 7.906 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/0.4191, allocations: 4 kB / 455.4 MB, free: 7.902 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.137e-05/0.4191, allocations: 4 kB / 455.4 MB, free: 7.898 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004929/0.4196, allocations: 91.81 kB / 455.5 MB, free: 7.809 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.388e-05/0.4196, allocations: 8.156 kB / 455.5 MB, free: 7.801 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003103/0.4199, allocations: 31.88 kB / 455.5 MB, free: 7.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.49e-05/0.42, allocations: 19.98 kB / 455.5 MB, free: 7.75 MB / 366.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.0001794/0.4201, allocations: 141.8 kB / 455.7 MB, free: 7.602 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001457/0.4203, allocations: 19.91 kB / 455.7 MB, free: 7.582 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005526/0.4208, allocations: 186.6 kB / 455.9 MB, free: 7.398 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-06/0.4208, allocations: 11.88 kB / 455.9 MB, free: 7.387 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.4208, allocations: 3.938 kB / 455.9 MB, free: 7.383 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-06/0.4209, allocations: 0 / 455.9 MB, free: 7.383 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001859/0.4227, allocations: 0.7433 MB / 456.6 MB, free: 6.574 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/0.4227, allocations: 4 kB / 456.6 MB, free: 6.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004227/0.4231, allocations: 79.88 kB / 456.7 MB, free: 6.492 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.343e-06/0.4231, allocations: 4 kB / 456.7 MB, free: 6.488 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.835e-05/0.4232, allocations: 8 kB / 456.7 MB, free: 6.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.36e-06/0.4232, allocations: 4 kB / 456.7 MB, free: 6.477 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.818e-06/0.4232, allocations: 3.938 kB / 456.7 MB, free: 6.473 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001581/0.4248, allocations: 0.7069 MB / 457.4 MB, free: 5.734 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001374/0.4249, allocations: 51.88 kB / 457.5 MB, free: 5.684 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.643e-05/0.425, allocations: 15.98 kB / 457.5 MB, free: 5.668 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003513/0.4253, allocations: 20.05 kB / 457.5 MB, free: 5.648 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.227e-05/0.4254, allocations: 35.83 kB / 457.5 MB, free: 5.613 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.751e-05/0.4254, allocations: 19.98 kB / 457.6 MB, free: 5.594 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.524e-05/0.4255, allocations: 95.27 kB / 457.7 MB, free: 5.5 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4255, allocations: 3.938 kB / 457.7 MB, free: 5.496 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002814/0.4283, allocations: 0.9394 MB / 458.6 MB, free: 4.555 MB / 366.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.006326/0.4346, allocations: 2.417 MB / 461 MB, free: 2.09 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001139/0.4357, allocations: 335.8 kB / 461.3 MB, free: 1.762 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.4358, allocations: 3.938 kB / 461.3 MB, free: 1.758 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004712/0.4362, allocations: 159.8 kB / 461.5 MB, free: 1.602 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007886/0.437, allocations: 100.3 kB / 461.6 MB, free: 1.504 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006926/0.4439, allocations: 3.143 MB / 464.7 MB, free: 14.18 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005142/0.4445, allocations: 0.7293 MB / 465.5 MB, free: 13.43 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000407/0.4449, allocations: 86.05 kB / 465.6 MB, free: 13.34 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002107/0.4451, allocations: 75.39 kB / 465.6 MB, free: 13.27 MB / 382.1 MB Notification: Performance of SimCode: time 9.81e-07/0.4451, allocations: 0 / 465.6 MB, free: 13.27 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08023/0.5253, allocations: 34.34 MB / 500 MB, free: 10.83 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.83/13.36, allocations: 4 kB / 500 MB, free: 10.82 MB / 414.1 MB " [Timeout remaining time 647] (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir.fmu > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.358350880000216]