Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.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.001326/0.001326, allocations: 119.4 kB / 17.79 MB, free: 5.133 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.001412/0.001412, allocations: 216.2 kB / 20.75 MB, free: 2.18 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.456/1.456, allocations: 230.6 MB / 254.1 MB, free: 15.05 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.MoistAir,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.MoistAir,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_MoistAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001578/0.001578, allocations: 51.92 kB / 373 MB, free: 10.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.1031, allocations: 53.33 MB / 426.3 MB, free: 4.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.3764/0.4794, allocations: 154.9 MB / 0.5676 GB, free: 5.453 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002186/0.4816, allocations: 1.621 MB / 0.5692 GB, free: 3.828 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001183/0.4818, allocations: 4 kB / 0.5692 GB, free: 3.824 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003624/0.4821, allocations: 59.59 kB / 0.5692 GB, free: 3.766 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004625/0.4826, allocations: 171 kB / 0.5694 GB, free: 3.598 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003176/0.4858, allocations: 1.041 MB / 0.5704 GB, free: 2.559 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004819/0.4862, allocations: 346.7 kB / 0.5707 GB, free: 2.219 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.496e-05/0.4863, allocations: 5.562 kB / 0.5707 GB, free: 2.215 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002714/0.4866, allocations: 171.4 kB / 0.5709 GB, free: 2.047 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002367/0.4868, allocations: 146.1 kB / 0.571 GB, free: 1.906 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 3.314e-05/0.4868, allocations: 16 kB / 0.5711 GB, free: 1.891 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002987/0.4898, allocations: 1.657 MB / 0.5727 GB, free: 236 kB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001224/0.4899, allocations: 79.72 kB / 0.5728 GB, free: 156 kB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001257/0.4901, allocations: 103.6 kB / 0.5729 GB, free: 52 kB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00167/0.4917, allocations: 1.036 MB / 0.5739 GB, free: 15.02 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.4917, allocations: 0 / 0.5739 GB, free: 15.02 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.4917, allocations: 0 / 0.5739 GB, free: 15.02 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.693e-06/0.4917, allocations: 0 / 0.5739 GB, free: 15.02 MB / 494.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.00186/0.4936, allocations: 0.7121 MB / 0.5746 GB, free: 14.25 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.4936, allocations: 8.031 kB / 0.5746 GB, free: 14.25 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.671e-05/0.4937, allocations: 54.67 kB / 0.5746 GB, free: 14.18 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001432/0.4939, allocations: 20.84 kB / 0.5746 GB, free: 14.16 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002885/0.4941, allocations: 231.1 kB / 0.5749 GB, free: 13.9 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.4942, allocations: 8.328 kB / 0.5749 GB, free: 13.89 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.005e-05/0.4942, allocations: 23.95 kB / 0.5749 GB, free: 13.87 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006042/0.4948, allocations: 257.5 kB / 0.5751 GB, free: 13.61 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/0.4948, allocations: 3.938 kB / 0.5751 GB, free: 13.6 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.122e-05/0.4949, allocations: 4 kB / 0.5751 GB, free: 13.6 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.317e-05/0.4949, allocations: 8 kB / 0.5751 GB, free: 13.59 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006717/0.4955, allocations: 267.7 kB / 0.5754 GB, free: 13.33 MB / 494.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.001528/0.4971, allocations: 0.7933 MB / 0.5762 GB, free: 12.46 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006627/0.4977, allocations: 213.3 kB / 0.5764 GB, free: 12.23 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000335/0.4981, allocations: 129.9 kB / 0.5765 GB, free: 12.1 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003903/0.4985, allocations: 360.3 kB / 0.5769 GB, free: 11.67 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.235e-05/0.4985, allocations: 38.56 kB / 0.5769 GB, free: 11.62 MB / 494.1 MB Notification: Performance of pre-optimization done (n=29): time 2.014e-06/0.4985, allocations: 0 / 0.5769 GB, free: 11.62 MB / 494.1 MB Notification: Performance of matching and sorting (n=36): time 0.002636/0.5011, allocations: 0.6894 MB / 0.5776 GB, free: 10.93 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.966e-05/0.5012, allocations: 81.11 kB / 0.5776 GB, free: 10.83 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001356/0.5013, allocations: 141.4 kB / 0.5778 GB, free: 10.69 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.985e-05/0.5014, allocations: 33.7 kB / 0.5778 GB, free: 10.65 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.062e-05/0.5014, allocations: 108.9 kB / 0.5779 GB, free: 10.54 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001199/0.5016, allocations: 138.8 kB / 0.578 GB, free: 10.4 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001297/0.5017, allocations: 65.64 kB / 0.5781 GB, free: 10.33 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.5018, allocations: 334.8 kB / 0.5784 GB, free: 9.992 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004077/0.5023, allocations: 131.9 kB / 0.5785 GB, free: 9.863 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000456/0.5027, allocations: 211.5 kB / 0.5788 GB, free: 9.629 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008645/0.5036, allocations: 356.2 kB / 0.5791 GB, free: 9.258 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.5036, allocations: 3.938 kB / 0.5791 GB, free: 9.254 MB / 494.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001046/0.5046, allocations: 416.5 kB / 0.5795 GB, free: 8.844 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/0.5046, allocations: 8.219 kB / 0.5795 GB, free: 8.836 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.5046, allocations: 4 kB / 0.5795 GB, free: 8.832 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.5047, allocations: 4 kB / 0.5795 GB, free: 8.828 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004994/0.5052, allocations: 87.88 kB / 0.5796 GB, free: 8.742 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.138e-05/0.5052, allocations: 4 kB / 0.5796 GB, free: 8.738 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003153/0.5055, allocations: 31.86 kB / 0.5796 GB, free: 8.707 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.255e-05/0.5055, allocations: 16.62 kB / 0.5796 GB, free: 8.691 MB / 494.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.0001906/0.5057, allocations: 149.7 kB / 0.5798 GB, free: 8.535 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.45e-05/0.5058, allocations: 15.91 kB / 0.5798 GB, free: 8.52 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003931/0.5062, allocations: 179.6 kB / 0.58 GB, free: 8.34 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.5062, allocations: 8 kB / 0.58 GB, free: 8.332 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/0.5062, allocations: 0.625 kB / 0.58 GB, free: 8.332 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.154e-06/0.5062, allocations: 7.938 kB / 0.58 GB, free: 8.324 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001818/0.508, allocations: 0.7753 MB / 0.5807 GB, free: 7.477 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.508, allocations: 0 / 0.5807 GB, free: 7.477 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004476/0.5085, allocations: 72.58 kB / 0.5808 GB, free: 7.406 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.842e-06/0.5085, allocations: 4.156 kB / 0.5808 GB, free: 7.402 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.283e-05/0.5085, allocations: 19.98 kB / 0.5808 GB, free: 7.383 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.589e-06/0.5085, allocations: 4 kB / 0.5808 GB, free: 7.379 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.5085, allocations: 4 kB / 0.5808 GB, free: 7.375 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001489/0.51, allocations: 0.7161 MB / 0.5815 GB, free: 6.625 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001462/0.5102, allocations: 124.9 kB / 0.5817 GB, free: 6.484 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.54e-05/0.5102, allocations: 12 kB / 0.5817 GB, free: 6.473 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003669/0.5106, allocations: 19.92 kB / 0.5817 GB, free: 6.453 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.261e-05/0.5106, allocations: 23.97 kB / 0.5817 GB, free: 6.43 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.523e-05/0.5107, allocations: 19.92 kB / 0.5817 GB, free: 6.41 MB / 494.1 MB Notification: Performance of sorting global known variables: time 8.988e-05/0.5108, allocations: 117.8 kB / 0.5818 GB, free: 6.297 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5108, allocations: 0 / 0.5818 GB, free: 6.297 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0006333/0.5114, allocations: 159.6 kB / 0.582 GB, free: 6.141 MB / 494.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 (38): * Single equations (assignments): 38 * 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.002243/0.5136, allocations: 1.385 MB / 0.5834 GB, free: 4.715 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0009884/0.5146, allocations: 332.2 kB / 0.5837 GB, free: 4.391 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.5146, allocations: 0 / 0.5837 GB, free: 4.391 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004325/0.5151, allocations: 168.5 kB / 0.5838 GB, free: 4.227 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007631/0.5158, allocations: 112.8 kB / 0.5839 GB, free: 4.125 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005086/0.5209, allocations: 2.943 MB / 0.5868 GB, free: 1.027 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000386/0.5213, allocations: 0.7374 MB / 0.5875 GB, free: 268 kB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003462/0.5216, allocations: 74.23 kB / 0.5876 GB, free: 192 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001928/0.5218, allocations: 75.41 kB / 0.5877 GB, free: 120 kB / 494.1 MB Notification: Performance of SimCode: time 1.303e-06/0.5218, allocations: 0 / 0.5877 GB, free: 120 kB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03559/0.5574, allocations: 8.61 MB / 0.5961 GB, free: 7.629 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.613/9.171, allocations: 3.938 kB / 0.5961 GB, free: 7.625 MB / 0.4981 GB " [Timeout remaining time 651] (rm -f Modelica_4.1.0_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.MoistAir.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Media.Examples.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_MoistAir.fmu > Modelica_4.1.0_Modelica.Media.Examples.MoistAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.MoistAir_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Media.Examples.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: 11.666749898009584]