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.001646/0.001646, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.001934/0.001934, allocations: 207.2 kB / 20.75 MB, free: 2.273 MB / 14.72 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 1.478/1.478, allocations: 230.6 MB / 254.1 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001468/0.001468, allocations: 47.94 kB / 373 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1017, allocations: 53.32 MB / 426.3 MB, free: 4.789 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.2341/0.3358, allocations: 26.74 MB / 453 MB, free: 11.64 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003386/0.3392, allocations: 2.257 MB / 455.3 MB, free: 10.06 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.569e-05/0.3393, allocations: 1.406 kB / 455.3 MB, free: 10.06 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003839/0.3396, allocations: 65.5 kB / 455.4 MB, free: 10.03 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004475/0.3401, allocations: 171.9 kB / 455.5 MB, free: 9.926 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01924/0.3593, allocations: 6.545 MB / 462.1 MB, free: 6.348 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005388/0.3599, allocations: 338.5 kB / 462.4 MB, free: 6.168 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.275e-05/0.3599, allocations: 11.16 kB / 462.4 MB, free: 6.16 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002527/0.3602, allocations: 148.3 kB / 462.6 MB, free: 6.086 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002326/0.3604, allocations: 132.7 kB / 462.7 MB, free: 6.012 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.801e-05/0.3604, allocations: 14.94 kB / 462.7 MB, free: 6.008 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01959/0.38, allocations: 9.651 MB / 472.4 MB, free: 0.8945 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001793/0.3802, allocations: 79.27 kB / 472.4 MB, free: 0.8398 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002339/0.3804, allocations: 102.6 kB / 472.5 MB, free: 0.7852 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01212/0.3926, allocations: 4.743 MB / 477.3 MB, free: 13.91 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.992e-06/0.3926, allocations: 0 / 477.3 MB, free: 13.91 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3926, allocations: 1.375 kB / 477.3 MB, free: 13.91 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.294e-06/0.3926, allocations: 0 / 477.3 MB, free: 13.91 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.003928/0.3965, allocations: 1.179 MB / 478.5 MB, free: 12.76 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.3965, allocations: 12.03 kB / 478.5 MB, free: 12.75 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.108e-05/0.3966, allocations: 54.67 kB / 478.5 MB, free: 12.68 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001649/0.3968, allocations: 28.22 kB / 478.6 MB, free: 12.66 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000282/0.3971, allocations: 220 kB / 478.8 MB, free: 12.4 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.224e-05/0.3971, allocations: 17.58 kB / 478.8 MB, free: 12.39 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.149e-05/0.3971, allocations: 23.95 kB / 478.8 MB, free: 12.36 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007519/0.3979, allocations: 281.4 kB / 479.1 MB, free: 12.08 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.3979, allocations: 4 kB / 479.1 MB, free: 12.07 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.194e-05/0.3979, allocations: 7.984 kB / 479.1 MB, free: 12.07 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.208e-05/0.398, allocations: 11.94 kB / 479.1 MB, free: 12.05 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008401/0.3988, allocations: 307.8 kB / 479.4 MB, free: 11.75 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.001504/0.4003, allocations: 0.8284 MB / 480.2 MB, free: 10.84 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007546/0.4011, allocations: 242.6 kB / 480.5 MB, free: 10.59 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003343/0.4014, allocations: 125.6 kB / 480.6 MB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01704/0.4184, allocations: 12.84 MB / 493.4 MB, free: 11.11 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.323e-05/0.4185, allocations: 30.56 kB / 493.5 MB, free: 11.07 MB / 398.1 MB Notification: Performance of pre-optimization done (n=29): time 2.034e-06/0.4185, allocations: 0 / 493.5 MB, free: 11.07 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.003025/0.4215, allocations: 0.7108 MB / 494.2 MB, free: 10.35 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.4e-05/0.4216, allocations: 85.11 kB / 494.3 MB, free: 10.25 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001425/0.4217, allocations: 145.8 kB / 494.4 MB, free: 10.1 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.822e-05/0.4217, allocations: 33.7 kB / 494.4 MB, free: 10.06 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.599e-05/0.4218, allocations: 112.9 kB / 494.5 MB, free: 9.945 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000119/0.422, allocations: 134.8 kB / 494.7 MB, free: 9.812 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001364/0.4221, allocations: 65.69 kB / 494.7 MB, free: 9.742 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001508/0.4222, allocations: 330.8 kB / 495.1 MB, free: 9.41 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004164/0.4227, allocations: 143.9 kB / 495.2 MB, free: 9.27 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005218/0.4232, allocations: 208.4 kB / 495.4 MB, free: 9.039 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00101/0.4242, allocations: 368.7 kB / 495.8 MB, free: 8.656 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.4242, allocations: 0 / 495.8 MB, free: 8.656 MB / 398.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001245/0.4254, allocations: 420.5 kB / 496.2 MB, free: 8.242 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.4255, allocations: 4.625 kB / 496.2 MB, free: 8.238 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.4255, allocations: 4 kB / 496.2 MB, free: 8.234 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/0.4255, allocations: 8.156 kB / 496.2 MB, free: 8.227 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004925/0.426, allocations: 91.88 kB / 496.3 MB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/0.426, allocations: 7.984 kB / 496.3 MB, free: 8.129 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003178/0.4263, allocations: 29.41 kB / 496.3 MB, free: 8.102 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.015e-05/0.4263, allocations: 12 kB / 496.3 MB, free: 8.09 MB / 398.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.0001629/0.4265, allocations: 149.6 kB / 496.5 MB, free: 7.934 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000148/0.4266, allocations: 23.86 kB / 496.5 MB, free: 7.91 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004928/0.4271, allocations: 188.5 kB / 496.7 MB, free: 7.727 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.616e-06/0.4272, allocations: 4 kB / 496.7 MB, free: 7.723 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.4272, allocations: 0 / 496.7 MB, free: 7.723 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.989e-06/0.4272, allocations: 11.98 kB / 496.7 MB, free: 7.711 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001872/0.429, allocations: 0.7813 MB / 497.5 MB, free: 6.859 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.429, allocations: 1.266 kB / 497.5 MB, free: 6.859 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004409/0.4295, allocations: 83.83 kB / 497.6 MB, free: 6.777 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.4295, allocations: 0 / 497.6 MB, free: 6.777 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.627e-05/0.4295, allocations: 17.3 kB / 497.6 MB, free: 6.762 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.4295, allocations: 0 / 497.6 MB, free: 6.762 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.58e-06/0.4295, allocations: 12.09 kB / 497.6 MB, free: 6.75 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001651/0.4312, allocations: 0.718 MB / 498.3 MB, free: 5.996 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001411/0.4313, allocations: 120.9 kB / 498.4 MB, free: 5.859 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.583e-05/0.4314, allocations: 16.05 kB / 498.5 MB, free: 5.844 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003731/0.4317, allocations: 19.98 kB / 498.5 MB, free: 5.824 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.564e-05/0.4318, allocations: 31.84 kB / 498.5 MB, free: 5.793 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.861e-05/0.4318, allocations: 19.98 kB / 498.5 MB, free: 5.773 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.508e-05/0.4319, allocations: 108.9 kB / 498.6 MB, free: 5.668 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4319, allocations: 0 / 498.6 MB, free: 5.668 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003396/0.4353, allocations: 0.9628 MB / 499.6 MB, free: 4.703 MB / 398.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.006956/0.4423, allocations: 2.413 MB / 0.4902 GB, free: 2.254 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001159/0.4434, allocations: 336.4 kB / 0.4906 GB, free: 1.926 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.4434, allocations: 0 / 0.4906 GB, free: 1.926 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005087/0.4439, allocations: 176.2 kB / 0.4907 GB, free: 1.754 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008271/0.4448, allocations: 114.1 kB / 0.4908 GB, free: 1.648 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007356/0.4521, allocations: 3.24 MB / 0.494 GB, free: 14.25 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004392/0.4526, allocations: 0.7374 MB / 0.4947 GB, free: 13.49 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003502/0.4529, allocations: 82.91 kB / 0.4948 GB, free: 13.41 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002233/0.4531, allocations: 75.39 kB / 0.4949 GB, free: 13.34 MB / 414.1 MB Notification: Performance of SimCode: time 8.22e-07/0.4531, allocations: 4 kB / 0.4949 GB, free: 13.34 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07107/0.5242, allocations: 33.1 MB / 0.5272 GB, free: 12.34 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.539/10.06, allocations: 0 / 0.5272 GB, free: 12.34 MB / 446.1 MB " [Timeout remaining time 650] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/MoistAir/MoistAir.csv","/var/lib/jenkins1/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: 13.015534367004875]