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.001812/0.001812, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 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.002176/0.002176, allocations: 209.3 kB / 24.47 MB, free: 3.773 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.405/1.405, allocations: 207.7 MB / 235.3 MB, free: 9.789 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.001843/0.001843, allocations: 55.92 kB / 347.2 MB, free: 9.887 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2651/0.2669, allocations: 49.15 MB / 396.3 MB, free: 8.871 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.03063/0.2975, allocations: 23.99 MB / 420.3 MB, free: 8.41 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002987/0.3005, allocations: 1.994 MB / 422.3 MB, free: 6.875 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.768e-05/0.3006, allocations: 5.25 kB / 422.3 MB, free: 6.871 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003603/0.301, allocations: 60.41 kB / 422.4 MB, free: 6.824 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000404/0.3014, allocations: 143.2 kB / 422.5 MB, free: 6.715 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01746/0.3188, allocations: 6.183 MB / 428.7 MB, free: 2.551 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005174/0.3193, allocations: 313.9 kB / 429 MB, free: 2.383 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.008e-05/0.3194, allocations: 5.312 kB / 429 MB, free: 2.379 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002262/0.3196, allocations: 135.6 kB / 429.2 MB, free: 2.246 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002312/0.3198, allocations: 127.5 kB / 429.3 MB, free: 2.121 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.309e-05/0.3199, allocations: 16 kB / 429.3 MB, free: 2.105 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01769/0.3376, allocations: 8.839 MB / 438.1 MB, free: 9.254 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001406/0.3377, allocations: 71.84 kB / 438.2 MB, free: 9.184 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001865/0.3379, allocations: 83.7 kB / 438.3 MB, free: 9.102 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01279/0.3507, allocations: 4.63 MB / 442.9 MB, free: 4.461 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.613e-06/0.3507, allocations: 0 / 442.9 MB, free: 4.461 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3507, allocations: 4 kB / 442.9 MB, free: 4.457 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.146e-06/0.3507, allocations: 0 / 442.9 MB, free: 4.457 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.003453/0.3542, allocations: 1.063 MB / 444 MB, free: 3.355 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.4e-05/0.3542, allocations: 15.97 kB / 444 MB, free: 3.34 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.793e-05/0.3543, allocations: 54.67 kB / 444.1 MB, free: 3.277 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001531/0.3544, allocations: 24.41 kB / 444.1 MB, free: 3.254 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000333/0.3548, allocations: 149.1 kB / 444.2 MB, free: 3.082 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.81e-05/0.3548, allocations: 12.33 kB / 444.2 MB, free: 3.07 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.197e-05/0.3548, allocations: 16 kB / 444.3 MB, free: 3.055 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008371/0.3557, allocations: 392.3 kB / 444.6 MB, free: 2.637 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/0.3557, allocations: 3.938 kB / 444.6 MB, free: 2.633 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.851e-05/0.3557, allocations: 4 kB / 444.6 MB, free: 2.629 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.103e-05/0.3557, allocations: 8 kB / 444.7 MB, free: 2.621 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008449/0.3566, allocations: 319.6 kB / 445 MB, free: 2.309 MB / 350.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.001498/0.3581, allocations: 0.6781 MB / 445.6 MB, free: 1.578 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007866/0.3589, allocations: 249.2 kB / 445.9 MB, free: 1.316 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003031/0.3592, allocations: 129.6 kB / 446 MB, free: 1.184 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0111/0.3703, allocations: 2.698 MB / 448.7 MB, free: 14.48 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.242e-05/0.3703, allocations: 42.5 kB / 448.8 MB, free: 14.43 MB / 366.1 MB Notification: Performance of pre-optimization done (n=29): time 2.615e-06/0.3703, allocations: 0 / 448.8 MB, free: 14.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=36): time 0.003036/0.3734, allocations: 0.688 MB / 449.4 MB, free: 13.73 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.501e-05/0.3734, allocations: 81.11 kB / 449.5 MB, free: 13.64 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001376/0.3736, allocations: 133.7 kB / 449.6 MB, free: 13.5 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.063e-05/0.3736, allocations: 33.7 kB / 449.7 MB, free: 13.46 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.259e-05/0.3737, allocations: 120.8 kB / 449.8 MB, free: 13.34 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001197/0.3738, allocations: 126.9 kB / 449.9 MB, free: 13.21 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000126/0.3739, allocations: 77.62 kB / 450 MB, free: 13.13 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002174/0.3742, allocations: 326.8 kB / 450.3 MB, free: 12.8 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003904/0.3745, allocations: 135.9 kB / 450.5 MB, free: 12.67 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005516/0.3751, allocations: 203.6 kB / 450.7 MB, free: 12.44 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009195/0.376, allocations: 359.9 kB / 451 MB, free: 12.06 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.376, allocations: 4 kB / 451 MB, free: 12.06 MB / 366.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001162/0.3772, allocations: 425.4 kB / 451.4 MB, free: 11.64 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/0.3772, allocations: 8.031 kB / 451.4 MB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.727e-05/0.3772, allocations: 7.984 kB / 451.4 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.157e-05/0.3772, allocations: 4 kB / 451.4 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000489/0.3777, allocations: 91.81 kB / 451.5 MB, free: 11.53 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.458e-05/0.3777, allocations: 7.938 kB / 451.5 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002875/0.378, allocations: 23.98 kB / 451.6 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.277e-05/0.3781, allocations: 15.98 kB / 451.6 MB, free: 11.48 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.0001707/0.3782, allocations: 145.8 kB / 451.7 MB, free: 11.33 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001357/0.3784, allocations: 19.91 kB / 451.7 MB, free: 11.31 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004915/0.3789, allocations: 182.4 kB / 451.9 MB, free: 11.13 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.607e-06/0.3789, allocations: 7.938 kB / 451.9 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.3789, allocations: 7.938 kB / 451.9 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.872e-06/0.3789, allocations: 0 / 451.9 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001748/0.3806, allocations: 0.7082 MB / 452.6 MB, free: 10.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.3806, allocations: 4 kB / 452.6 MB, free: 10.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004009/0.381, allocations: 79.88 kB / 452.7 MB, free: 10.26 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.077e-06/0.3811, allocations: 4 kB / 452.7 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.298e-05/0.3811, allocations: 15.92 kB / 452.7 MB, free: 10.24 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.97e-06/0.3811, allocations: 4 kB / 452.7 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.3811, allocations: 3.938 kB / 452.7 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001689/0.3828, allocations: 0.7109 MB / 453.5 MB, free: 9.488 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001282/0.3829, allocations: 51.89 kB / 453.5 MB, free: 9.438 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.926e-05/0.383, allocations: 12 kB / 453.5 MB, free: 9.426 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003267/0.3833, allocations: 15.98 kB / 453.5 MB, free: 9.41 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.12e-05/0.3833, allocations: 43.75 kB / 453.6 MB, free: 9.367 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.318e-05/0.3834, allocations: 15.98 kB / 453.6 MB, free: 9.352 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.381e-05/0.3835, allocations: 99.27 kB / 453.7 MB, free: 9.254 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3835, allocations: 0 / 453.7 MB, free: 9.254 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002857/0.3863, allocations: 0.9355 MB / 454.6 MB, free: 8.316 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.00635/0.3927, allocations: 2.413 MB / 457 MB, free: 5.855 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001069/0.3937, allocations: 323.6 kB / 457.4 MB, free: 5.539 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/0.3937, allocations: 3.938 kB / 457.4 MB, free: 5.535 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004786/0.3942, allocations: 172.5 kB / 457.5 MB, free: 5.367 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007499/0.395, allocations: 91.84 kB / 457.6 MB, free: 5.277 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006331/0.4013, allocations: 3.151 MB / 460.8 MB, free: 1.953 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001479/0.4015, allocations: 120.7 kB / 460.9 MB, free: 1.816 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003665/0.4018, allocations: 86.05 kB / 461 MB, free: 1.734 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001918/0.402, allocations: 67.41 kB / 461 MB, free: 1.668 MB / 366.1 MB Notification: Performance of SimCode: time 7.51e-07/0.402, allocations: 0 / 461 MB, free: 1.668 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07904/0.4811, allocations: 34.93 MB / 496 MB, free: 14.62 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.59/13.07, allocations: 15.84 kB / 496 MB, free: 14.61 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: 15.976604215335101]