Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.000818/0.000818, allocations: 79.7 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.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.0008309/0.0008309, allocations: 174 kB / 23.94 MB, free: 0.6172 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8731/0.8731, allocations: 177.1 MB / 204.3 MB, free: 5.699 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_Modelica_Media_Examples_ReferenceAir_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_ReferenceAir_MoistAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 324.6 MB, free: 15.92 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.069e-05/2.232e-05, allocations: 4.953 kB / 324.6 MB, free: 15.92 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.01926/0.01928, allocations: 24.02 MB / 348.6 MB, free: 7.809 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00171/0.02099, allocations: 2.009 MB / 350.6 MB, free: 5.793 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.206e-05/0.02105, allocations: 0 / 350.6 MB, free: 5.793 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003085/0.02136, allocations: 63.59 kB / 350.7 MB, free: 5.73 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002813/0.02164, allocations: 174.8 kB / 350.8 MB, free: 5.559 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01035/0.03199, allocations: 6.577 MB / 357.4 MB, free: 14.98 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003327/0.03232, allocations: 342.5 kB / 357.7 MB, free: 14.64 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.17e-05/0.03236, allocations: 9.812 kB / 357.7 MB, free: 14.64 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001905/0.03255, allocations: 187.5 kB / 357.9 MB, free: 14.45 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001541/0.03271, allocations: 111.7 kB / 358 MB, free: 14.34 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.321e-05/0.03273, allocations: 15.94 kB / 358.1 MB, free: 14.33 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0101/0.04283, allocations: 9.014 MB / 367.1 MB, free: 5.301 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 8.966e-05/0.04292, allocations: 75.78 kB / 367.1 MB, free: 5.227 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 7.896e-05/0.043, allocations: 79.83 kB / 367.2 MB, free: 5.148 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005844/0.04885, allocations: 5.897 MB / 373.1 MB, free: 15.24 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.04885, allocations: 0 / 373.1 MB, free: 15.24 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.04885, allocations: 4 kB / 373.1 MB, free: 15.23 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.541e-06/0.04886, allocations: 3.938 kB / 373.1 MB, free: 15.23 MB / 346.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.002072/0.05093, allocations: 1.101 MB / 374.2 MB, free: 14.09 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.971e-05/0.05098, allocations: 8.031 kB / 374.2 MB, free: 14.08 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.416e-05/0.05103, allocations: 50.73 kB / 374.3 MB, free: 14.02 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001179/0.05115, allocations: 24.03 kB / 374.3 MB, free: 14 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002221/0.05137, allocations: 167.6 kB / 374.5 MB, free: 13.81 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.56e-05/0.05139, allocations: 12.33 kB / 374.5 MB, free: 13.8 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.525e-05/0.05142, allocations: 15.95 kB / 374.5 MB, free: 13.79 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000506/0.05193, allocations: 396.2 kB / 374.9 MB, free: 13.36 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.05194, allocations: 4 kB / 374.9 MB, free: 13.36 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.33e-05/0.05197, allocations: 4 kB / 374.9 MB, free: 13.36 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.057e-05/0.05199, allocations: 11.98 kB / 374.9 MB, free: 13.34 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004592/0.05245, allocations: 307.7 kB / 375.2 MB, free: 13.04 MB / 346.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.0009118/0.05336, allocations: 0.6902 MB / 375.9 MB, free: 12.3 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004177/0.05378, allocations: 245.1 kB / 376.1 MB, free: 12.04 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001714/0.05395, allocations: 129.6 kB / 376.3 MB, free: 11.91 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004989/0.05894, allocations: 2.69 MB / 378.9 MB, free: 9.215 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.05896, allocations: 46.5 kB / 379 MB, free: 9.16 MB / 346.7 MB Notification: Performance of pre-optimization done (n=29): time 1.743e-06/0.05896, allocations: 0 / 379 MB, free: 9.16 MB / 346.7 MB Notification: Performance of matching and sorting (n=36): time 0.001504/0.06047, allocations: 0.6959 MB / 379.7 MB, free: 8.457 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.959e-05/0.06051, allocations: 89.05 kB / 379.8 MB, free: 8.352 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.671e-05/0.06059, allocations: 145.7 kB / 379.9 MB, free: 8.199 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.279e-05/0.06061, allocations: 29.7 kB / 379.9 MB, free: 8.164 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.367e-05/0.06067, allocations: 116.9 kB / 380.1 MB, free: 8.047 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.746e-05/0.06074, allocations: 130.9 kB / 380.2 MB, free: 7.918 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.999e-05/0.06082, allocations: 77.59 kB / 380.3 MB, free: 7.836 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003446/0.06116, allocations: 326.8 kB / 380.6 MB, free: 7.508 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002126/0.06137, allocations: 139.9 kB / 380.7 MB, free: 7.371 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002693/0.06164, allocations: 207.6 kB / 380.9 MB, free: 7.141 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005168/0.06216, allocations: 362.5 kB / 381.3 MB, free: 6.762 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.06216, allocations: 4 kB / 381.3 MB, free: 6.758 MB / 346.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0006349/0.0628, allocations: 420.4 kB / 381.7 MB, free: 6.344 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.06281, allocations: 8 kB / 381.7 MB, free: 6.336 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.06282, allocations: 0 / 381.7 MB, free: 6.336 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.06283, allocations: 4 kB / 381.7 MB, free: 6.332 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002266/0.06306, allocations: 91.88 kB / 381.8 MB, free: 6.242 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.06307, allocations: 11.88 kB / 381.8 MB, free: 6.23 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001301/0.0632, allocations: 32.08 kB / 381.8 MB, free: 6.199 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.355e-05/0.06322, allocations: 20 kB / 381.9 MB, free: 6.18 MB / 346.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 9.55e-05/0.06332, allocations: 137.8 kB / 382 MB, free: 6.035 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.374e-05/0.06339, allocations: 23.91 kB / 382 MB, free: 6.012 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000285/0.06368, allocations: 193.4 kB / 382.2 MB, free: 5.812 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.06368, allocations: 4 kB / 382.2 MB, free: 5.809 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.06369, allocations: 3.938 kB / 382.2 MB, free: 5.805 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.06369, allocations: 11.86 kB / 382.2 MB, free: 5.793 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009502/0.06464, allocations: 0.7082 MB / 382.9 MB, free: 5.02 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.06465, allocations: 0 / 382.9 MB, free: 5.02 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001916/0.06484, allocations: 79.89 kB / 383 MB, free: 4.941 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.06484, allocations: 3.984 kB / 383 MB, free: 4.938 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.99e-05/0.06486, allocations: 16.16 kB / 383 MB, free: 4.922 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.06486, allocations: 3.938 kB / 383 MB, free: 4.918 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.06486, allocations: 4 kB / 383 MB, free: 4.914 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008689/0.06573, allocations: 0.7173 MB / 383.8 MB, free: 4.164 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.27e-05/0.06581, allocations: 47.81 kB / 383.8 MB, free: 4.117 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.827e-05/0.06583, allocations: 11.98 kB / 383.8 MB, free: 4.105 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001655/0.066, allocations: 19.98 kB / 383.8 MB, free: 4.086 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.986e-05/0.06603, allocations: 27.89 kB / 383.9 MB, free: 4.059 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.222e-05/0.06605, allocations: 19.98 kB / 383.9 MB, free: 4.039 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.838e-05/0.0661, allocations: 110.4 kB / 384 MB, free: 3.934 MB / 346.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0661, allocations: 4.062 kB / 384 MB, free: 3.93 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001456/0.06756, allocations: 0.9705 MB / 385 MB, free: 2.957 MB / 346.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 (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.003623/0.07118, allocations: 2.533 MB / 387.5 MB, free: 388 kB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005351/0.07171, allocations: 338.5 kB / 387.8 MB, free: 52 kB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.07172, allocations: 0 / 387.8 MB, free: 52 kB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002538/0.07197, allocations: 176.5 kB / 388 MB, free: 15.88 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000432/0.0724, allocations: 103.8 kB / 388.1 MB, free: 15.77 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003233/0.07563, allocations: 3.183 MB / 391.3 MB, free: 12.43 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.295e-05/0.07573, allocations: 137.8 kB / 391.4 MB, free: 12.27 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002051/0.07593, allocations: 86.33 kB / 391.5 MB, free: 12.18 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001264/0.07606, allocations: 76.45 kB / 391.6 MB, free: 12.11 MB / 362.7 MB Notification: Performance of SimCode: time 6.62e-07/0.07606, allocations: 4 kB / 391.6 MB, free: 12.11 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04524/0.1213, allocations: 34.35 MB / 425.9 MB, free: 9.934 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.976/8.097, allocations: 20.44 kB / 425.9 MB, free: 9.922 MB / 394.7 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & python3 -m fmpy simulate --output-file Modelica_4.1.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_1_0_Modelica_Media_Examples_ReferenceAir_MoistAir.fmu > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/MoistAir/MoistAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 10.33229837846011]